aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tocopt6c.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/tocopt6c.s')
-rw-r--r--ld/testsuite/ld-powerpc/tocopt6c.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tocopt6c.s b/ld/testsuite/ld-powerpc/tocopt6c.s
new file mode 100644
index 0000000..08ae58d
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/tocopt6c.s
@@ -0,0 +1,20 @@
+ .include "tocopt6-inc.s"
+ in123
+ in23
+ gobblegot f3
+
+ .section .text
+ .globl main
+ start main
+ bl f1
+ nop
+ bl f2
+ nop
+ bl f3
+ nop
+ bl g2
+ nop
+ bl in23
+ nop
+ li 3, 0
+ end main