From: Wolfgang Denk Date: Tue, 19 Apr 2011 22:25:25 +0200 Subject: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place In-Reply-To: References: <1291642606-4290-1-git-send-email-Joakim.Tjernlund@transmode.se> <20110412081426.C926A1537B0@gemini.denx.de> Message-ID: <20110419202525.A2062D5269D@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 Joakim Tjernlund, In message you wrote: > > > It seems this change increases the code size somehow - which I would > > not expect from your comment above. Please have a look. > > Very strange, I had a quick look(that is all I can do ATM). It appers > that 8xx is the only ppc arch which doesn't have its own u-boot.lds under > arch/powerpc/cpu/mpc8xx, is that intentional? Is it only 8xx that has this > problem? I did not look closer, but it appears that these boards are all boards that use an embedded environment, and thus their own, usually manually tuned linker script. > My guess would be that 8xx missed out on an earlier patch > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=337f5f50f539cc1ea1e0533c096e237228f12cae Or, more correctly, that this patch failed to patch these boards. Can you please provide a fix? I'd like to get rid of this build error ASAP. We could, of course, simply revert these commits. 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 If God had a beard, he'd be a UNIX programmer.