r184390 - in /trunk/gcc: ChangeLog acinclude.m4...
ro@gcc.gnu.org
ro@gcc.gnu.org
Mon Feb 20 11:47:00 GMT 2012
Author: ro
Date: Mon Feb 20 11:47:25 2012
New Revision: 184390
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184390
Log:
Enable initfini array support on Solaris (PR target/50166)
* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Require gcc_SUN_LD_VERSION.
Define _start.
Remove -e 0 from $gcc_cv_ld invocation.
Only use __GLIBC_PREREQ if defined.
Enable on Solaris since Solaris 8 patch.
(gcc_SUN_LD_VERSION): New macro.
* configure.ac (ld_ver) <*-*-solaris2*>: Refer to
gcc_SUN_LD_VERSION for version number format.
* configure: Regenerate.
* varasm.c (get_elf_initfini_array_priority_section): Set
SECTION_NOTYPE for non-default priority.
Use get_section instead of get_unnamed_section to emit
.init_array/.fini_array with default priority.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/acinclude.m4
trunk/gcc/configure
trunk/gcc/configure.ac
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list