summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/weakhid.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/weakhid.s')
-rw-r--r--ld/testsuite/ld-cris/weakhid.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/weakhid.s b/ld/testsuite/ld-cris/weakhid.s
new file mode 100644
index 0000000..e4c419f
--- /dev/null
+++ b/ld/testsuite/ld-cris/weakhid.s
@@ -0,0 +1,13 @@
+ .weak xweakobj
+ .weak xweakhidobj
+ .hidden xweakhidobj
+
+ .data
+ .global x
+ .type x,@object
+x:
+ .dword xweakhidobj
+ .dword xweakobj
+ .dword xregobj
+.Lfe1:
+ .size x,.Lfe1-x