summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-07-10 10:04:20 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-07-10 10:04:20 +0000
commit18cc15110a16d20d7c9420f83015bda06097283c (patch)
tree0defb956d097ecfb294a3c1531e72b5484df5b47 /bfd/elf-bfd.h
parent8f549acc0662504c8ad7f034e000221991d20231 (diff)
downloadbinutils-redhat-18cc15110a16d20d7c9420f83015bda06097283c.tar.gz
* elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular
and ref_regular_nonweak comment. * elflink.c (elf_link_output_extsym): Special case ifunc syms when def_regular, not ref_regular. (elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,.. * elf32-i386.c (elf_i386_check_relocs): ..set it here instead.. * elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 764ee68b2a..1690def1c8 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -138,7 +138,8 @@ struct elf_link_hash_entry
/* Symbol st_other value, symbol visibility. */
unsigned int other : 8;
- /* Symbol is referenced by a non-shared object. */
+ /* Symbol is referenced by a non-shared object (other than the object
+ in which it is defined). */
unsigned int ref_regular : 1;
/* Symbol is defined by a non-shared object. */
unsigned int def_regular : 1;
@@ -146,7 +147,8 @@ struct elf_link_hash_entry
unsigned int ref_dynamic : 1;
/* Symbol is defined by a shared object. */
unsigned int def_dynamic : 1;
- /* Symbol has a non-weak reference from a non-shared object. */
+ /* Symbol has a non-weak reference from a non-shared object (other than
+ the object in which it is defined). */
unsigned int ref_regular_nonweak : 1;
/* Dynamic symbol has been adjustd. */
unsigned int dynamic_adjusted : 1;