linux-next: build failure after merge of the final tree

Alan Modra amodra at gmail.com
Fri Jul 6 10:57:10 EST 2012


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", at progbits

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Linuxppc-dev mailing list