diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-09-17 18:57:43 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-09-17 18:57:43 +0000 |
commit | 60ff4dc4b5a5fbcb08c1da14a2749c4c0bc25d1d (patch) | |
tree | 839ec9fad64ce9c573a34c38b2a529aed4f5bbf2 /bfd/elf.c | |
parent | a5451f4e4e78f5e9b7fbfbb7bccbe97437a5ce5b (diff) | |
download | gdb-60ff4dc4b5a5fbcb08c1da14a2749c4c0bc25d1d.zip gdb-60ff4dc4b5a5fbcb08c1da14a2749c4c0bc25d1d.tar.gz gdb-60ff4dc4b5a5fbcb08c1da14a2749c4c0bc25d1d.tar.bz2 |
* elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
for .stabstr entry, explain why.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 } }; |