Mercurial > ecos
changeset 2752:b3aec2531be4
Update compiler flags
line wrap: on
line diff
--- a/packages/hal/sh/cq7708/current/ChangeLog +++ b/packages/hal/sh/cq7708/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh7708_cq7708.cdl: update compiler flags for gcc 4.x + 2003-01-19 Bart Veer <bartv@ecoscentric.com> * include/platform.inc: avoid warnings with binutils 2.13.1
--- a/packages/hal/sh/cq7708/current/cdl/hal_sh_sh7708_cq7708.cdl +++ b/packages/hal/sh/cq7708/current/cdl/hal_sh_sh7708_cq7708.cdl @@ -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."
--- a/packages/hal/sh/cq7750/current/ChangeLog +++ b/packages/hal/sh/cq7750/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh7750_cq7750.cdl: update compiler flags for gcc 4.x + 2003-09-21 Gary Thomas <gary@mlbassoc.com> * misc/redboot_RAM.ecm:
--- a/packages/hal/sh/cq7750/current/cdl/hal_sh_sh7750_cq7750.cdl +++ b/packages/hal/sh/cq7750/current/cdl/hal_sh_sh7750_cq7750.cdl @@ -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."
--- a/packages/hal/sh/dreamcast/current/ChangeLog +++ b/packages/hal/sh/dreamcast/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh7750_dreamcast.cdl: update compiler flags for gcc 4.x + 2005-12-02 Andrew Lunn <andrew.lunn@ascom.ch> * cdl/hal_sh_sh7750_dreamcast.cdl: Fix the require statements so
--- a/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl +++ b/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl @@ -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
--- a/packages/hal/sh/edk7708/current/ChangeLog +++ b/packages/hal/sh/edk7708/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_edk7708.cdl: update compiler flags for gcc 4.x + 2003-01-19 Bart Veer <bartv@ecoscentric.com> * include/platform.inc (BSC_settings_table):
--- a/packages/hal/sh/edk7708/current/cdl/hal_sh_edk7708.cdl +++ b/packages/hal/sh/edk7708/current/cdl/hal_sh_edk7708.cdl @@ -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."
--- a/packages/hal/sh/hs7729pci/current/ChangeLog +++ b/packages/hal/sh/hs7729pci/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh7729_hs7729pci.cdl: update compiler flags for gcc 4.x + 2002-08-06 Gary Thomas <gary@chez-thomas.org> 2002-08-06 Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
--- a/packages/hal/sh/hs7729pci/current/cdl/hal_sh_sh7729_hs7729pci.cdl +++ b/packages/hal/sh/hs7729pci/current/cdl/hal_sh_sh7729_hs7729pci.cdl @@ -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."
--- a/packages/hal/sh/se7751/current/ChangeLog +++ b/packages/hal/sh/se7751/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh7751_se7751.cdl: update compiler flags for gcc 4.x + 2002-08-06 Gary Thomas <gary@chez-thomas.org> 2002-08-06 Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
--- a/packages/hal/sh/se7751/current/cdl/hal_sh_sh7751_se7751.cdl +++ b/packages/hal/sh/se7751/current/cdl/hal_sh_sh7751_se7751.cdl @@ -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."
--- a/packages/hal/sh/se77x9/current/ChangeLog +++ b/packages/hal/sh/se77x9/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh77x9_se77x9.cdl: update compiler flags for gcc 4.x + 2003-09-21 Gary Thomas <gary@mlbassoc.com> * misc/redboot_SE7709RP01_RAM.ecm:
--- a/packages/hal/sh/se77x9/current/cdl/hal_sh_sh77x9_se77x9.cdl +++ b/packages/hal/sh/se77x9/current/cdl/hal_sh_sh77x9_se77x9.cdl @@ -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."
--- a/packages/hal/sh/sh4_202_md/current/ChangeLog +++ b/packages/hal/sh/sh4_202_md/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal_sh_sh4_202_md.cdl: update compiler flags for gcc 4.x + 2008-12-30 John Dallaway <john@dallaway.org.uk> * cdl/hal_sh_sh4_202_md.cdl: Reference per-package documentation.
--- a/packages/hal/sh/sh4_202_md/current/cdl/hal_sh_sh4_202_md.cdl +++ b/packages/hal/sh/sh4_202_md/current/cdl/hal_sh_sh4_202_md.cdl @@ -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."
