changeset 1574:033147136958

* src/hal_diag.c fix warning. * cdl/hal_h8300_h8300h_sim.cdl add Linker flags "-mrelax"
author asl
date Tue, 06 Apr 2004 20:40:21 +0000
parents 11fd727a3147
children 46fadd86159e
files packages/hal/h8300/sim/current/ChangeLog packages/hal/h8300/sim/current/cdl/hal_h8300_h8300h_sim.cdl packages/hal/h8300/sim/current/src/hal_diag.c packages/hal/h8300/sim_s/current/ChangeLog packages/hal/h8300/sim_s/current/cdl/hal_h8300_h8s_sim.cdl packages/hal/h8300/sim_s/current/include/plf_intr.h packages/hal/h8300/sim_s/current/src/hal_diag.c
diffstat 7 files changed, 25 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/h8300/sim/current/ChangeLog
+++ b/packages/hal/h8300/sim/current/ChangeLog
@@ -1,3 +1,13 @@
+2004-03-18  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+	* src/hal_diag.c
+	fix warning.
+
+2004-02-24  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+	* cdl/hal_h8300_h8300h_sim.cdl
+	add Linker flags "-mrelax"
+
 2003-07-18  Nick Garnett  <nickg@balti.calivar.com>
 
 	* cdl/hal_h8300_h8300h_sim.cdl:
--- a/packages/hal/h8300/sim/current/cdl/hal_h8300_h8300h_sim.cdl
+++ b/packages/hal/h8300/sim/current/cdl/hal_h8300_h8300h_sim.cdl
@@ -173,7 +173,7 @@ cdl_package CYGPKG_HAL_H8300_H8300H_SIM 
             display "Global linker flags"
             flavor  data
             no_define
-            default_value { "-g -nostdlib -Wl,--gc-sections -Wl,-static -mh -mint32" }
+            default_value { "-g -nostdlib -Wl,--gc-sections -Wl,-static -mrelax -mh -mint32" }
             description   "
                 This option controls the global linker flags. Individual
                 packages may define options which override these global flags."
--- a/packages/hal/h8300/sim/current/src/hal_diag.c
+++ b/packages/hal/h8300/sim/current/src/hal_diag.c
@@ -58,7 +58,7 @@
 
 #define SCI_BASE ((cyg_uint8*)CYGHAL_PLF_SCI_BASE)
 
-const static channel_data_t channel = { (cyg_uint8*)SCI_BASE, 0, 0};
+static channel_data_t channel = { (cyg_uint8*)SCI_BASE, 0, 0};
 
 void
 cyg_hal_plf_comms_init(void)
--- a/packages/hal/h8300/sim_s/current/ChangeLog
+++ b/packages/hal/h8300/sim_s/current/ChangeLog
@@ -1,3 +1,13 @@
+2004-03-18  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+	* src/hal_diag.c
+	fix warning.
+
+2004-02-24  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+	* cdl/hal_h8300_h8s_sim.cdl
+	add Linker flags "-mrelax"
+
 2003-02-21  Yoshinori Sato  <qzb04471@nifty.ne.jp>
 
 	* New package.
--- a/packages/hal/h8300/sim_s/current/cdl/hal_h8300_h8s_sim.cdl
+++ b/packages/hal/h8300/sim_s/current/cdl/hal_h8300_h8s_sim.cdl
@@ -173,7 +173,7 @@ cdl_package CYGPKG_HAL_H8300_H8S_SIM {
             display "Global linker flags"
             flavor  data
             no_define
-            default_value { "-g -nostdlib -Wl,--gc-sections -Wl,-static -ms -mint32" }
+            default_value { "-g -nostdlib -Wl,--gc-sections -Wl,-static -mrelax -ms -mint32" }
             description   "
                 This option controls the global linker flags. Individual
                 packages may define options which override these global flags."
--- a/packages/hal/h8300/sim_s/current/include/plf_intr.h
+++ b/packages/hal/h8300/sim_s/current/include/plf_intr.h
@@ -5,7 +5,7 @@
 //
 //      plf_intr.h
 //
-//      EDOSK-2674R interrupt and clock support
+//      H8S SIM interrupt and clock support
 //
 //==========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
--- a/packages/hal/h8300/sim_s/current/src/hal_diag.c
+++ b/packages/hal/h8300/sim_s/current/src/hal_diag.c
@@ -58,7 +58,7 @@
 
 #define SCI_BASE ((cyg_uint8*)CYGHAL_PLF_SCI_BASE)
 
-const static channel_data_t channel = { (cyg_uint8*)SCI_BASE, 0, 0};
+static channel_data_t channel = { (cyg_uint8*)SCI_BASE, 0, 0};
 
 void
 cyg_hal_plf_comms_init(void)