On 01.08.2023 02:12, Khem Raj wrote: > Assembler from binutils 2.41 rejects this syntax > > .section "name"[, flags...] > > where flags could be #alloc, #write, #execstr > Switch to using ELF syntax
You mean GNU, not ELF (ELF is describing the object format, not the syntax used). Feels almost like a regression (I'll mention that to Alan), which likely went unnoticed so far because Linux had changed to GNU syntax already in 5.5, to allow building with Clang's integrated assembler. This aspect may be worth mentioning here as well. > .section name[, "flags"[, @type]] > > [1] > https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html#SEC119 > > Signed-off-by: Khem Raj <[email protected]> Out of curiosity - why were there four instances of the patch? They all look largely identical; if there are differences, I haven't spotted them. Jan
