summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr26939-x32.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr26939-x32.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr26939-x32.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr26939-x32.d b/ld/testsuite/ld-x86-64/pr26939-x32.d
new file mode 100644
index 00000000000..af2c023a922
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr26939-x32.d
@@ -0,0 +1,13 @@
+#source: pr26939.s
+#as: --x32
+#ld: -pie -melf32_x86_64
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+#...
+[ ]*[a-f0-9]+: 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%eax # [a-f0-9]+ <.*>
+#pass