aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/weak-dyn-1a.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/weak-dyn-1a.s')
-rw-r--r--ld/testsuite/ld-elf/weak-dyn-1a.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/weak-dyn-1a.s b/ld/testsuite/ld-elf/weak-dyn-1a.s
new file mode 100644
index 0000000..d77c32e
--- /dev/null
+++ b/ld/testsuite/ld-elf/weak-dyn-1a.s
@@ -0,0 +1,13 @@
+ .globl foo
+ .weak foo
+ .type foo,%object
+ .size foo,1
+
+ .globl bar
+ .type bar,%object
+ .size bar,1
+
+ .data
+foo:
+bar:
+ .dc.a data_begin