u-boot/arch/m68k
Marek Vasut 26af162ac8 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>
2023-09-06 13:28:58 +02:00
..
cpu arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
dts m68k: dts: add watchdog node 2023-07-25 23:21:42 +02:00
include/asm m68k: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
lib arch: m68k: Introduce trivial PIT based timer 2023-04-15 21:36:07 +02:00
config.mk arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
Kconfig arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
Makefile m68k: Drop unused CONFIG_M52277 2023-02-07 14:33:48 -05:00