From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 31 Oct 2010 09:20:07 +0100 Subject: [U-Boot] ARM: problem with linker option -pie In-Reply-To: <4CCCAACE.6060005@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> Message-ID: <4CCD26B7.8090503@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 31/10/2010 01:31, Albert ARIBAUD a ?crit : All, I can now reproduce the issue using ELDK 4.2 ("works") and CS arm-2010q1-202 ("does not work") toolchains on openrd_base and current tip of master plus Alexander's RFC patch. 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. 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. Amicalement, -- Albert.