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