diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-26 15:17:42 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-26 15:17:42 +0000 |
commit | 2522cb6f7cd5e6b4886b01558378163e95bf4d91 (patch) | |
tree | 100d3ebd841cf885db1c36e6609389519f634d04 /gcc/configure | |
parent | 8fb1768c966f7d62a38dc5be5593ca52fa198bd4 (diff) | |
download | gcc-2522cb6f7cd5e6b4886b01558378163e95bf4d91.tar.gz |
Disable .init_array/.fini_array support on Solaris (PR target/50166)
PR target/50166
* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check count in main.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index 0feb91111c0..b1dd57b6ff4 100755 --- a/gcc/configure +++ b/gcc/configure @@ -10888,6 +10888,8 @@ void (*const dtors65535) () int main () { + if (count != 65535) + abort (); return 0; } #endif @@ -17913,7 +17915,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17916 "configure" +#line 17918 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -18019,7 +18021,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18022 "configure" +#line 18024 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |