summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/discard2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/discard2.s')
-rw-r--r--ld/testsuite/ld-elf/discard2.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/discard2.s b/ld/testsuite/ld-elf/discard2.s
new file mode 100644
index 0000000..27b66f4
--- /dev/null
+++ b/ld/testsuite/ld-elf/discard2.s
@@ -0,0 +1,12 @@
+ .globl here
+ .data
+here:
+ .long 1
+ .globl there
+ .section .discard,"aw",%progbits
+ .align 4
+there:
+ .long 2
+ .section .debug_info,"",%progbits
+ .long here
+ .long there