summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/elfv2-2b.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/elfv2-2b.s')
-rw-r--r--ld/testsuite/ld-powerpc/elfv2-2b.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/elfv2-2b.s b/ld/testsuite/ld-powerpc/elfv2-2b.s
new file mode 100644
index 0000000..9c9d75e
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/elfv2-2b.s
@@ -0,0 +1,17 @@
+ .globl f3
+ .type f3,@function
+ .text
+f3:
+ addis 2,12,.TOC.-f3@ha
+ addi 2,2,.TOC.-f3@l
+ .localentry f3,.-f3
+ blr
+ .size f3,.-f3
+
+ .globl f4
+ .type f4,@function
+ .text
+f4:
+ .localentry f4,0
+ blr
+ .size f4,.-f4