summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/weak1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/weak1.s')
-rw-r--r--ld/testsuite/ld-scripts/weak1.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/weak1.s b/ld/testsuite/ld-scripts/weak1.s
new file mode 100644
index 00000000000..046fbe1fa46
--- /dev/null
+++ b/ld/testsuite/ld-scripts/weak1.s
@@ -0,0 +1,11 @@
+.data
+ .global foo1
+ .global sym1
+ .weak sym2
+foo1:
+ .long sym1
+ .long sym2
+sym1:
+ .long 0x12121212
+sym2:
+ .long 0x34343434