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