aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 96e9dfd..d0069f7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-31 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
+
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
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 },