From: Segher Boessenkool Date: Fri, 25 Jul 2008 00:08:41 +0000 (+1000) Subject: powerpc: Fix compile error with binutils 2.15 X-Git-Tag: v2.6.27-rc1~222^2~19 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=80c60bf9b96f6108c630d90efc073cd520801e6c;p=~shefty%2Frdma-dev.git powerpc: Fix compile error with binutils 2.15 My previous patch to fix compilation with binutils-2.17 causes a "file truncated" build error from ld with binutils 2.15 (and possibly older), and a warning with 2.16 and 2.17. This fixes it. Signed-off-by: Segher Boessenkool Acked-by: Chuck Meade Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index a914411bced..4a8ce62fe11 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -85,7 +85,7 @@ SECTIONS /* The dummy segment contents for the bug workaround mentioned above near PHDRS. */ - .dummy : { + .dummy : AT(ADDR(.dummy) - LOAD_OFFSET) { LONG(0xf177) } :kernel :dummy