aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/image/spi-loader/loader.lds
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc85xx/image/spi-loader/loader.lds')
-rw-r--r--target/linux/mpc85xx/image/spi-loader/loader.lds31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/image/spi-loader/loader.lds b/target/linux/mpc85xx/image/spi-loader/loader.lds
new file mode 100644
index 0000000000..3af24a162e
--- /dev/null
+++ b/target/linux/mpc85xx/image/spi-loader/loader.lds
@@ -0,0 +1,31 @@
+OUTPUT_ARCH(powerpc:common)
+ENTRY(_start)
+EXTERN(_start)
+SECTIONS {
+ .text :
+ {
+ _text_start = .;
+ *(.text*)
+ _text_len = ABSOLUTE(. - _text_start);
+ }
+ .data :
+ {
+ _data_start = .;
+ *(.rodata*)
+ *(.data*)
+ *(.sdata*)
+ _data_len = ABSOLUTE(. - _data_start);
+ }
+ . = ALIGN(4096);
+ .bss :
+ {
+ _bss_start = .;
+ . += 4K;
+ _stack_top = .;
+ *(.bss*)
+ *(.sbss*)
+ _bss_len = ABSOLUTE(. - _bss_start);
+ }
+ . = ALIGN(4096);
+ _end = .;
+}