Files
binutils-gdb/ld/testsuite/ld-i386/code16.d
Alan Modra b47de6c86f Remove srcdir from x86 testcase "source:" lines
It's wrong to have ${srcdir} in run_dump_test "source:" lines, as
run_dump_test adds $srcdir/$subdir/ to the line passed to the shell
except when the source path starts with "./".  The tests work
currently because the shell expands ${srcdir} to an empty string.

	PR 31728
	* testsuite/ld-i386/code16.d: Correct "source:".
	* testsuite/ld-x86-64/code16.d: Likewise.
	* testsuite/ld-x86-64/rela.d: Likewise.
2024-07-26 15:24:20 +09:30

20 lines
517 B
Makefile

#name: i386 R_386_PC16 reloc in 16-bit mode
#as: --32 -mx86-used-note=no --generate-missing-build-notes=no
#source: ../../../gas/testsuite/gas/i386/code16-2.s
#ld: -T code16.t
#objdump: -dw -Mi8086
.*: +file format .*
Disassembly of section .text.default_process_op.isra.0:
0+737c <default_process_op.isra.0>:
+[a-f0-9]+: 66 c3 retl
Disassembly of section .text.mpt_scsi_process_op:
0+f869 <mpt_scsi_process_op>:
+[a-f0-9]+: e9 10 7b jmp 737c <default_process_op.isra.0>
#pass