From: Wolfgang Denk Date: Sun, 31 Oct 2010 18:59:35 +0100 Subject: [U-Boot] ELF relocation issues wrt toolchain In-Reply-To: <4CCDA4BC.2020601@free.fr> References: <4CCDA4BC.2020601@free.fr> Message-ID: <20101031175935.F2D4B1522C0@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 Albert ARIBAUD, In message <4CCDA4BC.2020601@free.fr> you wrote: > > I think I've got the issue pinned down. Congrats! > Somehow, between linker releases, the names of relocation input sections > have changed, which moved them out of our .rel.dyn, actually causing the > code not to relocate any more. > > I am experimenting to find a solution that will please both 'old' and > 'new' linkers. We run all linker scripts through the C preprocessor. If there is a version dependeny, we can handle this trough an #ifdef 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 A good marriage would be between a blind wife and deaf husband. -- Michel de Montaigne