From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Modra Subject: Re: linux-next: build failure after merge of the final tree Date: Fri, 6 Jul 2012 10:27:10 +0930 Message-ID: <20120706005709.GB5805@bubble.grove.modra.org> References: <20120705183345.ee84ec1048a19aa1c7129578@canb.auug.org.au> <20120705094348.GA5805@bubble.grove.modra.org> <20120706102151.fd4f769cf2aa3f753ad178bf@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:64910 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094Ab2GFA5R (ORCPT ); Thu, 5 Jul 2012 20:57:17 -0400 Content-Disposition: inline In-Reply-To: <20120706102151.fd4f769cf2aa3f753ad178bf@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, tony@bakeyournoodle.com On Fri, Jul 06, 2012 at 10:21:51AM +1000, Stephen Rothwell wrote: > which have now been fixed. So would a simple patch that puts the > _savegpr etc functions in their own section (defined how?) fix this for > us? Ah, the kernel provides its own save/restore functions, and these get mashed into a .text containing normal functions with toc references by ld -r. Well, you could stop using ld -r. Otherwise, try .section ".text.save.restore","ax",@progbits -- Alan Modra Australia Development Lab, IBM