summaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-09-24 14:36:48 +0000
committerH.J. Lu <hjl@lucon.org>2009-09-24 14:36:48 +0000
commit94369ae716bee9fe49962a645f41a55b7695f2d0 (patch)
treec74aa61cee8543e1eee2a68059f3d120f996ff80 /gas/config/tc-i386.h
parent58990d14c69fcbc187c31609f788e452fc63519a (diff)
downloadbinutils-redhat-94369ae716bee9fe49962a645f41a55b7695f2d0.tar.gz
gas/
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/10677 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true for BFD_RELOC_X86_64_GOTPCREL. gas/testsuite/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/10677 * gas/i386/i386.exp: Run x86-64-localpic. * gas/i386/x86-64-localpic.d: New. * gas/i386/x86-64-localpic.s: Likewise.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index ab7cbf2a26..e355f7f0c9 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -156,6 +156,7 @@ extern int tc_i386_fix_adjustable (struct fix *);
(!(FIX)->fx_pcrel \
|| (FIX)->fx_r_type == BFD_RELOC_386_PLT32 \
|| (FIX)->fx_r_type == BFD_RELOC_386_GOTPC \
+ || (FIX)->fx_r_type == BFD_RELOC_X86_64_GOTPCREL \
|| TC_FORCE_RELOCATION (FIX))
extern int i386_parse_name (char *, expressionS *, char *);