aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard/extern.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-discard/extern.s')
-rw-r--r--ld/testsuite/ld-discard/extern.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-discard/extern.s b/ld/testsuite/ld-discard/extern.s
new file mode 100644
index 0000000..da8e276
--- /dev/null
+++ b/ld/testsuite/ld-discard/extern.s
@@ -0,0 +1,12 @@
+.globl data
+ .section .data.exit,"aw"
+data:
+.globl text
+ .section .text.exit,"aw"
+text:
+.text
+.globl _start
+_start:
+ .long data
+ .section .debug_info
+ .long text