[PATCH] powerpc: fix compile errors in prom_init_check for gcc 4.5

Segher Boessenkool segher at kernel.crashing.org
Thu Jul 1 12:46:26 EST 2010

>>> See http://patchwork.ozlabs.org/patch/57379/ submitted yesterday.
>> Yeah saw that right after I hit "send" :-)  Either it's way more
>> complete than what I did, or way more complex because we still
>> don't link with libgcc :-P
> Actually, the 64bit versions of the routines are supplied by the  
> linker,
> so the vmlinux links fine.  But for modules, the final link is  
> actually
> done by the kernel module loader, thus we need to provide those  
> routines
> in this case.  linking against libgcc would not have helped.

Right, so "more complete" it is :-)

I now checked that patch in detail, and it looks good to me.  Thank
you for tackling this!


More information about the Linuxppc-dev mailing list