aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/relocation-copy-relro.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/Inputs/relocation-copy-relro.s')
-rw-r--r--test/ELF/Inputs/relocation-copy-relro.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ELF/Inputs/relocation-copy-relro.s b/test/ELF/Inputs/relocation-copy-relro.s
new file mode 100644
index 000000000000..5f44e0ee7a83
--- /dev/null
+++ b/test/ELF/Inputs/relocation-copy-relro.s
@@ -0,0 +1,13 @@
+.rodata
+.globl a
+.size a, 4
+.type a, @object
+a:
+.word 1
+
+.section .data.rel.ro,"aw",%progbits
+.globl b
+.size b, 4
+.type b, @object
+b:
+.word 2