aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/ppc64-bsymbolic-local-def.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/Inputs/ppc64-bsymbolic-local-def.s')
-rw-r--r--test/ELF/Inputs/ppc64-bsymbolic-local-def.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/ELF/Inputs/ppc64-bsymbolic-local-def.s b/test/ELF/Inputs/ppc64-bsymbolic-local-def.s
new file mode 100644
index 000000000000..10eec6ca3198
--- /dev/null
+++ b/test/ELF/Inputs/ppc64-bsymbolic-local-def.s
@@ -0,0 +1,14 @@
+ .abiversion 2
+ .section ".text"
+
+ .p2align 2
+ .global def
+ .type def, @function
+def:
+.Ldef_gep:
+ addis 2, 12, .TOC.-.Ldef_gep@ha
+ addi 2, 2, .TOC.-.Ldef_gep@l
+.Ldef_lep:
+ .localentry def, .-def
+ li 3, 55
+ blr