From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Thu, 04 Nov 2010 20:39:24 +0100 Subject: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support In-Reply-To: <4CD3076C.3080905@free.fr> References: <1288808663-15074-1-git-send-email-albert.aribaud@free.fr> <4CD28A3E.60406@ahsoftware.de> <4CD28EF0.5020506@ahsoftware.de> <4CD2A9A9.4010607@free.fr> <4CD2AB6F.2040507@ahsoftware.de> <4CD2AD5C.3000809@free.fr> <4CD2B2B2.9060902@ahsoftware.de> <4CD2E5BC.8040208@free.fr> <4CD2FD7E.5080309@ahsoftware.de> <4CD2FEA8.8050106@ahsoftware.de> <4CD3076C.3080905@free.fr> Message-ID: <4CD30BEC.1050203@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, Am 04.11.2010 20:20, schrieb Albert ARIBAUD: >> If I read that patch (66_*) correctly, it's the same as when using >> --warn-shared-textrel in LDFLAGS. > > All right. I don't like getting a warning like that, but as I cannot > reproduce your toolchain, I cannot avoid it. I think they enabbled this by default to do some kind of QA, because those textrels are forcing the dynamic linker to resolve some stuff which otherwise (without those textrels) isn't needed. And this results in longer load times. Sidenote: My toolchain is reproducable, but that means you have to compile a Gentoo system, because Gentoo is a source only distribution. So it isn't as comfortable as using binary distributions (here), but it has other advantages. > Regarding the build you sent me, the fixup for monitor_flash_len is > present in the fixup table at the 11th entry at 00752fb8 and the fixup > table is correctly accessible using _rel_dyn_start_ofs and > _rel_dyn_end_ofs. That means your code should have done the fixup if the > relocation loop was run correctly. > > Can you do a step-by-step run of the fixup loop under a debugger? Sorry, no. That thing has 2mm-header for the jtag and I don't have any prefabricated cable for that. Maybe someone else with binutils 2.20.1 could check your V3. I don't know if I will find the time test your v3 in the next days with some other hw where I can attach a jtag. Regards, Alexander