newlib/libgloss
Hans-Peter Nilsson cd5e7e2d82 Committed, libgloss: hook up cris-elf to the initfini-array support.
After a binutils change "a while ago" (2015-12) to default to
--enable-initfini-array, i.e. to merge .ctors and .dtors into
.init_array and .fini_array, this is needed for cdtors to run at all.

Based on what goes on in arm/ and aarch64/.  Tested for cris-elf by
running the gcc testsuite.

By the way, the configure test doesn't detect this change, so the
HAVE_INITFINI_ARRAY ifdeffery is somewhat redundant.  Still, the
change is tested to be safe with older binutils too.

libgloss/
	* cris/crt0.S, cris/lcrt0.c: Include newlib.h.
	[HAVE_INITFINI_ARRAY] (_init): Define to __libc_init_array.
	[HAVE_INITFINI_ARRAY] (_fini): Ditto __libc_fini_array.
2017-01-29 21:23:32 +01:00
..
2016-08-11 10:59:54 +02:00
2008-04-04 21:52:01 +00:00
2016-08-19 10:32:23 +02:00
2010-12-17 10:13:31 +00:00
2008-04-04 21:52:01 +00:00
2008-04-04 21:52:01 +00:00
2014-08-14 15:00:33 +00:00
2008-04-04 21:52:01 +00:00
2016-03-13 12:50:23 +01:00
2008-04-04 21:52:01 +00:00
2000-03-17 22:48:54 +00:00
2008-04-04 21:52:01 +00:00
2000-03-17 22:48:54 +00:00
2015-12-17 16:51:41 -05:00
2015-12-17 16:51:41 -05:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00
2000-03-17 22:48:54 +00:00

bfin	- Analog Devices Blackfin processor.
sparc	- Fujitsu Sparclite board. Works on the ex930, ex931, ex933
hp74x	- Hewlett Packard HP742 board. Also some support for the hp743.
m68hc11 - Motorola 68HC11 or 68HC12 support.
m68k	- Motorola MVME135 and IDP board. For CPU32 systems.
mep	- Toshiba Media Processor.
pa	- WinBond and Oki boards with a PA.
mips	- R3000 support. Array Tech LSI33k based RAID disk controller.
lm32    - Lattice Mico32 simulator.
epiphany - Adapteva Epiphany multicore processor.
or1k	- OpenRISC 1000 processor.