aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-24 03:23:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-24 03:23:52 +0000
commit2a86604a47a233873a7fbff317a3bfcea10bb207 (patch)
tree36b4d6861b45c0cb2e2fe78c524c109e65651ba6 /gas/config/tc-i386.h
parent107601c8478d2cdd01459eb870fb719adde1d30e (diff)
downloadgdb-2a86604a47a233873a7fbff317a3bfcea10bb207.zip
gdb-2a86604a47a233873a7fbff317a3bfcea10bb207.tar.gz
gdb-2a86604a47a233873a7fbff317a3bfcea10bb207.tar.bz2
gas/
2009-09-23 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check BFD_RELOC_386_GOT32. gas/testsuite/ 2009-09-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run localpic. * gas/i386/localpic.d: New. * gas/i386/localpic.s: Likewise.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 9b9bc61..ab7cbf2 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -149,14 +149,12 @@ extern int tc_i386_fix_adjustable (struct fix *);
/* This expression evaluates to true if the relocation is for a local
object for which we still want to do the relocation at runtime.
False if we are willing to perform this relocation while building
- the .o file. GOTOFF does not need to be checked here because it is
- not pcrel. I am not sure if some of the others are ever used with
- pcrel, but it is easier to be safe than sorry. */
+ the .o file. GOTOFF and GOT32 do not need to be checked here because
+ they are not pcrel. .*/
#define TC_FORCE_RELOCATION_LOCAL(FIX) \
(!(FIX)->fx_pcrel \
|| (FIX)->fx_r_type == BFD_RELOC_386_PLT32 \
- || (FIX)->fx_r_type == BFD_RELOC_386_GOT32 \
|| (FIX)->fx_r_type == BFD_RELOC_386_GOTPC \
|| TC_FORCE_RELOCATION (FIX))