Hi Tom, This supports dynamic relocation on MIPS without the need for building a position-independent executable. This notably reduces the code size for all MIPS boards.
The following changes since commit d85ca029f257b53a96da6c2fb421e78a003a9943:
Prepare v2017.07 (2017-07-10 13:07:38 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-mips.git master
for you to fetch changes up to f653dcd5720c4135607211f7304283d7a8ec3b8a:
MIPS: bootm: Fix broken boot_env_legacy codepath (2017-07-12 22:10:42 +0200)
----------------------------------------------------------------
Paul Burton (2):
Makefile: Allow arch post-link hook
MIPS: Stop building position independent code
Zubair Lutfullah Kakakhel (1):
MIPS: bootm: Fix broken boot_env_legacy codepath
Makefile | 7 +-
arch/mips/Makefile.postlink | 23 ++++++
arch/mips/config.mk | 21 ++---
arch/mips/cpu/start.S | 130 -------------------------------
arch/mips/cpu/u-boot.lds | 41 +++-------
arch/mips/include/asm/relocs.h | 24 ++++++
arch/mips/include/asm/sections.h | 7 ++
arch/mips/lib/Makefile | 1 +
arch/mips/lib/bootm.c | 8 +-
arch/mips/lib/reloc.c | 164 +++++++++++++++++++++++++++++++++++++++
common/board_f.c | 2 +-
tools/.gitignore | 1 +
tools/Makefile | 2 +
tools/mips-relocs.c | 426
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14 files changed, 672 insertions(+), 185 deletions(-)
create mode 100644 arch/mips/Makefile.postlink
create mode 100644 arch/mips/include/asm/relocs.h
create mode 100644 arch/mips/lib/reloc.c
create mode 100644 tools/mips-relocs.c
signature.asc
Description: OpenPGP digital signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

