diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Makefile | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 187a39af3e1c..6c1e36c33faa 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -201,6 +201,14 @@ checkbin: | |||
201 | false; \ | 201 | false; \ |
202 | fi ; \ | 202 | fi ; \ |
203 | fi | 203 | fi |
204 | @if test "$(call cc-fullversion)" = "040200" \ | ||
205 | && test "x${CONFIG_MODULES}${CONFIG_PPC64}" = "xyy" ; then \ | ||
206 | echo -n '*** GCC-4.2.0 cannot compile the 64-bit powerpc ' ; \ | ||
207 | echo 'kernel with modules enabled.' ; \ | ||
208 | echo -n '*** Please use a different GCC version or ' ; \ | ||
209 | echo 'disable kernel modules' ; \ | ||
210 | false ; \ | ||
211 | fi | ||
204 | @if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \ | 212 | @if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \ |
205 | echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \ | 213 | echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \ |
206 | echo 'correctly with old versions of binutils.' ; \ | 214 | echo 'correctly with old versions of binutils.' ; \ |
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 7a1f5a0964de..0c458556399f 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -177,7 +177,9 @@ SECTIONS | |||
177 | } | 177 | } |
178 | #else | 178 | #else |
179 | .data : { | 179 | .data : { |
180 | *(.data .data.rel* .toc1) | 180 | DATA_DATA |
181 | *(.data.rel*) | ||
182 | *(.toc1) | ||
181 | *(.branch_lt) | 183 | *(.branch_lt) |
182 | } | 184 | } |
183 | 185 | ||