u-boot/arch/mips
Daniel Schwierzeck 265072ba75 MIPS: add .padding section to linker script
Commit 79fd7e649e

    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>
2014-11-01 18:18:05 +01:00
..
cpu MIPS: add .padding section to linker script 2014-11-01 18:18:05 +01:00
include/asm common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
lib bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
Kconfig MIPS: kconfig: merge targets qemu_mips and qemu_mips64 2014-11-01 18:18:04 +01:00
config.mk MIPS: add .padding section to linker script 2014-11-01 18:18:05 +01:00