aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/aix-glink-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/aix-glink-1.s')
-rw-r--r--ld/testsuite/ld-powerpc/aix-glink-1.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/aix-glink-1.s b/ld/testsuite/ld-powerpc/aix-glink-1.s
new file mode 100644
index 0000000..f7901b2
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/aix-glink-1.s
@@ -0,0 +1,21 @@
+ .toc
+ .globl .f1
+ .csect .f1[PR]
+.f1:
+ blr
+
+ .globl .f2
+ .csect .f2[PR]
+.f2:
+ bl .f3
+
+ .globl .f3
+ .csect .f3[PR]
+.f3:
+ blr
+
+ .globl foo
+ .csect foo[RW]
+foo:
+ .long f1
+ .long .ext