Committed: Handle .gcc_except_table.* section in xstormy16 linker script

Nick Clifton nickc@redhat.com
Tue Jun 29 09:42:00 GMT 2010


Hi Guys,

  I am applying the patch below to update the linker script template for
  the XStormy16 port so that it handles sections that start with the
  ".gcc_except_table." prefix in the same way as it handles
  .gcc_except_table sections.

Cheers
  Nick

ld/ChangeLog
2010-06-29  Nick Clifton  <nickc@redhat.com>

	* scripttempl/xstormy16.sc (.gcc_except_table): Include sections
	with the .gcc_except_table. prefix.


Index: ld/scripttempl/xstormy16.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/xstormy16.sc,v
retrieving revision 1.13
diff -c -3 -p -r1.13 xstormy16.sc
*** ld/scripttempl/xstormy16.sc	10 Oct 2009 04:34:39 -0000	1.13
--- ld/scripttempl/xstormy16.sc	29 Jun 2010 09:40:25 -0000
*************** SECTIONS
*** 160,166 ****
    ${RELOCATING+${DTOR}}
    .jcr : { KEEP (*(.jcr)) } ${RELOCATING+> ROM}
    .eh_frame : { KEEP (*(.eh_frame)) } ${RELOCATING+> ROM}
!   .gcc_except_table : { *(.gcc_except_table) } ${RELOCATING+> ROM}
    .plt : { *(.plt) } ${RELOCATING+> ROM}
  
    .text    ${RELOCATING-0} :
--- 160,166 ----
    ${RELOCATING+${DTOR}}
    .jcr : { KEEP (*(.jcr)) } ${RELOCATING+> ROM}
    .eh_frame : { KEEP (*(.eh_frame)) } ${RELOCATING+> ROM}
!   .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } ${RELOCATING+> ROM}
    .plt : { *(.plt) } ${RELOCATING+> ROM}
  
    .text    ${RELOCATING-0} :



More information about the Binutils mailing list