summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-07-13 18:31:17 +0000
committerRichard Henderson <rth@redhat.com>1999-07-13 18:31:17 +0000
commit45d44768556c7da4643e8d2b496fd465b793ed92 (patch)
treef0905462145f8036d95eee43c056e9995e0dbbc8 /bfd/elf-bfd.h
parent6617d920d3b3f9852a9d917a4f3cf3b6d95b352a (diff)
downloadgdb-45d44768556c7da4643e8d2b496fd465b793ed92.tar.gz
* elf-bfd.h (struct elf_backend_data): Add want_dynbss.
* elflink.c (_bfd_elf_create_dynamic_sections): Only create .dynbss and .rel[a].bss if want_dynbss. * elfxx-target.h (elf_backend_want_dynbss): Provide default.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 6c20b06033d..577823b8257 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -623,6 +623,7 @@ struct elf_backend_data
unsigned plt_not_loaded : 1;
unsigned plt_alignment : 4;
unsigned can_gc_sections : 1;
+ unsigned want_dynbss : 1;
};
/* Information stored for each BFD section in an ELF file. This