This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]