gcc33 creates a zImage which doesnt boot

Alan Modra amodra at bigpond.net.au
Wed Nov 12 09:15:34 EST 2003


On Tue, Nov 11, 2003 at 08:21:17AM -0600, Hollis Blanchard wrote:
>
> On Tuesday, Nov 11, 2003, at 00:59 US/Central, Olaf Hering wrote:
> >
> >I disabled this line in arch/ppc64/Makefile and replaced all tlbiel
> >calls with kdb().
> >
> >#CFLAGS         += -mtune=power4 -Wa,-mpower4
> >
> >This helps.
>
> Yes, Alan already explained that -Wa,-mpower4 is a bad idea because it
> frees the assembler to use power4-specific instructions. The latest
> idea was Anton's patch, which also replaces tlbiel with a .long
> directive (in addition to playing with the compiler flags).

Yeah, but Anton probably wouldn't have done that if he had remembered
that I'd improved ppc gas -many to accept power4 instructions.  I'd
forgotten too.  :)

--
Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list