old-cross-binutils/ld/testsuite/ld-x86-64/pr18591.d
H.J. Lu 6ba2af251c Add a testcase for PR ld/18591
PR ld/18591
	* testsuite/ld-x86-64/pr18591.d: New file.
	* testsuite/ld-x86-64/pr18591.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2016-02-02 06:36:52 -08:00

12 lines
271 B
D

#as: --64
#ld: -melf_x86_64 -shared -z max-page-size=0x200000
#objdump: -dw
.*: +file format .*
Disassembly of section .text:
[a-f0-9]+ <bar>:
[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+>
#pass