diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-09-24 14:36:48 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-09-24 14:36:48 +0000 |
commit | f5d9e8160d9bc509d6c958e4d303245a71af37f4 (patch) | |
tree | fb4daa075ec2cf5a89ec9439733468781bef32b5 /gas/config/tc-i386.h | |
parent | 3bccaff78662c04ec2644a59badd2a2cef2cfc2e (diff) | |
download | gdb-f5d9e8160d9bc509d6c958e4d303245a71af37f4.zip gdb-f5d9e8160d9bc509d6c958e4d303245a71af37f4.tar.gz gdb-f5d9e8160d9bc509d6c958e4d303245a71af37f4.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index ab7cbf2..e355f7f 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 *); |