newlib/libgloss/cris
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
..
Makefile.in libgloss: cris: respect DESTDIR when installing 2012-03-24 03:38:28 +00:00
aclocal.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
configure [newlib] 2008-04-04 21:52:01 +00:00
configure.in 2006-05-10 Jeff Johnston <jjohnstn@redhat.com> 2006-05-10 20:51:41 +00:00
crt0.S Committed, libgloss: hook up cris-elf to the initfini-array support. 2017-01-29 21:23:32 +01:00
crti.c
crtn.c * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use 2007-02-21 14:08:26 +00:00
gensyscalls 2008-01-03 Jeff Johnston <jjohnstn@redhat.com> 2008-01-03 22:38:31 +00:00
irqtable.S * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use 2007-02-21 14:08:26 +00:00
lcrt0.c Committed, libgloss: hook up cris-elf to the initfini-array support. 2017-01-29 21:23:32 +01:00
linunistd.h 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
outbyte.c
setup.S * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use 2007-02-21 14:08:26 +00:00