* elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
authorAlan Modra <amodra@gmail.com>
Wed, 6 Aug 2003 01:27:11 +0000 (01:27 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Aug 2003 01:27:11 +0000 (01:27 +0000)
SEC_LINKER_CREATED.

bfd/ChangeLog
bfd/elflink.c

index 3562ae34e5cba466a8634a22ce4579b6c9a12f74..1ca2af1a6f590739103dcf081ea0f6d69d842c56 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
+       SEC_LINKER_CREATED.
+
 2003-08-05  Daniel Jacobowitz  <drow@mvista.com>
 
        * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
index cb6b0b2ba1f9aa170cd095a5125e8f35f278286b..740f5d8505113399bc1323aaca320afc91d6628d 100644 (file)
@@ -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