aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/nodotsym.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/nodotsym.s')
-rw-r--r--ld/testsuite/ld-powerpc/nodotsym.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/nodotsym.s b/ld/testsuite/ld-powerpc/nodotsym.s
new file mode 100644
index 0000000..dbc44ec
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/nodotsym.s
@@ -0,0 +1,11 @@
+ .section .opd,"aw"
+ .p2align 3
+ .global foo
+ .type foo,@function
+foo:
+ .quad .L.foo,.TOC.@tocbase,0
+
+ .text
+.L.foo:
+ blr
+ .size foo,.-.L.foo