From: Kumar Gala Date: Thu, 12 Jun 2008 21:19:06 +0000 (+1000) Subject: [POWERPC] Fix bootwrapper builds with newer gcc versions X-Git-Tag: v2.6.26-rc7~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=143580ecfb7999147e546cc3814023e233e95fa5;p=pandora-kernel.git [POWERPC] Fix bootwrapper builds with newer gcc versions GCC 4.4.x looks to be adding support for generating out-of-line register saves/restores based on: http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01678.html This breaks the bootwrapper as we'd need to link with libgcc to get the implementation of the register save/restores. To workaround this issue, we just stole the save/restore code from gcc and simplified it down for our needs (integer only). Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed