diff options
Diffstat (limited to 'target/linux/etrax-2.6/image/e100boot/src/cbl/src/ldscript')
-rw-r--r-- | target/linux/etrax-2.6/image/e100boot/src/cbl/src/ldscript | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/etrax-2.6/image/e100boot/src/cbl/src/ldscript b/target/linux/etrax-2.6/image/e100boot/src/cbl/src/ldscript new file mode 100644 index 0000000000..24c8a318ad --- /dev/null +++ b/target/linux/etrax-2.6/image/e100boot/src/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 = .; + +} |