diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-10-29 17:30:36 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-11-01 18:18:05 +0100 |
commit | 265072ba75d7a931ed0a751d5192220bcc5cc230 (patch) | |
tree | d7d61734f85ae2725746266a38d9496c1cad4d09 /arch/Kconfig | |
parent | 837cad1e47d2e8a81956140d37ee23f5d3c07de6 (diff) | |
download | u-boot-imx-265072ba75d7a931ed0a751d5192220bcc5cc230.zip u-boot-imx-265072ba75d7a931ed0a751d5192220bcc5cc230.tar.gz u-boot-imx-265072ba75d7a931ed0a751d5192220bcc5cc230.tar.bz2 |
MIPS: add .padding section to linker script
Commit 79fd7e649e287228a1445820a72f7dd33baedb96
MIPS: always keep all sections in u-boot ELF binary.
Always keep all sections in u-boot ELF binary. Move all unneeded
sections after _end to avoid allocating space in the final binary.
Also remove .deadcode section which is now obsolete.
removed section .deadcode because the original symptoms were not
visible anymore. Unfortuneatly the binutils bug still exists.
The size of .rel.dyn section is often bigger than needed for all
entries. But objcopy only allocates space as much as required for all
reloc entries. Thus there is a gap between the last entry and
__rel_dyn_end in u-boot.bin. If u-boot is booted from RAM (e.g. in
SPL scenarios) that area could contain garbage data which could lead
to CPU exceptions during relocation.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions