aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-08-31 09:41:11 +0000
committerEric Botcazou <ebotcazou@libertysurf.fr>2004-08-31 09:41:11 +0000
commit6723a9f4e057ef30ac67d3e91b82d6952f3c2017 (patch)
treec48264fef0a0550e2893776a506e3916dfd61df5 /bfd/elf.c
parentad58b0d0550ac1f0cbd0864c85931a5253387947 (diff)
downloadgdb-6723a9f4e057ef30ac67d3e91b82d6952f3c2017.zip
gdb-6723a9f4e057ef30ac67d3e91b82d6952f3c2017.tar.gz
gdb-6723a9f4e057ef30ac67d3e91b82d6952f3c2017.tar.bz2
* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 8c1afb9..f9e2235 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2104,6 +2104,7 @@ bfd_section_from_elf_index (bfd *abfd, unsigned int index)
static struct bfd_elf_special_section const special_sections[] =
{
{ ".bss", 4, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
+ { ".gnu.linkonce.b",15, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
{ ".comment", 8, 0, SHT_PROGBITS, 0 },
{ ".data", 5, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
{ ".data1", 6, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },