From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Sun, 31 Oct 2010 09:40:28 +0100 Subject: [U-Boot] ARM: problem with linker option -pie In-Reply-To: <4CCD26B7.8090503@free.fr> References: <4CCC8206.40206@gmail.com> <20101030204310.3C78A1522C0@gemini.denx.de> <4CCC85B4.6060102@gmail.com> <20101030211711.C45471522C0@gemini.denx.de> <4CCC915F.1090608@free.fr> <4CCCAACE.6060005@free.fr> <4CCD26B7.8090503@free.fr> Message-ID: <4CCD2B7C.3040804@emk-elektronik.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, > CS toolchain emits lots of > warnings about type-punned pointer dereferencing, though none in nand > code, and I think these are not related to our issue. Same with gcc 4.3.5 > I will now analyze the patch code to see if it contains relocations that > should have applied but did not, or if it misses relocations altogether. > My currently favored bet right now is that BSS may have gotten its own > relocation table in later toolchains, but that's only a bet. u-boot.bin is 257KiB with 4.2.4 but only 251KiB with 4.3.5 ! Either its much better optimised or the relocation info shrunk which _might_ indicate something is missing in it... Compiled with 4.3.5 last output is the "DRAM: 64 MiB" message. Then silence. I suppose you don't need u-boot.elf from me, if otherwise, ping me:) Best Regards, Reinhard