[PATCH] elf: Set ELFOSABI_GNU for SHF_GNU_RETAIN only for ld -r
Andreas Schwab
schwab@linux-m68k.org
Thu Dec 17 15:03:56 GMT 2020
On Dez 17 2020, H.J. Lu via Binutils wrote:
> Set ELFOSABI_GNU for SHF_GNU_RETAIN sections only when generating
> relocatable output since SHF_GNU_RETAIN has no impact on shared object
> nor executable.
Then it should not be set in the first place.
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