aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard/zero-range.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-discard/zero-range.s')
-rw-r--r--ld/testsuite/ld-discard/zero-range.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-discard/zero-range.s b/ld/testsuite/ld-discard/zero-range.s
new file mode 100644
index 0000000..e16caf4
--- /dev/null
+++ b/ld/testsuite/ld-discard/zero-range.s
@@ -0,0 +1,13 @@
+ .text
+ .globl _start
+_start:
+
+ .section .debug_ranges
+ .long .Ltext
+ .long .Ltext + 2
+ .long 0
+ .long 0
+
+ .section .text.exit,"ax"
+.Ltext:
+ .long 0