Message ID | CAMe9rOoq52MYN-+y6q3zKRLhwVH1fCibW42RQeOsphjcf3P+ng@mail.gmail.com |
---|---|
State | New |
Headers | show |
On 08/22/2011 04:45 PM, H.J. Lu wrote: > Can I check in this patch to address AIX issue first? > I will submit a patch to test ".section .init_array" later? > > Thanks. Yes. Paolo
diff --git a/gcc/acinclude.m4 b/gcc/acinclude.m4 index 74c86db..a8ecd2d 100644 --- a/gcc/acinclude.m4 +++ b/gcc/acinclude.m4 @@ -377,6 +377,9 @@ AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array su pport, gcc_cv_initfini_array, [dnl if test "x${build}" = "x${target}" && test "x${build}" = "x${host}"; then AC_RUN_IFELSE([AC_LANG_SOURCE([ +#ifndef __ELF__ +#error Not an ELF OS +#endif #ifdef __ia64__ /* We turn on .preinit_array/.init_array/.fini_array support for ia64