aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-01-13 12:32:10 +0000
committerAlan Modra <amodra@gmail.com>2013-01-13 12:32:10 +0000
commitee659f1f4b39952137e2e2ca1d3d111f553037e6 (patch)
tree74b7902d6f60ae8cc5b7b94df9776fd01fd33f03 /bfd/elf-bfd.h
parentf751cc976ca8422cc96b9a2d7b64d6ae370a940a (diff)
downloadgdb-ee659f1f4b39952137e2e2ca1d3d111f553037e6.zip
gdb-ee659f1f4b39952137e2e2ca1d3d111f553037e6.tar.gz
gdb-ee659f1f4b39952137e2e2ca1d3d111f553037e6.tar.bz2
* elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
Add ref_dynamic_nonweak. * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. (_bfd_elf_merge_symbol): Don't call above function. Move setting of ref_dynamic_nonweak and dynamic_def earlier. Don't clear dynamic_def. (elf_link_add_object_symbols): Delete redundant "override" test. Don't set dynamic_def here. (elf_link_output_extsym): Update.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index a874593..faaf632 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -191,8 +191,8 @@ struct elf_link_hash_entry
FIXME: There is no real need for this field if def_dynamic is never
cleared and all places that test def_dynamic also test def_regular. */
unsigned int dynamic_def : 1;
- /* Symbol is weak in all shared objects. */
- unsigned int dynamic_weak : 1;
+ /* Symbol has a non-weak reference from a shared object. */
+ unsigned int ref_dynamic_nonweak : 1;
/* Symbol is referenced with a relocation where C/C++ pointer equality
matters. */
unsigned int pointer_equality_needed : 1;