On 11/30/2011 02:21 PM, Benjamin Herrenschmidt wrote: > On Wed, 2011-11-30 at 06:45 -0500, Josh Boyer wrote: >> On Wed, Nov 30, 2011 at 12:48 AM, Benjamin Herrenschmidt >> <b...@kernel.crashing.org> wrote: >>> On Wed, 2011-11-30 at 16:23 +1100, Tony Breeds wrote: >>>> Code copied from arch/powerpc/kernel/misc_32.S >>>> >>>> Signed-off-by: Tony Breeds <t...@bakeyournoodle.com> >>>> --- >>>> arch/powerpc/boot/div64.S | 52 >>>> +++++++++++++++++++++++++++++++++++++++++++++ >>>> 1 files changed, 52 insertions(+), 0 deletions(-) >>> >>> Should we just link with libgcc ? :-) >> >> Please tell me you're joking. > > Only half... I wonder what it would look like. Wouldn't ld only pickup > what we use anyway ?
We do it in U-Boot... Only problem I see is that it would need to be built as soft-float, and apparently that isn't supported by gcc on 64-bit ppc. Unfortunately there's isn't a "no float" mode. -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev