[PATCH] elf: Set ELFOSABI_GNU for SHF_GNU_RETAIN only for ld -r

Andreas Schwab schwab@linux-m68k.org
Thu Dec 17 15:25:47 GMT 2020


On Dez 17 2020, H.J. Lu wrote:

> since SHF_GNU_RETAIN is in OS-specific range.

Exactly.  Without the marking, the object cannot be properly
interpreted.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Binutils mailing list