diff options
author | John Crispin <john@openwrt.org> | 2013-04-25 19:03:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-25 19:03:13 +0000 |
commit | 46306c2e470063be7497c701511626791eccd6c0 (patch) | |
tree | 3b960af63722f03d519d042758fb1f2672cf5a0e /target/linux/lantiq/image/lzma-loader/src/loader.lds | |
parent | fd79eb4e7c04b03d0301120c04311e54995e8d24 (diff) | |
download | upstream-46306c2e470063be7497c701511626791eccd6c0.tar.gz upstream-46306c2e470063be7497c701511626791eccd6c0.tar.bz2 upstream-46306c2e470063be7497c701511626791eccd6c0.zip |
lantiq: add lzma-loader source
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36438
Diffstat (limited to 'target/linux/lantiq/image/lzma-loader/src/loader.lds')
-rw-r--r-- | target/linux/lantiq/image/lzma-loader/src/loader.lds | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/lantiq/image/lzma-loader/src/loader.lds b/target/linux/lantiq/image/lzma-loader/src/loader.lds new file mode 100644 index 0000000000..80cc7ca3ec --- /dev/null +++ b/target/linux/lantiq/image/lzma-loader/src/loader.lds @@ -0,0 +1,35 @@ +OUTPUT_ARCH(mips) +SECTIONS { + .text : { + _code_start = .; + *(.text) + *(.text.*) + *(.rodata) + *(.rodata.*) + *(.data.lzma) + } + + . = ALIGN(32); + .data : { + *(.data) + *(.data.*) + . = . + 524288; /* workaround for buggy bootloaders */ + } + + . = ALIGN(32); + _code_end = .; + + _bss_start = .; + .bss : { + *(.bss) + *(.bss.*) + } + + . = ALIGN(32); + _bss_end = .; + + . = . + 8192; + _stack = .; + + workspace = .; +} |