[PATCH 1/3] kexec-tools: powerpc: Fix 64bit optimize for size (gcc -Os) build

Alan Modra amodra at gmail.com
Mon Nov 14 17:14:02 EST 2011


On Mon, Nov 14, 2011 at 06:53:29PM +1100, Anton Blanchard wrote:
> 
> commit 46b2d0b8a719 (kexec/powerpc fix optimization for size (gcc -Os)
> build) added out of line GPR save/restore handlers for 32bit -Os
> builds. This patch adds the handlers for 64bit builds.

The linker is supposed to add these functions magically on final link
for powerpc64.  Um, I suppose you're doing something horrible with
kexec, ld -r instead of normal final link at a guess?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the kexec mailing list