summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d')
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d b/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d
new file mode 100644
index 00000000000..41b9ac2cc30
--- /dev/null
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d
@@ -0,0 +1,13 @@
+#source: ../x86-64-gotpcrel-2.s
+#as: --x32 -mrelax-relocations=no
+#objdump: -dwr
+#name: x86-64 (ILP32) gotpcrel (2)
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <foo>:
+ +[a-f0-9]+: 48 8b 05 00 00 00 00 mov 0x0\(%rip\),%rax # 7 <foo\+0x7> 3: R_X86_64_GOTPCREL foo-0x4
+#pass