From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 31 Oct 2010 10:24:34 +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: <20101031092434.57B081522C0@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 <4CCD26B7.8090503@free.fr> you wrote: > > 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. These are indeed unrelated. > 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. Hm.... probably not BSS as such, but eventually the linker treats segments without "LOAD" attribute differently? 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 "Evil does seek to maintain power by suppressing the truth." "Or by misleading the innocent." -- Spock and McCoy, "And The Children Shall Lead", stardate 5029.5.