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]

[patch] Make exception handling work for the v850


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) }


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