From: Wolfgang Denk Date: Wed, 20 Apr 2011 00:05:27 +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> <20110419202525.A2062D5269D@gemini.denx.de> <20110419213540.8ED22101D6F@gemini.denx.de> Message-ID: <20110419220527.A7319152160@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: > > > That means I will revert the two commits? > > One, you only claimed that: > > The -fPIC flag belongs with -mrelocatable, move it there. > > Also change -fPIC to -fpic as this produces smaller > > binaries. > > However, currently -mrelocatable promotes -fpic to -fPIC, a > > fix for this is in upcoming gcc 4.6 or you can apply this small > > patch to gcc: > Broke all those 8xx boards. Yes, but you yorself pointed out that commit 337f5f5 missed a large number of boards, leaving the tree in a inconsistent state. Should we not revert that one as well? 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 Alles Gescheite ist schon gedacht worden, man mu? nur versuchen, es noch einmal zu denken. -- Goethe, Maximen und Reflexionen