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 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'.
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"
--- /dev/null
+#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
--- /dev/null
+ .text
+ .globl callmefirst
+callmefirst:
+ nop
+ .globl callmesecond
+callmesecond:
+ jmp callmealias.lto_priv.0
+ .weakref callmealias.lto_priv.0,callmefirst