From 52adbf7967796f274a446e09e6edddddbe66e4ea Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 2 Apr 2007 17:14:23 +0000 Subject: Entry point is now configurable via a Makefile variable. Entry point is detected automatically (Gabor Juhos) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6841 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in') diff --git a/target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in b/target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in index 20f2ea98e..8c1bb9bd6 100644 --- a/target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in +++ b/target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in @@ -1,17 +1,27 @@ OUTPUT_ARCH(mips) -ENTRY(startup) SECTIONS { - . = TEXT_START; .text : { + _code_start = .; *(.text) + *(.text.*) *(.rodata) + *(.rodata.*) + _code_end = .; } .data : { *(.data) + *(.data.*) } .bss : { *(.bss) + *(.bss.*) } + + . = ALIGN(16); + . = . + 8192; + _stack = .; + + workspace = .; } -- cgit v1.2.3