summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-i386/nogot1.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-i386/nogot1.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-i386/nogot1.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-i386/nogot1.s b/binutils-2.21/ld/testsuite/ld-i386/nogot1.s
new file mode 100644
index 0000000..016e172
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-i386/nogot1.s
@@ -0,0 +1,10 @@
+ .type bar, @function
+bar:
+ ret
+ .size bar, .-bar
+.globl foo
+ .type foo, @function
+foo:
+ leal bar, %eax
+ ret
+ .size foo, .-foo