[U-Boot] [PATCH 7/7] Add primitive relocation to i386 port
Wolfgang Denk
wd at denx.de
Tue Feb 24 23:37:28 CET 2009
Dear Graeme Russ,
In message <49A3C8A0.2010604 at gmail.com> you wrote:
> Add basic relocation to i386 port
>
> Signed-off-by: Graeme Russ <graeme.russ at 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
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Der Dativ ist dem Genitiv sein Tod.
More information about the U-Boot
mailing list