aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pie3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pie3.s')
-rw-r--r--ld/testsuite/ld-x86-64/pie3.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pie3.s b/ld/testsuite/ld-x86-64/pie3.s
new file mode 100644
index 0000000..72914d9
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pie3.s
@@ -0,0 +1,5 @@
+ .text
+ .global _start
+ .weak foo
+_start:
+ leaq foo(%rip), %rax