summaryrefslogtreecommitdiff
path: root/util/romcc/tests/ldscript.ld
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-06-10 21:22:07 +0000
committerEric Biederman <ebiederm@xmission.com>2003-06-10 21:22:07 +0000
commit6aa31cc754744a83177ea922e71c6bdf02cad5df (patch)
tree00fc8a3cc81f367240eb5ac5a627841d1bb0a1a0 /util/romcc/tests/ldscript.ld
parentdc18ef018d080f050de9e28be913f544d3009cb2 (diff)
downloadcoreboot-6aa31cc754744a83177ea922e71c6bdf02cad5df.tar.xz
- Update romcc to version 0.27 and add more tests.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@865 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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