aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/weak2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/weak2.s')
-rw-r--r--ld/testsuite/ld-scripts/weak2.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/weak2.s b/ld/testsuite/ld-scripts/weak2.s
new file mode 100644
index 0000000..04edff5
--- /dev/null
+++ b/ld/testsuite/ld-scripts/weak2.s
@@ -0,0 +1,11 @@
+.data
+ .global foo2
+ .weak sym1
+ .global sym2
+foo2:
+ .long sym1
+ .long sym2
+sym1:
+ .long 0x56565656
+sym2:
+ .long 0x78787878