aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/default-script.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/default-script.t')
-rw-r--r--ld/testsuite/ld-scripts/default-script.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/default-script.t b/ld/testsuite/ld-scripts/default-script.t
new file mode 100644
index 0000000..fc70187
--- /dev/null
+++ b/ld/testsuite/ld-scripts/default-script.t
@@ -0,0 +1,7 @@
+_START = DEFINED(_START) ? _START : 0x9000000;
+SECTIONS
+{
+ . = _START;
+ .text : {*(.text)}
+ /DISCARD/ : {*(*)}
+}