patches/linux/2.4.26/linux-2.4.26-allow-gcc-3.4-arm-kernel.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 01 16:49:15 2007 +0000 (2007-05-01)
changeset 56 07a6a48962b7
permissions -rw-r--r--
Merge patches sent by Robert P. J. Day <rpjday@mindspring.com>.
Warning: the buildroot folks purposedly removed the skip-comment patch but didn't really said why. Keeping it for the sake of having it in svn just in case (removing it will be easier thant not having it at all).
yann@1
     1
Fixes
yann@1
     2
semaphore.c:180:5: missing terminating " character
yann@1
     3
semaphore.c:213:9: missing terminating " character
yann@1
     4
make[1]: *** [semaphore.o] Error 1
yann@1
     5
make[1]: Leaving directory `/home/dank/queue/jobdir.fast/crosstool-dev/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.2.5/linux-2.4.26/arch/arm/kernel'
yann@1
     6
make: *** [_dir_arch/arm/kernel] Error 2
yann@1
     7
yann@1
     8
when building kernel.org 2.4.26 for arm with gcc-3.3.x
yann@1
     9
(Note: one probably wants to apply ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.26-vrs1.bz2
yann@1
    10
instead of my patches when really building 2.4.26 for arm;
yann@1
    11
my patches only include the bare minimum to get the vanilla kernel to compile.)
yann@1
    12
yann@1
    13
--- linux-2.4.26/arch/arm/kernel/semaphore.c.old	Mon Mar 21 06:50:38 2005
yann@1
    14
+++ linux-2.4.26/arch/arm/kernel/semaphore.c	Mon Mar 21 06:50:55 2005
yann@1
    15
@@ -193,7 +193,7 @@
yann@1
    16
 	bl	__down_interruptible		\n\
yann@1
    17
 	mov	ip, r0				\n\
yann@1
    18
 	ldmfd	sp!, {r0 - r3, pc}^		\n\
yann@1
    19
-
yann@1
    20
+						\n\
yann@1
    21
 	.align	5				\n\
yann@1
    22
 	.globl	__down_trylock_failed		\n\
yann@1
    23
 __down_trylock_failed:				\n\