aboutsummaryrefslogtreecommitdiff
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
commit3018b4415306bf86c26515447e3e519f4cf1f135 (patch)
treea8ff9103e8c4510c3e307171d5885a294d369fdf /bfd/elf-bfd.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/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 6c20b06..577823b 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