This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] Make exception handling work for the v850
- To: binutils at sources dot redhat dot com
- Subject: [patch] Make exception handling work for the v850
- From: Catherine Moore <clm at redhat dot com>
- Date: Fri, 07 Sep 2001 12:26:40 -0700
- Cc: amacleod at cygnus dot com
This patch is required to make exception handling work
properly for the v850. Okay to install?
2001-09-07 Andrew MacLeod <amacleod@redhat.com>
* scripttempl/v850.sc: Add gcc_except_table sections.
Index: v850.sc
===================================================================
RCS file: /cvs/cvsfiles/devo/ld/scripttempl/v850.sc,v
retrieving revision 1.23
diff -p -r1.23 v850.sc
*** v850.sc 2000/11/05 21:33:12 1.23
--- v850.sc 2001/09/07 19:22:58
*************** SECTIONS
*** 42,53 ****
.rela.data : { *(.rela.data) }
.rel.rodata : { *(.rel.rodata) }
.rela.rodata : { *(.rela.rodata) }
- .rel.got : { *(.rel.got) }
.rela.got : { *(.rela.got) }
.rel.ctors : { *(.rel.ctors) }
.rela.ctors : { *(.rela.ctors) }
.rel.dtors : { *(.rel.dtors) }
.rela.dtors : { *(.rela.dtors) }
.rel.init : { *(.rel.init) }
.rela.init : { *(.rela.init) }
.rel.fini : { *(.rel.fini) }
--- 42,55 ----
.rela.data : { *(.rela.data) }
.rel.rodata : { *(.rel.rodata) }
.rela.rodata : { *(.rela.rodata) }
.rela.got : { *(.rela.got) }
.rel.ctors : { *(.rel.ctors) }
.rela.ctors : { *(.rela.ctors) }
.rel.dtors : { *(.rel.dtors) }
.rela.dtors : { *(.rela.dtors) }
+ .rel.gcc_except_table : { *(.rel.gcc_except_table) }
+ .rela.gcc_except_table : { *(.rela.gcc_except_table) }
+ .rel.got : { *(.rel.got) }
.rel.init : { *(.rel.init) }
.rela.init : { *(.rela.init) }
.rel.fini : { *(.rel.fini) }
*************** SECTIONS
*** 115,120 ****
--- 117,124 ----
KEEP (*crtend.o(.dtors))
${CONSTRUCTING+___dtors_end = .;}
}
+
+ .gcc_except_table : { *(.gcc_except_table) }
.got : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) }