From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10414 invoked by alias); 3 Feb 2009 21:10:44 -0000 Received: (qmail 10404 invoked by uid 22791); 3 Feb 2009 21:10:42 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Feb 2009 21:10:35 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id B3DB560B801B for ; Tue, 3 Feb 2009 21:10:32 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XbH3LY91YjzX; Tue, 3 Feb 2009 21:10:30 +0000 (GMT) Date: Tue, 03 Feb 2009 21:10:00 -0000 Message-Id: From: Bart Veer To: ecos-patches@sourceware.org Subject: update SH compiler flags Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2009-02/txt/msg00022.txt.bz2 Index: cq7708/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/cq7708/current/ChangeLog,v retrieving revision 1.18 diff -u -p -r1.18 ChangeLog --- cq7708/current/ChangeLog 29 Jan 2009 17:49:38 -0000 1.18 +++ cq7708/current/ChangeLog 3 Feb 2009 21:09:14 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh7708_cq7708.cdl: update compiler flags for gcc 4.x + 2003-01-19 Bart Veer * include/platform.inc: avoid warnings with binutils 2.13.1 Index: cq7708/current/cdl/hal_sh_sh7708_cq7708.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/cq7708/current/cdl/hal_sh_sh7708_cq7708.cdl,v retrieving revision 1.11 diff -u -p -r1.11 hal_sh_sh7708_cq7708.cdl --- cq7708/current/cdl/hal_sh_sh7708_cq7708.cdl 29 Jan 2009 17:49:38 -0000 1.11 +++ cq7708/current/cdl/hal_sh_sh7708_cq7708.cdl 3 Feb 2009 21:09:14 -0000 @@ -215,7 +215,10 @@ cdl_package CYGPKG_HAL_SH_SH7708_CQ7708 display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m3 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " + } description " This option controls the global compiler flags which are used to compile all packages by @@ -227,7 +230,7 @@ cdl_package CYGPKG_HAL_SH_SH7708_CQ7708 display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-m3") . " -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." Index: cq7750/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/cq7750/current/ChangeLog,v retrieving revision 1.15 diff -u -p -r1.15 ChangeLog --- cq7750/current/ChangeLog 29 Jan 2009 17:49:38 -0000 1.15 +++ cq7750/current/ChangeLog 3 Feb 2009 21:09:15 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh7750_cq7750.cdl: update compiler flags for gcc 4.x + 2003-09-21 Gary Thomas * misc/redboot_RAM.ecm: Index: cq7750/current/cdl/hal_sh_sh7750_cq7750.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/cq7750/current/cdl/hal_sh_sh7750_cq7750.cdl,v retrieving revision 1.10 diff -u -p -r1.10 hal_sh_sh7750_cq7750.cdl --- cq7750/current/cdl/hal_sh_sh7750_cq7750.cdl 29 Jan 2009 17:49:39 -0000 1.10 +++ cq7750/current/cdl/hal_sh_sh7750_cq7750.cdl 3 Feb 2009 21:09:16 -0000 @@ -234,7 +234,10 @@ cdl_package CYGPKG_HAL_SH_SH7750_CQ7750 display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m3 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" + } description " This option controls the global compiler flags which are used to compile all packages by @@ -246,7 +249,7 @@ cdl_package CYGPKG_HAL_SH_SH7750_CQ7750 display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . " -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." Index: dreamcast/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/dreamcast/current/ChangeLog,v retrieving revision 1.8 diff -u -p -r1.8 ChangeLog --- dreamcast/current/ChangeLog 29 Jan 2009 17:49:39 -0000 1.8 +++ dreamcast/current/ChangeLog 3 Feb 2009 21:09:16 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh7750_dreamcast.cdl: update compiler flags for gcc 4.x + 2005-12-02 Andrew Lunn * cdl/hal_sh_sh7750_dreamcast.cdl: Fix the require statements so Index: dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl,v retrieving revision 1.8 diff -u -p -r1.8 hal_sh_sh7750_dreamcast.cdl --- dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl 29 Jan 2009 17:49:39 -0000 1.8 +++ dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl 3 Feb 2009 21:09:16 -0000 @@ -243,7 +243,7 @@ cdl_package CYGPKG_HAL_SH_SH7750_DREAMCA display "Global compiler flags" flavor data no_define - default_value { "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . "-ml -m3 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " } description " This option controls the global compiler flags which are used to compile all packages by Index: edk7708/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/edk7708/current/ChangeLog,v retrieving revision 1.12 diff -u -p -r1.12 ChangeLog --- edk7708/current/ChangeLog 29 Jan 2009 17:49:39 -0000 1.12 +++ edk7708/current/ChangeLog 3 Feb 2009 21:09:17 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_edk7708.cdl: update compiler flags for gcc 4.x + 2003-01-19 Bart Veer * include/platform.inc (BSC_settings_table): Index: edk7708/current/cdl/hal_sh_edk7708.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/edk7708/current/cdl/hal_sh_edk7708.cdl,v retrieving revision 1.7 diff -u -p -r1.7 hal_sh_edk7708.cdl --- edk7708/current/cdl/hal_sh_edk7708.cdl 29 Jan 2009 17:49:39 -0000 1.7 +++ edk7708/current/cdl/hal_sh_edk7708.cdl 3 Feb 2009 21:09:17 -0000 @@ -217,7 +217,10 @@ cdl_package CYGPKG_HAL_SH_EDK7708 { display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m3 -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" + } description " This option controls the global compiler flags which are used to compile all packages by @@ -229,7 +232,7 @@ cdl_package CYGPKG_HAL_SH_EDK7708 { display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . " -m3 -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." Index: hs7729pci/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/hs7729pci/current/ChangeLog,v retrieving revision 1.4 diff -u -p -r1.4 ChangeLog --- hs7729pci/current/ChangeLog 29 Jan 2009 17:49:39 -0000 1.4 +++ hs7729pci/current/ChangeLog 3 Feb 2009 21:09:18 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh7729_hs7729pci.cdl: update compiler flags for gcc 4.x + 2002-08-06 Gary Thomas 2002-08-06 Motoya Kurotsu Index: hs7729pci/current/cdl/hal_sh_sh7729_hs7729pci.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/hs7729pci/current/cdl/hal_sh_sh7729_hs7729pci.cdl,v retrieving revision 1.3 diff -u -p -r1.3 hal_sh_sh7729_hs7729pci.cdl --- hs7729pci/current/cdl/hal_sh_sh7729_hs7729pci.cdl 29 Jan 2009 17:49:39 -0000 1.3 +++ hs7729pci/current/cdl/hal_sh_sh7729_hs7729pci.cdl 3 Feb 2009 21:09:18 -0000 @@ -243,7 +243,10 @@ cdl_package CYGPKG_HAL_SH_SH7729_HS7729P display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m3 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" + } description " This option controls the global compiler flags which are used to compile all packages by @@ -255,7 +258,7 @@ cdl_package CYGPKG_HAL_SH_SH7729_HS7729P display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . " -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." Index: se7751/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/se7751/current/ChangeLog,v retrieving revision 1.4 diff -u -p -r1.4 ChangeLog --- se7751/current/ChangeLog 29 Jan 2009 17:49:39 -0000 1.4 +++ se7751/current/ChangeLog 3 Feb 2009 21:09:18 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh7751_se7751.cdl: update compiler flags for gcc 4.x + 2002-08-06 Gary Thomas 2002-08-06 Motoya Kurotsu Index: se7751/current/cdl/hal_sh_sh7751_se7751.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/se7751/current/cdl/hal_sh_sh7751_se7751.cdl,v retrieving revision 1.3 diff -u -p -r1.3 hal_sh_sh7751_se7751.cdl --- se7751/current/cdl/hal_sh_sh7751_se7751.cdl 29 Jan 2009 17:49:39 -0000 1.3 +++ se7751/current/cdl/hal_sh_sh7751_se7751.cdl 3 Feb 2009 21:09:19 -0000 @@ -264,7 +264,10 @@ cdl_package CYGPKG_HAL_SH_SH7751_SE7751 display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m3 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " + } description " This option controls the global compiler flags which are used to compile all packages by @@ -276,7 +279,7 @@ cdl_package CYGPKG_HAL_SH_SH7751_SE7751 display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . " -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." Index: se77x9/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/se77x9/current/ChangeLog,v retrieving revision 1.5 diff -u -p -r1.5 ChangeLog --- se77x9/current/ChangeLog 29 Jan 2009 17:49:40 -0000 1.5 +++ se77x9/current/ChangeLog 3 Feb 2009 21:09:19 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh77x9_se77x9.cdl: update compiler flags for gcc 4.x + 2003-09-21 Gary Thomas * misc/redboot_SE7709RP01_RAM.ecm: Index: se77x9/current/cdl/hal_sh_sh77x9_se77x9.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/se77x9/current/cdl/hal_sh_sh77x9_se77x9.cdl,v retrieving revision 1.3 diff -u -p -r1.3 hal_sh_sh77x9_se77x9.cdl --- se77x9/current/cdl/hal_sh_sh77x9_se77x9.cdl 29 Jan 2009 17:49:40 -0000 1.3 +++ se77x9/current/cdl/hal_sh_sh77x9_se77x9.cdl 3 Feb 2009 21:09:19 -0000 @@ -324,7 +324,10 @@ cdl_package CYGPKG_HAL_SH_SH77X9_SE77X9 display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m3 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" + } description " This option controls the global compiler flags which are used to compile all packages by @@ -336,7 +339,7 @@ cdl_package CYGPKG_HAL_SH_SH77X9_SE77X9 display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . " -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." Index: sh4_202_md/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/sh4_202_md/current/ChangeLog,v retrieving revision 1.3 diff -u -p -r1.3 ChangeLog --- sh4_202_md/current/ChangeLog 29 Jan 2009 17:49:41 -0000 1.3 +++ sh4_202_md/current/ChangeLog 3 Feb 2009 21:09:20 -0000 @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sh_sh4_202_md.cdl: update compiler flags for gcc 4.x + 2008-12-30 John Dallaway * cdl/hal_sh_sh4_202_md.cdl: Reference per-package documentation. Index: sh4_202_md/current/cdl/hal_sh_sh4_202_md.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/sh/sh4_202_md/current/cdl/hal_sh_sh4_202_md.cdl,v retrieving revision 1.3 diff -u -p -r1.3 hal_sh_sh4_202_md.cdl --- sh4_202_md/current/cdl/hal_sh_sh4_202_md.cdl 29 Jan 2009 17:49:41 -0000 1.3 +++ sh4_202_md/current/cdl/hal_sh_sh4_202_md.cdl 3 Feb 2009 21:09:20 -0000 @@ -262,7 +262,10 @@ cdl_package CYGPKG_HAL_SH_SH4_202_MD { display "Global compiler flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m4 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-ml -m4 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . + (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . + " -m4 -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" + } description " This option controls the global compiler flags which are used to compile all packages by @@ -274,7 +277,7 @@ cdl_package CYGPKG_HAL_SH_SH4_202_MD { display "Global linker flags" flavor data no_define - default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m4 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m4 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } + default_value { (CYGHWR_HAL_SH_BIGENDIAN ? "-mb" : "-ml") . " -m4 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags."