diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr26018.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr26018.d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr26018.d b/ld/testsuite/ld-x86-64/pr26018.d new file mode 100644 index 00000000000..c2003aa7905 --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr26018.d @@ -0,0 +1,15 @@ +#as: --64 +#ld: -shared -Bsymbolic-functions -melf_x86_64 +#objdump: -dw + +.*: +file format .* + + +Disassembly of section .text: + +[0-9a-f]+ <_start>: + +[a-f0-9]+: e8 00 00 00 00 callq [0-9a-f]+ <foo> + +[0-9a-f]+ <foo>: + +[a-f0-9]+: c3 retq +#pass |