diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-08-27 00:25:36 +0200 |
---|---|---|
committer | Angelo Dureghello <angelo@kernel-space.org> | 2023-09-06 13:28:58 +0200 |
commit | 26af162ac8f8ab3222d32f00f06a4774a061150a (patch) | |
tree | a15efb3f50ae8be1a3d46f70f772c32ec4ad298f /configs/A20-OLinuXino_MICRO_defconfig | |
parent | bf10b9201c1ed198f76bc0a35fc64951de7583bc (diff) | |
download | u-boot-26af162ac8f8ab3222d32f00f06a4774a061150a.tar.gz |
arch: m68k: Implement relocation
Implement relocation for M68K. Perform all the updates in start.S
relocate_code in assemby, since it is a simple matter of traversing
the dynsym table and adding relocation offset - MONITOR_BASE to all
the items in that table. The necessity to deal with MONITOR_BASE is
a specific of M68K, where the ELF entry point is at offset 0x400,
which is the MONITOR_BASE, while TEXT_BASE is at offset 0 .
This also removes the one last user of NEEDS_MANUAL_RELOC, so that
could be finally cleaned up .
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'configs/A20-OLinuXino_MICRO_defconfig')
0 files changed, 0 insertions, 0 deletions