This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
H8/300 gcc-3.3 build problem fix
- From: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: Sun, 18 May 2003 18:40:25 +0900
- Subject: H8/300 gcc-3.3 build problem fix
Because link error occurred when used gcc-3.3, I corrected it.
Index: h8300h/current/src/h8300_h8300h.ld
===================================================================
RCS file: /cvsroot/ecos-h8/ecos/packages/hal/h8300/h8300h/current/src/h8300_h8300h.ld,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- h8300h/current/src/h8300_h8300h.ld 17 Oct 2002 15:07:58 -0000 1.5
+++ h8300h/current/src/h8300_h8300h.ld 18 May 2003 08:19:39 -0000 1.6
@@ -130,7 +130,7 @@
#define SECTION_bss(_region_, _vma_, _lma_) \
.bss _vma_ : _lma_ \
{ CYG_LABEL_DEFN(__bss_start) = ABSOLUTE (.); \
- *(.scommon) *(.dynbss) *(.bss) *(COMMON) \
+ *(.scommon) *(.dynbss) *(.bss.*) *(COMMON) \
CYG_LABEL_DEFN(__bss_end) = ABSOLUTE (.); } \
> _region_
============================================================
--
Yoshinori Sato
<ysato@users.sourceforge.jp>