From 6723a9f4e057ef30ac67d3e91b82d6952f3c2017 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 31 Aug 2004 09:41:11 +0000 Subject: [PATCH] * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss. --- bfd/ChangeLog | 4 ++++ bfd/elf.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 96e9dfde784..d0069f78b4d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-08-31 Eric Botcazou + + * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss. + 2004-08-30 Nathanael Nerode * acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM. diff --git a/bfd/elf.c b/bfd/elf.c index 8c1afb9de4e..f9e223527ee 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 }, -- 2.30.2