Skip to content
Commit 26af162a authored by Marek Vasut's avatar Marek Vasut Committed by Angelo Dureghello
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
parent bf10b920
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment