aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pie1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pie1.s')
-rw-r--r--ld/testsuite/ld-i386/pie1.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pie1.s b/ld/testsuite/ld-i386/pie1.s
new file mode 100644
index 0000000..b4d1d73
--- /dev/null
+++ b/ld/testsuite/ld-i386/pie1.s
@@ -0,0 +1,5 @@
+ .text
+ .global _start
+ .weak foo
+_start:
+ leal foo@GOTOFF(%eax), %eax