diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-04-01 07:46:07 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-04-01 07:46:07 +0000 |
commit | ae8887b54098f26f89fabbd4f0a36abe12a3c4a1 (patch) | |
tree | b260513897215654a8d7c1262e3523932424cfc2 /gas/config | |
parent | 01b3c8abd1990d27f28e2b90d118fd259993d895 (diff) | |
download | fsf-binutils-gdb-ae8887b54098f26f89fabbd4f0a36abe12a3c4a1.zip fsf-binutils-gdb-ae8887b54098f26f89fabbd4f0a36abe12a3c4a1.tar.gz fsf-binutils-gdb-ae8887b54098f26f89fabbd4f0a36abe12a3c4a1.tar.bz2 |
gas/
2005-04-01 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
(tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
gas/testsuite/
2005-04-01 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-pcrel.[sd]: New.
* gas/i386/i386.exp: Run new test.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 220e99c..80f430e 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4798,6 +4798,7 @@ md_apply_fix3 (fixP, valP, seg) break; case BFD_RELOC_32: + case BFD_RELOC_X86_64_32S: fixP->fx_r_type = BFD_RELOC_32_PCREL; break; case BFD_RELOC_16: @@ -5361,7 +5362,6 @@ tc_gen_reloc (section, fixp) case BFD_RELOC_386_TLS_GOTIE: case BFD_RELOC_386_TLS_LE_32: case BFD_RELOC_386_TLS_LE: - case BFD_RELOC_X86_64_32S: case BFD_RELOC_X86_64_TLSGD: case BFD_RELOC_X86_64_TLSLD: case BFD_RELOC_X86_64_DTPOFF32: |