aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19609-2c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19609-2c.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr19609-2c.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19609-2c.d b/ld/testsuite/ld-x86-64/pr19609-2c.d
new file mode 100644
index 0000000..458b08a
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr19609-2c.d
@@ -0,0 +1,13 @@
+#source: pr19609-2.s
+#as: --64 -mrelax-relocations=yes
+#ld: -melf_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000 --no-relax
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+70000000 <_start>:
+[ ]*[a-f0-9]+: 48 3b 05 ([0-9a-f]{2} ){4} cmp -?0x[a-f0-9]+\(%rip\),%rax # .*
+#pass