summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/gpoff-6.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/gpoff-6.d')
-rw-r--r--ld/testsuite/ld-x86-64/gpoff-6.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/gpoff-6.d b/ld/testsuite/ld-x86-64/gpoff-6.d
new file mode 100644
index 00000000000..1676b0d3ef2
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/gpoff-6.d
@@ -0,0 +1,12 @@
+#as: --64
+#ld: -melf_x86_64 --gc-sections
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+[a-f0-9]+ <_start>:
+ +[a-f0-9]+: c3 retq
+#pass