ppc: Remove -fno-strict-aliasing
PATCH 1/2 ppc: Remove -fno-strict-aliasing
-fno-strict-aliasing is hidding warnings.
Signed-off-by Kumar Gala <[email protected]>
--- board/tqc/tqm5200/Makefile | 2 +- cpu/74xx_7xx/config.mk | 2 +- cpu/mpc824x/config.mk | 2 +- cpu/mpc8xx/config.mk | 2 +- cpu/ppc4xx/config.mk | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
board/tqc/tqm5200/Makefile +1 -1
@@ -41,7 +41,7 @@ distclean: clean rm -f $(LIB) core *.bak $(obj).depend cam5200_flash.o: cam5200_flash.c - $(CC) $(CFLAGS) -fno-strict-aliasing -c -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $< #########################################################################
cpu/74xx_7xx/config.mk +1 -1
@@ -21,6 +21,6 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing +PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi PLATFORM_CPPFLAGS += -DCONFIG_74xx_7xx -ffixed-r2 -mstring
cpu/mpc824x/config.mk +1 -1
@@ -21,7 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing +PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi PLATFORM_CPPFLAGS += -DCONFIG_MPC824X -ffixed-r2 -mstring -mcpu=603e -msoft-float
cpu/mpc8xx/config.mk +1 -1
@@ -21,6 +21,6 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing +PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi PLATFORM_CPPFLAGS += -DCONFIG_8xx -ffixed-r2 -mstring -mcpu=860 -msoft-float
cpu/ppc4xx/config.mk +1 -1
@@ -21,7 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing +PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
Signature · 1 line
1.6.0.6
PATCH 2/2 arm: Remove -fno-strict-aliasing
-fno-strict-aliasing is hidding warnings.
Signed-off-by Kumar Gala <[email protected]>
--- cpu/arm1136/config.mk | 3 +-- cpu/arm1176/config.mk | 3 +-- cpu/arm1176/s3c64xx/config.mk | 3 +-- cpu/arm720t/config.mk | 3 +-- cpu/arm920t/config.mk | 3 +-- cpu/arm925t/config.mk | 3 +-- cpu/arm926ejs/config.mk | 3 +-- cpu/arm926ejs/davinci/config.mk | 3 +-- cpu/arm946es/config.mk | 3 +-- cpu/arm_cortexa8/config.mk | 3 +-- cpu/arm_intcm/config.mk | 3 +-- cpu/ixp/config.mk | 3 +-- cpu/lh7a40x/config.mk | 3 +-- cpu/pxa/config.mk | 3 +-- cpu/s3c44b0/config.mk | 3 +-- cpu/sa1100/config.mk | 3 +-- 16 files changed, 16 insertions(+), 32 deletions(-)
cpu/arm1136/config.mk +1 -2
@@ -20,8 +20,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float # Make ARMv5 to allow more compilers to work, even though its v6. PLATFORM_CPPFLAGS += -march=armv5
cpu/arm1176/config.mk +1 -2
@@ -20,8 +20,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float # Make ARMv5 to allow more compilers to work, even though its v6. PLATFORM_CPPFLAGS += -march=armv5t
cpu/arm1176/s3c64xx/config.mk +1 -2
@@ -20,8 +20,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float # Make ARMv5 to allow more compilers to work, even though its v6. PLATFORM_CPPFLAGS += -march=armv5t
cpu/arm720t/config.mk +1 -2
@@ -22,8 +22,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 -mtune=arm7tdmi # =========================================================================
cpu/arm920t/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 # =========================================================================
cpu/arm925t/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 # =========================================================================
cpu/arm926ejs/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv5te # =========================================================================
cpu/arm926ejs/davinci/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv5te # =========================================================================
cpu/arm946es/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 # =========================================================================
cpu/arm_cortexa8/config.mk +1 -2
@@ -20,8 +20,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float # Make ARMv5 to allow more compilers to work, even though its v7a. PLATFORM_CPPFLAGS += -march=armv5
cpu/arm_intcm/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 # =========================================================================
cpu/ixp/config.mk +1 -2
@@ -24,8 +24,7 @@ BIG_ENDIAN = y -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float -mbig-endian +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float -mbig-endian PLATFORM_CPPFLAGS += -mbig-endian -march=armv5te -mtune=strongarm1100 # =========================================================================
cpu/lh7a40x/config.mk +1 -2
@@ -21,8 +21,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 # =========================================================================
cpu/pxa/config.mk +1 -2
@@ -22,8 +22,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv5te -mtune=xscale # =========================================================================
cpu/s3c44b0/config.mk +1 -2
@@ -22,8 +22,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 -mtune=arm7tdmi -msoft-float # =========================================================================
cpu/sa1100/config.mk +1 -2
@@ -22,8 +22,7 @@ # MA 02111-1307 USA # -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ - -msoft-float +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float PLATFORM_CPPFLAGS += -march=armv4 -mtune=strongarm1100 # =========================================================================
Signature · 1 line
1.6.0.6
Wolfgang Denk
AppliedPATCH 2/2 arm: Remove -fno-strict-aliasing
Dear Kumar Gala,
Quoted 13 lines · In message <[email protected]> you…
-fno-strict-aliasing is hidding warnings.
Signed-off-by Kumar Gala <[email protected]>--- cpu/arm1136/config.mk | 3 +-- cpu/arm1176/config.mk | 3 +-- cpu/arm1176/s3c64xx/config.mk | 3 +-- cpu/arm720t/config.mk | 3 +-- cpu/arm920t/config.mk | 3 +-- cpu/arm925t/config.mk | 3 +-- cpu/arm926ejs/config.mk | 3 +-- cpu/arm926ejs/davinci/config.mk | 3 +-- cpu/arm946es/config.mk | 3 +--
Quoted 8 lines
cpu/arm_cortexa8/config.mk | 3 +-- cpu/arm_intcm/config.mk | 3 +-- cpu/ixp/config.mk | 3 +-- cpu/lh7a40x/config.mk | 3 +-- cpu/pxa/config.mk | 3 +-- cpu/s3c44b0/config.mk | 3 +-- cpu/sa1100/config.mk | 3 +-- 16 files changed, 16 insertions(+), 32 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ninety-Ninety Rule of Project Schedules:
The first ninety percent of the task takes ninety percent of
the time, and the last ten percent takes the other ninety percent.Wolfgang Denk
AppliedPATCH 1/2 ppc: Remove -fno-strict-aliasing
In reply to Kumar GalaDear Kumar Gala,
Quoted 10 lines · In message <[email protected]> you…
-fno-strict-aliasing is hidding warnings.
Signed-off-by Kumar Gala <[email protected]>--- board/tqc/tqm5200/Makefile | 2 +- cpu/74xx_7xx/config.mk | 2 +- cpu/mpc824x/config.mk | 2 +- cpu/mpc8xx/config.mk | 2 +- cpu/ppc4xx/config.mk | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Suffocating together ... would create heroic camaraderie. -- Khan Noonian Singh, "Space Seed", stardate 3142.8