acadia-newlib/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
abiflags.S
aclocal.m4
array-io.c
array.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
cfe.c
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
cfe_api_int.h
cfe_error.h
cfe_mem.c
cma101.c
configure
configure.in
crt0.S
crt0_cfe.S
crt0_cygmon.S
cygmon.c
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
idtmon.S
jmr3904-io.c
jmr3904app-java.ld
jmr3904app.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
jmr3904dram-java.ld
jmr3904dram.ld
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
nullmon.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
pmon.S
pmon.ld Fix order of eh_frame sections in linker scripts 2019-04-29 10:44:24 +02:00
regs.S
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
vr4300.S