summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-01-13 12:32:08 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-01-13 12:32:08 +0000
commit41802bd84d287097c0366d4cd751b7ee04f51999 (patch)
tree7dc9d0676fb7c7994b0e441baa5a3e6c55268f46 /bfd/elf-bfd.h
parentc6420ac7a72cf0a6a32a52897fd3d55bdca78294 (diff)
downloadbinutils-redhat-41802bd84d287097c0366d4cd751b7ee04f51999.tar.gz
* 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 a8745933ab..faaf632e19 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;