[patch, arm] Add support for .init_array

Paul Brook paul@codesourcery.com
Tue Dec 21 15:37:00 GMT 2004


> > I am not able to approve this patch, but I do have a couple of minor
> > comments on it...

Updated patch attached. Sorry about the delay.

Paul

2004-12-08  Paul Brook  <paul@codesourcery.com>

 * libgloss/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
 _init/_fini if they exist.

 * configure.in: Add test for .init_array.
 * configure: Regenerate.
 * newlib.hin: Add HAVE_INITFINI_ARRAY.
 * libc/misc/Makefile.am: Add init.c
 * libc/misc/Makernel.in: Regenerate.
 * libc/misc/init.c: New file.
 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
 _init/_fini if they exist.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.newlib_initarray
Type: text/x-diff
Size: 5621 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20041221/f95d3be8/attachment.bin>


More information about the Newlib mailing list