projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86-64: Restore PIC check for PCREL reloc against protected symbol
[deliverable/binutils-gdb.git]
/
bfd
/
elfxx-x86.h
diff --git
a/bfd/elfxx-x86.h
b/bfd/elfxx-x86.h
index 2415987d32bcf2d6e353558d93302f33916b3d36..28d540b83b3fb9dbb6a6980b5c67cdd7998b4e00 100644
(file)
--- a/
bfd/elfxx-x86.h
+++ b/
bfd/elfxx-x86.h
@@
-1,5
+1,5
@@
/* x86 specific support for ELF
/* x86 specific support for ELF
- Copyright (C) 2017-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2017-201
9
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This file is part of BFD, the Binary File Descriptor library.
@@
-161,6
+161,13
@@
|| (ELF_ST_VISIBILITY ((H)->other) \
&& (H)->root.type == bfd_link_hash_undefweak))
|| (ELF_ST_VISIBILITY ((H)->other) \
&& (H)->root.type == bfd_link_hash_undefweak))
+/* TRUE if this symbol isn't defined by a shared object. */
+#define SYMBOL_DEFINED_NON_SHARED_P(H) \
+ ((H)->def_regular \
+ || (H)->root.linker_def \
+ || (H)->root.ldscript_def \
+ || ELF_COMMON_DEF_P (H))
+
/* TRUE if relative relocation should be generated. GOT reference to
global symbol in PIC will lead to dynamic symbol. It becomes a
problem when "time" or "times" is defined as a variable in an
/* TRUE if relative relocation should be generated. GOT reference to
global symbol in PIC will lead to dynamic symbol. It becomes a
problem when "time" or "times" is defined as a variable in an
This page took
0.025176 seconds
and
4
git commands to generate.