This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
SH archtecture ldscript fix
- From: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: Mon, 28 Jul 2003 20:56:44 +0900
- Subject: SH archtecture ldscript fix
Because specification of bss is not good, an illegal binary is output.
Index: arch/current/src/sh.ld
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/sh/arch/current/src/sh.ld,v
retrieving revision 1.16
diff -u -r1.16 sh.ld
--- arch/current/src/sh.ld 5 May 2003 09:13:46 -0000 1.16
+++ arch/current/src/sh.ld 28 Jul 2003 11:47:40 -0000
@@ -198,7 +198,7 @@
#define SECTION_bss(_region_, _vma_, _lma_) \
.bss _vma_ : _lma_ \
{ CYG_LABEL_DEFN(_bss_start) = ABSOLUTE (.); \
- FORCE_OUTPUT; *(.dynbss) *(.bss) *(COMMON) \
+ FORCE_OUTPUT; *(.dynbss) *(.bss*) *(COMMON) \
. = ALIGN(4); \
CYG_LABEL_DEFN(_bss_end) = ABSOLUTE (.); } \
> _region_
--
Yoshinori Sato
<ysato@users.sourceforge.jp>