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]

Re: SH archtecture ldscript fix


On Mon, 2003-07-28 at 05:56, Yoshinori Sato wrote:
> Because specification of bss is not good, an illegal binary is output.
> 

Next time, please provide a ChangeLog entry.

Committed as attached.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: hal/sh/arch/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/sh/arch/current/ChangeLog,v
retrieving revision 1.45
diff -u -5 -p -r1.45 ChangeLog
--- hal/sh/arch/current/ChangeLog	24 Jul 2003 20:24:09 -0000	1.45
+++ hal/sh/arch/current/ChangeLog	29 Jul 2003 21:06:15 -0000
@@ -1,5 +1,10 @@
+2003-07-29  Gary Thomas  <gary@mlbassoc.com> on behalf of
+2003-07-29  Yoshinori Sato <ysato@users.sourceforge.jp>	
+
+	* src/sh.ld: Handle all bss* sections (newer compilers).
+
 2003-07-18  Nick Garnett  <nickg@balti.calivar.com>
 
 	* cdl/hal_sh.cdl:
         Changed values for CYGNUM_HAL_RTC_NUMERATOR,
         CYGNUM_HAL_RTC_DENOMINATOR and CYGNUM_HAL_RTC_PERIOD to
Index: hal/sh/arch/current/src/sh.ld
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/sh/arch/current/src/sh.ld,v
retrieving revision 1.16
diff -u -5 -p -r1.16 sh.ld
--- hal/sh/arch/current/src/sh.ld	5 May 2003 09:13:46 -0000	1.16
+++ hal/sh/arch/current/src/sh.ld	29 Jul 2003 21:04:13 -0000
@@ -196,11 +196,11 @@ GROUP(libtarget.a libgcc.a)
     > _region_
 
 #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_
 
 #define SECTIONS_END . = ALIGN(4); CYG_LABEL_DEFN(end) = .; PROVIDE (end = .);

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