]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fix iSeries build for gcc-3.4
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 29 Aug 2005 08:26:01 +0000 (18:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 30 Aug 2005 03:08:53 +0000 (13:08 +1000)
commit28ff0f8dc2698f8408a7b2107f2f35dcbf34293c
treefe4b4940e5673a658d9bd07feebc3ba596f9d225
parent973b388fd4da1c8032a120679d7c3b30150ae6f1
[PATCH] fix iSeries build for gcc-3.4

gcc 3.4 (at least the build we are using) puts the gcc generated .ident
string into a .note section at the end of the files it compiles (gcc
3.3.3-hammer and gcc 4.0.2 Debian puts it in the .text section).  This
means that the lparmap.s file we produce in the iSeries build may end with
a .note section.  When we include it into head.S, the assembler can no
longer resolve some of the conditional branches since the target label
ends up too far away.  This patch just forces us back to the .text section
after including lparmap.s.

The breakage was caused by my patch "iSeries build with newer assemblers
and compilers" (sha1-id: 6fb1b78a08dc7b32075f4f21e654ca5c0c12842d).

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/head.S