[rtems commit] bsps/arm: Delete obsolete compiler flags

Sebastian Huber sebh at rtems.org
Fri Sep 12 06:14:48 UTC 2014


Module:    rtems
Branch:    master
Commit:    74493f053ebbad2a0248458481488cfbc7a89f5c
Changeset: http://git.rtems.org/rtems/commit/?id=74493f053ebbad2a0248458481488cfbc7a89f5c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 11 15:05:02 2014 +0200

bsps/arm: Delete obsolete compiler flags

These flags are obsolete with the EABI based ARM tool chain.

---

 c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg |    2 +-
 c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg |    2 +-
 .../lib/libbsp/arm/edb7312/make/custom/edb7312.cfg |    2 +-
 c/src/lib/libbsp/arm/gba/make/custom/gba.cfg       |    3 +--
 .../arm/gdbarmsim/make/custom/arm1136jfs.cfg       |    1 -
 .../libbsp/arm/gdbarmsim/make/custom/arm920.cfg    |    3 +--
 c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg     |    2 +-
 .../lib/libbsp/arm/gumstix/make/custom/gumstix.cfg |    2 +-
 c/src/lib/libbsp/arm/nds/make/custom/nds.cfg       |    3 +--
 .../lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg |    2 +-
 .../libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg   |    3 +--
 .../libbsp/arm/smdk2410/make/custom/smdk2410.cfg   |    2 +-
 12 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg b/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg
index 5375948..3693770 100644
--- a/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg
+++ b/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU_MODEL=mc9328mxl
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm920 -mfpu=vfp -mfloat-abi=soft
+CPU_CFLAGS = -mcpu=arm920
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg b/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg
index 7575a83..29dfaf7 100644
--- a/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg
+++ b/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU_MODEL=at91rm9200
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm920 -mfpu=vfp -mfloat-abi=soft
+CPU_CFLAGS = -mcpu=arm920
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g 
diff --git a/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg b/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg
index b2290ea..bc596aa 100644
--- a/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg
+++ b/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg
@@ -10,7 +10,7 @@ RTEMS_CPU_MODEL=arm7tdmi
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
 #
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
+CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL)
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg b/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg
index 1ae2fb8..71ed375 100644
--- a/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg
+++ b/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg
@@ -10,8 +10,7 @@ RTEMS_CPU_MODEL=arm7tdmi
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
 #
-#CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mthumb -mthumb-interwork -msoft-float -mstructure-size-boundary=8
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
+CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL)
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm1136jfs.cfg b/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm1136jfs.cfg
index f5afd61..efa7a9e 100644
--- a/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm1136jfs.cfg
+++ b/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm1136jfs.cfg
@@ -9,7 +9,6 @@ RTEMS_CPU_MODEL=arm1136
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
-# CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8 
 CPU_CFLAGS = -mcpu=arm1136jf-s
 
 # optimize flag: typically -O2
diff --git a/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg b/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg
index 297f7ee..8d30b17 100644
--- a/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg
+++ b/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg
@@ -9,8 +9,7 @@ RTEMS_CPU_MODEL=arm920
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
-# CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8 
-CPU_CFLAGS = -mcpu=arm920 -mfloat-abi=soft -mfpu=vfp
+CPU_CFLAGS = -mcpu=arm920
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg b/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg
index a558362..be48c0d 100644
--- a/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg
+++ b/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg
@@ -10,7 +10,7 @@ RTEMS_CPU_MODEL=s3c2400
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
 #
-CPU_CFLAGS = -mstructure-size-boundary=32 -mcpu=arm920t -mfpu=vfp -mfloat-abi=soft -DCPU_S3C2400
+CPU_CFLAGS = -mcpu=arm920t -DCPU_S3C2400
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg b/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg
index 8ce8e9a..fafcbd5 100644
--- a/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg
+++ b/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU_MODEL=pxa255
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=xscale -mfpu=vfp -mfloat-abi=soft
+CPU_CFLAGS = -mcpu=xscale
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g 
diff --git a/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg b/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg
index 78172e6..76cde26 100644
--- a/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg
+++ b/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg
@@ -10,8 +10,7 @@ RTEMS_CPU_MODEL=arm9tdmi
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
 #
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
-CPU_CFLAGS += -mthumb-interwork ## -D __THUMB_INTERWORK__ -mthumb
+CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL)
 
 # optimize flag: typically -O2
 #CFLAGS_OPTIMIZE_V = -O0 -ggdb
diff --git a/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg b/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
index 2f89f01..7ab08a7 100644
--- a/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
+++ b/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
@@ -10,7 +10,7 @@ RTEMS_CPU_MODEL=lpc22xx
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
 #
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft -mapcs-frame
+CPU_CFLAGS = -mcpu=arm7tdmi
 
 # optimize flag: typically -0, could use -O4 or -fast
 # -O4 is ok for RTEMS
diff --git a/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg b/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
index 1bd44ec..9f26043 100644
--- a/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
+++ b/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
@@ -8,8 +8,7 @@
 
 include $(RTEMS_ROOT)/make/custom/rtl22xx.cfg
 
-CPU_CFLAGS +=  -mthumb \
-	-fno-schedule-insns2
+CPU_CFLAGS += -mthumb
 
 #CFLAG: -mthumb-interwork can add veneer between ARM and Thumb code. 
 #CPU_CFLAGS += -mthumb-interwork -D __THUMB_INTERWORK__ -mthumb
diff --git a/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg b/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg
index c70856b..874c5ad 100644
--- a/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg
+++ b/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU_MODEL=s3c2410
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
-CPU_CFLAGS = -mstructure-size-boundary=32 -mcpu=arm920t -mfpu=vfp -mfloat-abi=soft -DCPU_S3C2410
+CPU_CFLAGS = -mcpu=arm920t -DCPU_S3C2410
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g



More information about the vc mailing list