This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [PATCH] SH :undefined reference to `___EH_FRAME_BEGIN__' for COFF and HMS


On Sun, Sep 22, 2002 at 06:58:40PM -0400, Hans-Peter Nilsson wrote:
> On Sun, 22 Sep 2002, Daniel Jacobowitz wrote:
> 
> > Nick made a similar patch to this one for scripttempl/armcoff.sc last
> > year; I think Anita's patch looks correct.  Anyone have a comment?
> 
> If the corresponding patch was ok for another COFF target, it
> should be ok for SH methinks.  Unless a maintainer disagrees
> within the next days, please apply it. Thanks!

OK, applied:

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/ChangeLog,v
retrieving revision 1.765
diff -u -p -r1.765 ChangeLog
--- ChangeLog	23 Sep 2002 11:36:14 -0000	1.765
+++ ChangeLog	25 Sep 2002 17:02:23 -0000
@@ -1,3 +1,9 @@
+2002-09-25  Daniel Jacobowitz  <drow@mvista.com>
+
+	From "Anita Kulkarni" <AnitaK@kpit.com>
+	* scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
+	sections.
+
 2002-09-22  Mark Elbrecht  <snowball3@softhome.net>
 
 	* scripttempl/i386go32.sc: Handle bss unique sections.
Index: scripttempl/sh.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/sh.sc,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 sh.sc
--- scripttempl/sh.sc	3 May 1999 07:29:08 -0000	1.1.1.1
+++ scripttempl/sh.sc	25 Sep 2002 17:02:23 -0000
@@ -29,6 +29,11 @@ SECTIONS
   .data :
   {
     *(.data)
+    ${RELOCATING+*(.gcc_exc*)}
+    ${RELOCATING+___EH_FRAME_BEGIN__ = . ;}
+    ${RELOCATING+*(.eh_fram*)}
+    ${RELOCATING+___EH_FRAME_END__ = . ;}
+    ${RELOCATING+LONG(0);}
     ${RELOCATING+ _edata = . ; }
   } ${RELOCATING+ > ram}
   .bss :


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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