Re: [PATCH 4/6] powerpc/boot: Add extended precision shifts to the boot wrapper.
From: Tony Breeds <hidden>
Date: 2011-11-30 23:25:15
Attachments
- (unnamed) [application/pgp-signature] 836 bytes
From: Tony Breeds <hidden>
Date: 2011-11-30 23:25:15
On Wed, Nov 30, 2011 at 06:45:37AM -0500, Josh Boyer wrote:
However, adding this code and wonderful and all but why do we need to add it? Changelog should say why.
Okay changelog updated to:
powerpc/boot: Add extended precision shifts to the boot wrapper.
The upcoming currituck patches will need to do 64-bit shifts which will
fail with undefined symbol without this patch.
I looked at linking against libgcc but we can't guarantee that libgcc
was compiled with soft-float. Also Using ../lib/div64.S or
../kernel/misc_32.S, this will break the build as the .o's need to be
built with different flags for the bootwrapper vs the kernel. So for
now the easiest option is to just copy code from
arch/powerpc/kernel/misc_32.S I don't think this code changes too often ;P
Yours Tony