aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/empty-address-2a.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/empty-address-2a.t')
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2a.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/empty-address-2a.t b/ld/testsuite/ld-scripts/empty-address-2a.t
new file mode 100644
index 0000000..6a40ad8
--- /dev/null
+++ b/ld/testsuite/ld-scripts/empty-address-2a.t
@@ -0,0 +1,7 @@
+SECTIONS
+{
+ .text : { *(.text) }
+ .data : { *(.data) }
+ __data_end = .;
+ /DISCARD/ : { *(.*) }
+}