diff options
author | H.J. Lu <hjl@lucon.org> | 2005-04-07 00:53:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-04-07 00:53:22 +0000 |
commit | 9f567c8d54c179aff5101cd604d1d0ca0a3caedc (patch) | |
tree | 797a932368c54ead0b509879869eb5e28709a8bc /gas/testsuite | |
parent | 44369be2b35d319154a899bef0cce604e6e304b4 (diff) | |
download | binutils-redhat-9f567c8d54c179aff5101cd604d1d0ca0a3caedc.tar.gz |
gas/
2005-04-06 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (tc_gen_reloc): Don't turn
BFD_RELOC_X86_64_32S into BFD_RELOC_32.
gas/testsuite/
2005-04-06 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-pcrel.s: Test R_X86_64_32S.
* gas/i386/x86-64-pcrel.d: Updated.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-pcrel.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-pcrel.s | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index be44600311..9628cbc0df 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-04-06 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/x86-64-pcrel.s: Test R_X86_64_32S. + * gas/i386/x86-64-pcrel.d: Updated. + 2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> * gas/vax/flonum.s: New testcase: Encode some flonums. diff --git a/gas/testsuite/gas/i386/x86-64-pcrel.d b/gas/testsuite/gas/i386/x86-64-pcrel.d index f33f6cd685..3d647bfbaa 100644 --- a/gas/testsuite/gas/i386/x86-64-pcrel.d +++ b/gas/testsuite/gas/i386/x86-64-pcrel.d @@ -10,4 +10,5 @@ Disassembly of section .text: [ ]*[0-9a-f]+:[ ]+66 b8 00 00[ ]+movw?[ ]+\$(0x)?0,%ax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC16[ ]+xtrn\+(0x)?2 [ ]*[0-9a-f]+:[ ]+b8 00 00 00 00[ ]+movl?[ ]+\$(0x)?0,%eax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC32[ ]+xtrn\+(0x)?1 [ ]*[0-9a-f]+:[ ]+48 c7 c0 00 00 00 00[ ]+movq?[ ]+\$(0x)?0,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC32[ ]+xtrn\+(0x)?3 +[ ]*[0-9a-f]+:[ ]+48 c7 c0 00 00 00 00[ ]+movq?[ ]+\$(0x)?0,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_32S[ ]+xtrn #pass diff --git a/gas/testsuite/gas/i386/x86-64-pcrel.s b/gas/testsuite/gas/i386/x86-64-pcrel.s index bdd40dc4c8..c58e0935b8 100644 --- a/gas/testsuite/gas/i386/x86-64-pcrel.s +++ b/gas/testsuite/gas/i386/x86-64-pcrel.s @@ -4,5 +4,6 @@ _start: movw $(xtrn - .), %ax movl $(xtrn - .), %eax movq $(xtrn - .), %rax + movq $xtrn, %rax .p2align 4,0 |