summaryrefslogtreecommitdiff
path: root/util/romcc/tests/ldscript.ld
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/ldscript.ld')
-rw-r--r--util/romcc/tests/ldscript.ld20
1 files changed, 20 insertions, 0 deletions
diff --git a/util/romcc/tests/ldscript.ld b/util/romcc/tests/ldscript.ld
new file mode 100644
index 0000000000..97b307fc66
--- /dev/null
+++ b/util/romcc/tests/ldscript.ld
@@ -0,0 +1,20 @@
+
+ENTRY(_start)
+
+SECTIONS
+{
+ . = 0x1000;
+ .text . : {
+ . = ALIGN(16);
+ _start = . ;
+ *(.rom.text);
+ *(.text)
+ . = ALIGN(16);
+ }
+ .data . : {
+ . = ALIGN(16);
+ *(.rom.data);
+ *(.data)
+ . = ALIGN(16);
+ }
+} \ No newline at end of file