Re: [PATCH] powerpc: fix compile errors in prom_init_check for gcc 4.5
From: Stephen Rothwell <hidden>
Date: 2010-06-30 23:05:51
Attachments
- (unnamed) [application/pgp-signature] 490 bytes
From: Stephen Rothwell <hidden>
Date: 2010-06-30 23:05:51
On Thu, 1 Jul 2010 00:50:36 +0200 Segher Boessenkool [off-list ref] wrote:
quoted
quoted
You probably also need something similar to http://git.infradead.org/ users/segher/linux.git/commitdiff/ 98194f54cc8e19ecd752bc10e2d19ef94074f502 (note: only build-tested, not run-tested).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. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/