Re: [PATCH] [POWERPC] Fix link errors for allyesconfig

2007-11-16 Thread David Miller
From: David Miller <[EMAIL PROTECTED]> Date: Thu, 15 Nov 2007 22:23:13 -0800 (PST) > There has to be a nicer way to do this. In fact I think I > just figured out one such technique. > > The whole reason we need these .fixup sections is to encode > a move of -EFAULT into some register, and a cont

Re: [PATCH] [POWERPC] Fix link errors for allyesconfig

2007-11-15 Thread David Miller
From: Stephen Rothwell <[EMAIL PROTECTED]> Date: Sun, 4 Nov 2007 13:28:39 +1100 > Dave, would something like this help as an alternative to the .fixup > change you committed recently? I tried it, doesn't help: kernel/built-in.o: In function `context_switch': /home/davem/src/GIT/sparc-2.6/kernel/

Re: [PATCH] [POWERPC] Fix link errors for allyesconfig

2007-11-03 Thread David Miller
From: Stephen Rothwell <[EMAIL PROTECTED]> Date: Sun, 4 Nov 2007 13:28:39 +1100 > An allyesconfig build creates a .text section that is so big that the > .text.init.refok and .fixup sections are too far away for the relocations > to be fixed up correctly. This patch fixes that by linking all the >

[PATCH] [POWERPC] Fix link errors for allyesconfig

2007-11-03 Thread Stephen Rothwell
An allyesconfig build creates a .text section that is so big that the .text.init.refok and .fixup sections are too far away for the relocations to be fixed up correctly. This patch fixes that by linking all the relevent text sections for each file together. Suggested by Paul Mackerras. Signed-off