elf_fake_sections
Andreas Schwab
schwab@issan.cs.uni-dortmund.de
Thu Jul 1 00:00:00 GMT 1999
This change breaks glibc:
* elf.c (elf_fake_sections): Check for .rel. as start of rel
section, not just .rel. Same for .rela.
It causes sections like ".rela__libc_subinit" to be misattributed as
SHT_PROGBITS instead of SHT_RELA. I have removed this change.
I think creating sections whose name begins with ".rel" but are not
relocation sections is a bad idea to begin with. The ELF ABI explicitly
reserves all section names that begin with ".", and ".rel..." is reserved
for relocation sections.
Andreas.
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org
More information about the Binutils
mailing list