* elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with

SEC_LINKER_CREATED.
This commit is contained in:
Alan Modra 2003-08-06 01:27:11 +00:00
parent 6e15d39180
commit 77f3d02765
2 changed files with 6 additions and 1 deletions

View 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> 2003-08-05 Daniel Jacobowitz <drow@mvista.com>
* elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.

View 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. */ section into the .bss section of the final image. */
s = bfd_make_section (abfd, ".dynbss"); s = bfd_make_section (abfd, ".dynbss");
if (s == NULL if (s == NULL
|| ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) || ! bfd_set_section_flags (abfd, s, SEC_ALLOC | SEC_LINKER_CREATED))
return FALSE; return FALSE;
/* The .rel[a].bss section holds copy relocs. This section is not /* The .rel[a].bss section holds copy relocs. This section is not