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