This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
elf_fake_sections
- To: binutils@sourceware.cygnus.com
- Subject: elf_fake_sections
- From: Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
- Date: 04 Jun 1999 10:07:59 +0200
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