diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-02 17:14:23 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-02 17:14:23 +0000 |
commit | 52adbf7967796f274a446e09e6edddddbe66e4ea (patch) | |
tree | d662ddda7b2332094c0a634d959bd552cd0acb3b /target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in | |
parent | 68a04af57e99fa518f1904d017e2bef54a64352d (diff) |
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
Diffstat (limited to 'target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in')
-rw-r--r-- | target/linux/adm5120-2.6/image/lzma-loader/src/loader.lds.in | 14 |
1 files changed, 12 insertions, 2 deletions
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 20f2ea98ec..8c1bb9bd6a 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 = .; } |