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

2010-06-30 Thread Stephen Rothwell
Just whitelist these extra compiler generated symbols. Fixes these errors: Error: External symbol '_restgpr0_14' referenced from prom_init.c Error: External symbol '_restgpr0_20' referenced from prom_init.c Error: External symbol '_restgpr0_22' referenced from prom_init.c Error: External symbol

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

2010-06-30 Thread Segher Boessenkool
Just whitelist these extra compiler generated symbols. Fixes these errors: [...] I've used an identical patch for almost a year now, so... Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Acked-by: Segher Boessenkool seg...@kernel.crashing.org You probably also need something similar

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

2010-06-30 Thread Stephen Rothwell
Hi Segher, On Thu, 1 Jul 2010 00:16:40 +0200 Segher Boessenkool seg...@kernel.crashing.org wrote: I've used an identical patch for almost a year now, so... Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Acked-by: Segher Boessenkool seg...@kernel.crashing.org Thanks. You probably

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

2010-06-30 Thread Segher Boessenkool
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

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

2010-06-30 Thread Stephen Rothwell
On Thu, 1 Jul 2010 00:50:36 +0200 Segher Boessenkool seg...@kernel.crashing.org wrote: 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

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

2010-06-30 Thread Segher Boessenkool
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,