Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-01-07 21:04:39 +0300
committerJeff Johnston <jjohnstn@redhat.com>2005-01-07 21:04:39 +0300
commitf7a74742e69119d7133c8d9619ae94175faed068 (patch)
tree526a24a1f892045b2e52bec5a0ee8ba743ee32be /newlib/newlib.hin
parent35310094a18515e7b0be818abbff262f6718f849 (diff)
2005-01-07 Paul Brook <paul@codesourcery.com>
* configure.in: Add test for .init_array. * configure: Regenerate. * newlib.hin: Add HAVE_INITFINI_ARRAY. * libc/misc/Makefile.am: Add init.c * libc/misc/Makefile.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.
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r--newlib/newlib.hin4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin
index cb6f96d58..b1b6f051d 100644
--- a/newlib/newlib.hin
+++ b/newlib/newlib.hin
@@ -137,5 +137,9 @@
#undef _ICONV_FROM_ENCODING_WIN_1257
#undef _ICONV_FROM_ENCODING_WIN_1258
+/* Define if the linker supports .preinit_array/.init_array/.fini_array
+ * sections. */
+#undef HAVE_INITFINI_ARRAY
+
#endif /* !__NEWLIB_H__ */