newlib-cygwin/libgloss/mips
Faraz Shahbazker ab2901c843 Fix order of eh_frame sections in linker scripts
The compiler driver positions the linker script at the end of the linker
command-line, after crtend.o.  As a result, any INPUT objects and archive
GROUPs introduced by the linker script are placed after crtend.o and the
end-of-frame marker provided by crtend.o ends up in between .eh_frames
instead of being at the end.

This has always been a problem, but a binutils update to clean-up
redundant NULL markers in .eh_frame exposes it as a execution failure in
exception-handling tests.  This patch re-orders .eh_frames in all
MIPS linker scripts so that the one from crtend.o is always placed last.

libgloss/
	* mips/array.ld: Re-order to place .eh_frame from crtend.o
	after all other .eh_frame sections.
	* mips/cfe.ld: Likewise.
	* mips/ddb-kseg0.ld: Likewise.
	* mips/ddb.ld: Likewise.
	* mips/dve.ld: Likewise.
	* mips/idt.ld: Likewise.
	* mips/idt32.ld: Likewise.
	* mips/idt64.ld: Likewise.
	* mips/jmr3904app.ld: Likewise.
	* mips/lsi.ld: Likewise.
	* mips/mti32.ld: Likewise.
	* mips/mti64.ld: Likewise.
	* mips/mti64_64.ld: Likewise.
	* mips/mti64_n32.ld: Likewise.
	* mips/nullmon.ld: Likewise.
	* mips/pmon.ld: Likewise.
	* mips/sde32.ld: Likewise.
	* mips/sde64.ld: Likewise.
2019-04-29 10:44:24 +02:00
..
Makefile.in 2013-09-30 Steve Ellcey <sellcey@mips.com> 2013-09-30 18:44:25 +00:00
abiflags.S * mips/crt0.S: Configure processor based on .MIPS.abiflags. 2014-11-28 08:51:03 +00:00
aclocal.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
array-io.c
array.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
cfe.c 2003-08-20 Chris Demetriou <cgd@broadcom.com> 2003-08-20 19:32:52 +00:00
cfe.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
cfe_api.c
cfe_api.h 2013-12-04 Steve Ellcey <sellcey@mips.com> 2013-12-04 21:18:02 +00:00
cfe_api_int.h
cfe_error.h
cfe_mem.c 2003-08-20 Chris Demetriou <cgd@broadcom.com> 2003-08-20 19:32:52 +00:00
cma101.c Check in proper version of Eric's patch. 2003-05-02 20:06:52 +00:00
configure 2012-10-02 Steve Ellcey <sellcey@mips.com> 2012-10-02 20:14:15 +00:00
configure.in 2012-10-02 Steve Ellcey <sellcey@mips.com> 2012-10-02 20:14:15 +00:00
crt0.S * mips/crt0.S: Configure processor based on .MIPS.abiflags. 2014-11-28 08:51:03 +00:00
crt0_cfe.S 2003-08-20 Chris Demetriou <cgd@broadcom.com> 2003-08-20 19:32:52 +00:00
crt0_cygmon.S
cygmon.c 2002-01-07 Chris Demetriou <cgd@broadcom.com> 2003-01-07 21:10:54 +00:00
ddb-kseg0.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
ddb.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
dtor.C
dve.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
dvemon.c
entry.S
idt.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
idt32.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
idt64.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
idtecoff.ld 2005-10-03 James E Wilson <wilson@specifix.com> 2005-10-03 17:29:47 +00:00
idtmon.S 2013-07-24 Steve Ellcey <sellcey@mips.com> 2013-07-24 22:32:51 +00:00
jmr3904-io.c
jmr3904app-java.ld 2005-10-03 James E Wilson <wilson@specifix.com> 2005-10-03 17:29:47 +00:00
jmr3904app.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
jmr3904dram-java.ld 2005-10-03 James E Wilson <wilson@specifix.com> 2005-10-03 17:29:47 +00:00
jmr3904dram.ld 2005-10-03 James E Wilson <wilson@specifix.com> 2005-10-03 17:29:47 +00:00
lsi.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
lsipmon.S
mti32.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
mti64.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
mti64_64.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
mti64_n32.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
nullmon.c * mips/nullmon.c (_ftext, _end): Adjust declaration. 2003-02-18 19:37:04 +00:00
nullmon.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
pmon.S 2002-01-07 Chris Demetriou <cgd@broadcom.com> 2003-01-07 21:10:54 +00:00
pmon.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
regs.S * mips/crt0.S: Configure processor based on .MIPS.abiflags. 2014-11-28 08:51:03 +00:00
sde32.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
sde64.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
syscalls.c
test.c
vr5xxx.S 2004-04-02 Chris Demetriou <cgd@broadcom.com> 2004-04-03 01:02:51 +00:00
vr4300.S 2004-04-02 Chris Demetriou <cgd@broadcom.com> 2004-04-03 01:02:51 +00:00