diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-01-07 18:04:39 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-01-07 18:04:39 +0000 |
commit | f7a74742e69119d7133c8d9619ae94175faed068 (patch) | |
tree | 526a24a1f892045b2e52bec5a0ee8ba743ee32be /newlib/newlib.hin | |
parent | 35310094a18515e7b0be818abbff262f6718f849 (diff) | |
download | cygnal-f7a74742e69119d7133c8d9619ae94175faed068.tar.gz cygnal-f7a74742e69119d7133c8d9619ae94175faed068.tar.bz2 cygnal-f7a74742e69119d7133c8d9619ae94175faed068.zip |
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.hin | 4 |
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__ */ |