From: Wolfgang Denk Date: Tue, 24 Feb 2009 23:37:28 +0100 Subject: [U-Boot] [PATCH 7/7] Add primitive relocation to i386 port In-Reply-To: <49A3C8A0.2010604@gmail.com> References: <49A3C8A0.2010604@gmail.com> Message-ID: <20090224223728.DC588832E43F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Graeme Russ, In message <49A3C8A0.2010604@gmail.com> you wrote: > Add basic relocation to i386 port > > Signed-off-by: Graeme Russ > --- > 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.