From: Alan Modra Date: Wed, 6 Aug 2003 01:27:11 +0000 (+0000) Subject: * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77f3d0276594b6923afade998e211a09933c5f0f;p=binutils-gdb.git * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with SEC_LINKER_CREATED. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3562ae34e5c..1ca2af1a6f5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-08-06 Alan Modra + + * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with + SEC_LINKER_CREATED. + 2003-08-05 Daniel Jacobowitz * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. diff --git a/bfd/elflink.c b/bfd/elflink.c index cb6b0b2ba1f..740f5d85051 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -309,7 +309,7 @@ _bfd_elf_create_dynamic_sections (bfd *abfd, struct bfd_link_info *info) section into the .bss section of the final image. */ s = bfd_make_section (abfd, ".dynbss"); if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) + || ! bfd_set_section_flags (abfd, s, SEC_ALLOC | SEC_LINKER_CREATED)) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not