[RFC patch 1/9] CRIS remove -traditional

From: Mathieu Desnoyers
Date: Tue Apr 22 2008 - 13:31:01 EST


Subject: [RFC patch 1/9] Re: [PATCH] Stringify support commas
> This is a no-no for those archs that still use -traditional.
> > I dunno if this is a problem for you at the moment and the
> > right fix is anyway to nuke -traditional.
> >
> > Sam

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
CC: Sam Ravnborg <sam@xxxxxxxxxxxx>
CC: starvik@xxxxxxxx
CC: jesper.nilsson@xxxxxxxx
CC: dev-etrax@xxxxxxxx
---
arch/cris/arch-v10/boot/compressed/Makefile | 2 +-
arch/cris/arch-v10/boot/rescue/Makefile | 1 -
arch/cris/arch-v10/lib/Makefile | 3 ---
3 files changed, 1 insertion(+), 5 deletions(-)

Index: linux-2.6-lttng/arch/cris/arch-v10/boot/compressed/Makefile
===================================================================
--- linux-2.6-lttng.orig/arch/cris/arch-v10/boot/compressed/Makefile 2008-04-21 09:54:08.000000000 -0400
+++ linux-2.6-lttng/arch/cris/arch-v10/boot/compressed/Makefile 2008-04-21 09:54:22.000000000 -0400
@@ -22,7 +22,7 @@ $(obj)/decompress.bin: $(obj)/decompress
$(call if_changed,objcopy)

$(obj)/head.o: $(obj)/head.S .config
- @$(CC) -D__ASSEMBLY__ -traditional -c $< -o $@
+ @$(CC) -D__ASSEMBLY__ -c $< -o $@

$(obj)/misc.o: $(obj)/misc.c .config
@$(CC) -D__KERNEL__ -c $< -o $@
Index: linux-2.6-lttng/arch/cris/arch-v10/boot/rescue/Makefile
===================================================================
--- linux-2.6-lttng.orig/arch/cris/arch-v10/boot/rescue/Makefile 2008-04-21 09:54:29.000000000 -0400
+++ linux-2.6-lttng/arch/cris/arch-v10/boot/rescue/Makefile 2008-04-21 09:54:38.000000000 -0400
@@ -4,7 +4,6 @@

CC = gcc-cris -mlinux $(LINUXINCLUDE)
ccflags-y += -O2
-asflags-y += -traditional
LD = gcc-cris -mlinux -nostdlib
ldflags-y += -T $(obj)/rescue.ld
OBJCOPY = objcopy-cris
Index: linux-2.6-lttng/arch/cris/arch-v10/lib/Makefile
===================================================================
--- linux-2.6-lttng.orig/arch/cris/arch-v10/lib/Makefile 2008-04-21 09:54:44.000000000 -0400
+++ linux-2.6-lttng/arch/cris/arch-v10/lib/Makefile 2008-04-21 09:54:53.000000000 -0400
@@ -2,8 +2,5 @@
# Makefile for Etrax-specific library files..
#

-
-EXTRA_AFLAGS := -traditional
-
lib-y = checksum.o checksumcopy.o string.o usercopy.o memset.o csumcpfruser.o


--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/