
Dear Graeme Russ,
In message 49A3C8A0.2010604@gmail.com you wrote:
Add basic relocation to i386 port
Signed-off-by: Graeme Russ graeme.russ@gmail.com
This patch provides relocation of the text (code) segment of the i386 binary (in addition to already relocated sections). However, as discussed previously on the mailing list, the relocation does not fix up references to read-only data which is still referenced into Flash. Full relocation is likely going to require some in-depth knowledge of ELF and the very mysterious 'Global Offset Table'
cpu/i386/interrupts.c | 4 ++-- cpu/i386/start.S | 41 +++++++++++++++++++++++++++++++++++++++++ include/configs/sc520_cdp.h | 2 ++ include/configs/sc520_spunk.h | 2 ++ lib_i386/board.c | 27 +++++++++++++++++++++++++++ lib_i386/interrupts.c | 4 ++-- lib_i386/timer.c | 2 +- 7 files changed, 77 insertions(+), 5 deletions(-)
Applied to "next" branch. Thanks.
Best regards,
Wolfgang Denk