From: Stephen Rothwell Date: Wed, 7 Nov 2007 05:13:29 +0000 (+1100) Subject: [POWERPC] Stop the TOC overflowing for large builds X-Git-Tag: v2.6.25-rc1~1131^2~231 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08a644ecef9383b109b763f5087265fd1759875f;p=pandora-kernel.git [POWERPC] Stop the TOC overflowing for large builds We were using -mno-minimal-toc on everything in arch/powerpc/kernel, which means that all the functions in there were putting all their TOC entries in the top-level TOC, and it was overflowing on an allyesconfig build. For various reasons, prom_init.c does need -mno-minimal-toc, but the other .c files in there can use sub-TOCs quite happily. This change is sufficient for now to stop the TOC overflowing; other directories under arch/powerpc also use -mno-minimal-toc and could also be changed later if necessary. Lmbench runs with and without this patch showed no significant speed differences. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed