[PATCH 03/18] Set -msoft-float and assembler target options in the bootwrapper.

Segher Boessenkool segher at kernel.crashing.org
Thu Jan 25 08:31:06 EST 2007


> Without -msoft-float, floating point state saving code can be executed
> (at least with certain buggy versions of GCC, which don't clear bit  
> 6 of
> CR before calling a varargs function with no varargs parameters).

I have a hard time understanding what this means.  Can you
elaborate please?

>  AFLAGS += $(cpu-as-y)
>  CFLAGS += $(cpu-as-y)
> +export cpu-as-y

Maybe it would be better to export CFLAGS instead (on the
other hand, you might have to cut out some options from it
for 32-bit compiles, dunno).


Segher




More information about the Linuxppc-dev mailing list