X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ce814c1c05dae77e9a265509ae0671ef145a9b38..913e6c00af52c2f3821885368653fc2696f8cba6:/target/linux/image/generic/lzma-loader/src/lzma.lds.in diff --git a/target/linux/image/generic/lzma-loader/src/lzma.lds.in b/target/linux/image/generic/lzma-loader/src/lzma.lds.in index 5ac555bf7..6021cec01 100644 --- a/target/linux/image/generic/lzma-loader/src/lzma.lds.in +++ b/target/linux/image/generic/lzma-loader/src/lzma.lds.in @@ -1,5 +1,5 @@ OUTPUT_ARCH(mips) -ENTRY(_start) +ENTRY(@ENTRY@) SECTIONS { /* Read-only sections, merged into text segment: */ @@ -7,6 +7,7 @@ SECTIONS .text : { _ftext = . ; + *(.text.entry) *(.text) *(.rodata) lzma_start = .;