- Update romcc to version 0.27 and add more tests.
[coreboot.git] / util / romcc / tests / ldscript.ld
diff --git a/util/romcc/tests/ldscript.ld b/util/romcc/tests/ldscript.ld
new file mode 100644 (file)
index 0000000..97b307f
--- /dev/null
@@ -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