* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 31 Aug 2004 09:41:11 +0000 (09:41 +0000)
committerEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 31 Aug 2004 09:41:11 +0000 (09:41 +0000)
bfd/ChangeLog
bfd/elf.c

index 96e9dfd..d0069f7 100644 (file)
@@ -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.
index 8c1afb9..f9e2235 100644 (file)
--- 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 },