Add a testcase for PR gas/19498
PR gas/19498 * testsuite/gas/i386/i386.exp: Run pr19498. * testsuite/gas/i386/pr19498.d: New file. * testsuite/gas/i386/pr19498.s: Likewise.
This commit is contained in:
parent
dff331be28
commit
df41fdf4bd
|
@ -1,3 +1,10 @@
|
|||
2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR gas/19498
|
||||
* testsuite/gas/i386/i386.exp: Run pr19498.
|
||||
* testsuite/gas/i386/pr19498.d: New file.
|
||||
* testsuite/gas/i386/pr19498.s: Likewise.
|
||||
|
||||
2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* config/tc-arc.h: Include 'opcode/arc.h'.
|
||||
|
|
|
@ -443,6 +443,7 @@ if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then {
|
|||
run_list_test "reg-bad" ""
|
||||
run_list_test "space1" "-al"
|
||||
run_dump_test rept
|
||||
run_dump_test pr19498
|
||||
if [is_elf_format] then {
|
||||
run_list_test_stdin "list-1" "-al"
|
||||
run_list_test_stdin "list-2" "-al"
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#objdump: -dwr
|
||||
|
||||
.*: +file format .*
|
||||
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
0+ <callmefirst>:
|
||||
[ ]*[a-f0-9]+: 90 nop
|
||||
|
||||
0+1 <callmesecond>:
|
||||
[ ]*[a-f0-9]+: eb fd jmp 0 <callmefirst>
|
||||
#pass
|
|
@ -0,0 +1,8 @@
|
|||
.text
|
||||
.globl callmefirst
|
||||
callmefirst:
|
||||
nop
|
||||
.globl callmesecond
|
||||
callmesecond:
|
||||
jmp callmealias.lto_priv.0
|
||||
.weakref callmealias.lto_priv.0,callmefirst
|
Loading…
Reference in New Issue