aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-08-06 01:27:11 +0000
committerAlan Modra <amodra@gmail.com>2003-08-06 01:27:11 +0000
commit77f3d0276594b6923afade998e211a09933c5f0f (patch)
tree7b8bce44297e099816e0084d8a73a18339302272 /bfd/elflink.c
parent6e15d3918021ce999387e91f8a9c1006454cc1e4 (diff)
downloadfsf-binutils-gdb-77f3d0276594b6923afade998e211a09933c5f0f.zip
fsf-binutils-gdb-77f3d0276594b6923afade998e211a09933c5f0f.tar.gz
fsf-binutils-gdb-77f3d0276594b6923afade998e211a09933c5f0f.tar.bz2
* elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
SEC_LINKER_CREATED.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index cb6b0b2..740f5d8 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