aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-08 13:09:33 +0000
committerAlan Modra <amodra@gmail.com>2001-08-08 13:09:33 +0000
commit2517a57fdf395c6e5068577d1d4f86b3c6935e6d (patch)
tree4d215ffb01898e890e9512c20a263b5086460b96 /bfd/elf-bfd.h
parentc0e047e0e5090fe5148f5230e7e4abb3ff2c50ee (diff)
downloadgdb-2517a57fdf395c6e5068577d1d4f86b3c6935e6d.zip
gdb-2517a57fdf395c6e5068577d1d4f86b3c6935e6d.tar.gz
gdb-2517a57fdf395c6e5068577d1d4f86b3c6935e6d.tar.bz2
* elf-bfd.h (struct elf_backend_data): Add want_got_sym.
* elfxx-target.h (elf_backend_want_got_sym): Define. (elfNN_bed): Add elf_backend_want_got_sym. * elflink.c (_bfd_elf_create_got_section): Define _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.
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 85e1e30..7c67cb5 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -694,6 +694,7 @@ struct elf_backend_data
unsigned plt_not_loaded : 1;
unsigned plt_alignment : 4;
unsigned can_gc_sections : 1;
+ unsigned want_got_sym : 1;
unsigned want_dynbss : 1;
};