aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-07-10 10:04:20 +0000
committerAlan Modra <amodra@gmail.com>2009-07-10 10:04:20 +0000
commit7ae26bc141a487736f8590300fa40cf58daf4123 (patch)
treecbcebca2c4f34eb9be735a0715f403eab5c98d39 /bfd/elf-bfd.h
parentaf7b385cb919238f308d411e029defe23179aadb (diff)
downloadbinutils-7ae26bc141a487736f8590300fa40cf58daf4123.zip
binutils-7ae26bc141a487736f8590300fa40cf58daf4123.tar.gz
binutils-7ae26bc141a487736f8590300fa40cf58daf4123.tar.bz2
* 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 764ee68..1690def 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;