This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: Committed: Handle .gcc_except_table.* section in xstormy16 linker scripts


Thanks Nick.

-- Jeff J.

On 29/06/10 05:39 AM, Nick Clifton wrote:
Hi Jeff,

   I hope you do not mind me checking in the following patch as obvious.
   It extends the linker scripts in the libgloss/xstormy16 directory so
   that sections that start with the ".gcc.except_table." prefix are
   handled in the same way as the .gcc_except_table section.

Cheers
   Nick

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

	* xstormy16/eva_app.ld (.gcc_except_table): Include sections with
	the .gcc_except_table. prefix.
	* xstormy16/eva_stub.ld: Likewise.
	* xstormy16/sim_high.ld: Likewise.
	* xstormy16/sim_low.ld: Likewise.

Index: libgloss/xstormy16/eva_app.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/eva_app.ld,v
retrieving revision 1.5
diff -c -3 -p -r1.5 eva_app.ld
*** libgloss/xstormy16/eva_app.ld 20 May 2005 15:45:45 -0000 1.5
--- libgloss/xstormy16/eva_app.ld 29 Jun 2010 09:34:14 -0000
*************** SECTIONS
*** 53,59 ****
KEEP (*(.dtors))
}> RAM
.eh_frame : { KEEP (*(.eh_frame)) }> RAM
! .gcc_except_table : { *(.gcc_except_table) }> RAM
.jcr : { *(.jcr) }> RAM
.plt : { *(.plt) }> RAM
_edata = .;
--- 53,59 ----
KEEP (*(.dtors))
}> RAM
.eh_frame : { KEEP (*(.eh_frame)) }> RAM
! .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) }> RAM
.jcr : { *(.jcr) }> RAM
.plt : { *(.plt) }> RAM
_edata = .;
Index: libgloss/xstormy16/eva_stub.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/eva_stub.ld,v
retrieving revision 1.5
diff -c -3 -p -r1.5 eva_stub.ld
*** libgloss/xstormy16/eva_stub.ld 20 May 2005 15:45:45 -0000 1.5
--- libgloss/xstormy16/eva_stub.ld 29 Jun 2010 09:34:14 -0000
*************** SECTIONS
*** 53,59 ****
KEEP (*(.dtors))
}> ROM
.eh_frame : { KEEP (*(.eh_frame)) }> ROM
! .gcc_except_table : { *(.gcc_except_table) }> ROM
.jcr : { *(.jcr) }> ROM
.plt : { *(.plt) }> ROM
.text :
--- 53,59 ----
KEEP (*(.dtors))
}> ROM
.eh_frame : { KEEP (*(.eh_frame)) }> ROM
! .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) }> ROM
.jcr : { *(.jcr) }> ROM
.plt : { *(.plt) }> ROM
.text :
Index: libgloss/xstormy16/sim_high.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/sim_high.ld,v
retrieving revision 1.5
diff -c -3 -p -r1.5 sim_high.ld
*** libgloss/xstormy16/sim_high.ld 20 May 2005 15:45:45 -0000 1.5
--- libgloss/xstormy16/sim_high.ld 29 Jun 2010 09:34:14 -0000
*************** SECTIONS
*** 74,80 ****
KEEP (*(.dtors))
}> LOROM
.eh_frame : { KEEP (*(.eh_frame)) }> LOROM
! .gcc_except_table : { *(.gcc_except_table) }> LOROM
.jcr : { *(.jcr) }> LOROM
.plt : { *(.plt) }> LOROM
.text :
--- 74,80 ----
KEEP (*(.dtors))
}> LOROM
.eh_frame : { KEEP (*(.eh_frame)) }> LOROM
! .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) }> LOROM
.jcr : { *(.jcr) }> LOROM
.plt : { *(.plt) }> LOROM
.text :
Index: libgloss/xstormy16/sim_rom.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/sim_rom.ld,v
retrieving revision 1.2
diff -c -3 -p -r1.2 sim_rom.ld
*** libgloss/xstormy16/sim_rom.ld 20 May 2005 15:45:45 -0000 1.2
--- libgloss/xstormy16/sim_rom.ld 29 Jun 2010 09:34:14 -0000
*************** SECTIONS
*** 47,53 ****
}> ROM
.jcr : { KEEP (*(.jcr)) }> ROM
.eh_frame : { KEEP (*(.eh_frame)) }> ROM
! .gcc_except_table : { *(.gcc_except_table) }> ROM
.plt : { *(.plt) }> ROM
.text :
{
--- 47,53 ----
}> ROM
.jcr : { KEEP (*(.jcr)) }> ROM
.eh_frame : { KEEP (*(.eh_frame)) }> ROM
! .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) }> ROM
.plt : { *(.plt) }> ROM
.text :
{


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