From: Wolfgang Denk Date: Mon, 25 Apr 2011 12:17:11 +0200 Subject: [U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build. In-Reply-To: References: <20110420201335.BC035152160@gemini.denx.de> <1303633774-22961-4-git-send-email-Joakim.Tjernlund@transmode.se> <20110424204809.C9330D1DCCA@gemini.denx.de> <20110425083525.30532D52703@gemini.denx.de> Message-ID: <20110425101711.476A0D52703@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: > > > If in doubt, use ELDK. All examples were compiled with ELDK 4.2 (GCC > > 4.2.2) for ppc_8xx. > > Have you tried gcc 4.3.x yet? No, and from the list of bugs I have seen for it (especially for ARM) I will not invest time and efforts on it. > I think the mistake was to include the use of -fno-jump-tables in that > patch too. The -msingle-pic-base part should be a NOP to all gcc's that > don't have it. Maybe. > > > I still don't know why it broke with your gcc but I suspect > > > it is due to -fno-jump-tables(which is in the msingle-pic-base patch). > > > Seems like that option in your case makes the code bigger. > > > > Indeed. As I cannot see any advantages, I reject this stuff, at least > > for now. > > Indeed? Does that mean you confirmed that -fno-jump-tables was the cause? > I can respin the patch without that part if so. The "indeed" refers to the "in my case your patches make the code bigger". I cannot confirm anything else as I haven't tested it. 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 I have the simplest tastes. I am always satisfied with the best. -- Oscar Wilde