* elf.c (special_sections_s): Revert last STRING_COMMA_LEN change

for .stabstr entry, explain why.
This commit is contained in:
Hans-Peter Nilsson 2006-09-17 18:57:43 +00:00
parent a5451f4e4e
commit 60ff4dc4b5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-09-17 Hans-Peter Nilsson <hp@axis.com>
* elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
for .stabstr entry, explain why.
2006-09-17 Anton Blanchard <anton@samba.org>
Alan Modra <amodra@bigpond.net.au>

View File

@ -2374,7 +2374,9 @@ static const struct bfd_elf_special_section special_sections_s[] =
{ STRING_COMMA_LEN (".shstrtab"), 0, SHT_STRTAB, 0 },
{ STRING_COMMA_LEN (".strtab"), 0, SHT_STRTAB, 0 },
{ STRING_COMMA_LEN (".symtab"), 0, SHT_SYMTAB, 0 },
{ STRING_COMMA_LEN (".stabstr"), 3, SHT_STRTAB, 0 },
/* See struct bfd_elf_special_section declaration for the semantics of
this special case where .prefix_length != strlen (.prefix). */
{ ".stabstr", 5, 3, SHT_STRTAB, 0 },
{ NULL, 0, 0, 0, 0 }
};