aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/retain_2.s
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/retain_2.s')
-rw-r--r--gold/testsuite/retain_2.s22
1 files changed, 22 insertions, 0 deletions
diff --git a/gold/testsuite/retain_2.s b/gold/testsuite/retain_2.s
new file mode 100644
index 0000000..67d86d1
--- /dev/null
+++ b/gold/testsuite/retain_2.s
@@ -0,0 +1,22 @@
+ .section .preinit_array.01000,"aw",%preinit_array
+ .dc.a 0
+
+ .section .init_array.01000,"aw",%init_array
+ .dc.a 0
+
+ .section .fini_array.01000,"aw",%fini_array
+ .dc.a 0
+
+ .section .preinit_array.01000,"awR",%preinit_array
+ .dc.a 0
+
+ .section .init_array.01000,"awR",%init_array
+ .dc.a 0
+
+ .section .fini_array.01000,"awR",%fini_array
+ .dc.a 0
+
+ .text
+ .globl _start
+_start:
+ .dc.a 0