aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr25021.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr25021.s')
-rw-r--r--ld/testsuite/ld-elf/pr25021.s22
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr25021.s b/ld/testsuite/ld-elf/pr25021.s
new file mode 100644
index 0000000..dd71202
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr25021.s
@@ -0,0 +1,22 @@
+ .section .text.live,"ax",%progbits
+ .globl live
+live:
+ .byte 0
+
+ .section .stack_sizes,"o",%progbits,.text.live,unique,0
+ .byte 1
+
+ .section .text.dead,"ax",%progbits
+ .globl dead
+dead:
+ .byte 1
+
+ .section .stack_sizes,"o",%progbits,.text.dead,unique,1
+ .byte 2
+
+ .section .text.main,"ax",%progbits
+ .globl _start
+_start:
+ .byte 0
+ .section .note,"",%note
+ .dc.a live