aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/relocation-copy-alias.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/Inputs/relocation-copy-alias.s')
-rw-r--r--test/ELF/Inputs/relocation-copy-alias.s25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/ELF/Inputs/relocation-copy-alias.s b/test/ELF/Inputs/relocation-copy-alias.s
new file mode 100644
index 0000000000000..a9bc3d76a12c2
--- /dev/null
+++ b/test/ELF/Inputs/relocation-copy-alias.s
@@ -0,0 +1,25 @@
+.data
+
+.globl a1
+.type a1, @object
+.size a1, 1
+a1:
+.weak a2
+.type a2, @object
+.size a2, 1
+a2:
+.byte 1
+
+.weak b1
+.type b1, @object
+.size b1, 1
+b1:
+.weak b2
+.type b2, @object
+.size b2, 1
+b2:
+.globl b3
+.type b3, @object
+.size b3, 1
+b3:
+.byte 1