aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.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
commit3018b4415306bf86c26515447e3e519f4cf1f135 (patch)
treea8ff9103e8c4510c3e307171d5885a294d369fdf /bfd/elfxx-target.h
parent30b30c21815a6f23b0db7b135926f988ddff22a3 (diff)
downloadgdb-3018b4415306bf86c26515447e3e519f4cf1f135.zip
gdb-3018b4415306bf86c26515447e3e519f4cf1f135.tar.gz
gdb-3018b4415306bf86c26515447e3e519f4cf1f135.tar.bz2
* 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/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index 735d95e..40d686d 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -80,6 +80,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef elf_backend_plt_alignment
#define elf_backend_plt_alignment 2
#endif
+#ifndef elf_backend_want_dynbss
+#define elf_backend_want_dynbss 1
+#endif
#define bfd_elfNN_bfd_debug_info_start bfd_void
#define bfd_elfNN_bfd_debug_info_end bfd_void