diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr27491-1a.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr27491-1a.d | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr27491-1a.d b/ld/testsuite/ld-x86-64/pr27491-1a.d new file mode 100644 index 0000000..ade5c6f --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr27491-1a.d @@ -0,0 +1,14 @@ +#source: pr27491-1.s +#as: --64 +#ld: --gc-sections -melf_x86_64 -z start-stop-gc -shared +#objdump: -dw + +.*: +file format elf64-x86-64 + + +Disassembly of section .text: + +[a-f0-9]+ <foo>: + +[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4}[ \t]+mov +0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+> + +[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4}[ \t]+mov +0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+> +#pass |