aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/script.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/script.t')
-rw-r--r--ld/testsuite/ld-scripts/script.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/script.t b/ld/testsuite/ld-scripts/script.t
new file mode 100644
index 0000000..ee7a48a
--- /dev/null
+++ b/ld/testsuite/ld-scripts/script.t
@@ -0,0 +1,16 @@
+SECTIONS
+{
+ .text 0x100 : {
+ text_start = .;
+ *(.text)
+ *(.pr)
+ text_end = .;
+ }
+ . = 0x1000;
+ .data : {
+ data_start = .;
+ *(.data)
+ *(.rw)
+ data_end = .;
+ }
+}