summaryrefslogtreecommitdiff
path: root/package/etrax-tools/src/e100boot/cbl/src/ldscript
diff options
context:
space:
mode:
Diffstat (limited to 'package/etrax-tools/src/e100boot/cbl/src/ldscript')
-rw-r--r--package/etrax-tools/src/e100boot/cbl/src/ldscript38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/etrax-tools/src/e100boot/cbl/src/ldscript b/package/etrax-tools/src/e100boot/cbl/src/ldscript
new file mode 100644
index 000000000..24c8a318a
--- /dev/null
+++ b/package/etrax-tools/src/e100boot/cbl/src/ldscript
@@ -0,0 +1,38 @@
+SECTIONS
+{
+ . = 0x380000f0;
+ __Stext = .;
+
+ .text :
+ {
+ KEEP (*(.startup))
+ KEEP (*(.text))
+ *(.text.*)
+ KEEP (*(.rodata))
+ *(.rodata.*)
+ } =0
+
+ __Etext = .;
+
+ .data :
+ {
+ __Sdata = .;
+ KEEP (*(.data))
+ *(.data.*)
+ }
+
+ __Edata = .;
+ . = ALIGN (4);
+ __Sbss = .;
+ .bss :
+ {
+ /* The network crc will land in the first four bytes of the
+ bss. Move the variables out of the way. */
+ . = . + 12;
+ *(.bss.*)
+ *(COMMON)
+ }
+
+ __Ebss = .;
+
+}