mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 23:12:48 +00:00
c57e182b56
Import all improvements made in the lzma-loader since development on the
ath79 target started.
This also reverts fe594bf90d
("ath79: fix loader-okli, lzma-loader"), as
is obsoleted by 2ad60168b6af ("ar71xx: lzma-loader: move padding workaround
to gzip step").
Likely, many of the changes should be ported to the ramips lzma-loader as
well, but I don't have a device to test this.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
35 lines
351 B
Plaintext
35 lines
351 B
Plaintext
OUTPUT_ARCH(mips)
|
|
SECTIONS {
|
|
.text : {
|
|
_code_start = .;
|
|
*(.text)
|
|
*(.text.*)
|
|
*(.rodata)
|
|
*(.rodata.*)
|
|
*(.data.lzma)
|
|
}
|
|
|
|
. = ALIGN(32);
|
|
.data : {
|
|
*(.data)
|
|
*(.data.*)
|
|
}
|
|
|
|
. = ALIGN(32);
|
|
_code_end = .;
|
|
|
|
_bss_start = .;
|
|
.bss : {
|
|
*(.bss)
|
|
*(.bss.*)
|
|
}
|
|
|
|
. = ALIGN(32);
|
|
_bss_end = .;
|
|
|
|
. = . + 8192;
|
|
_stack = .;
|
|
|
|
workspace = .;
|
|
}
|