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