Support init priority on Solaris
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 9 Nov 2015 11:33:30 +0000 (11:33 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 9 Nov 2015 11:33:30 +0000 (11:33 +0000)
commite6b6bf09dd34ed9a35cbc7d37d0fde1849450aad
tree9a09dfb3e59bf363b6034ae58ed47450b706338a
parente1c78addb3eb56f659b47756e41e6e956d5c85ab
Support init priority on Solaris

libgcc:
* config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
value.
* config/ia64/crtend.S: Likewise.

gcc:
* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Allow for differences in
assembler syntax.
Support Solaris ld.
Define HAVE_INITFINI_ARRAY_SUPPORT as 0/1.

* config/sol2.h (SUPPORTS_INIT_PRIORITY): Define to
HAVE_INITFINI_ARRAY_SUPPORT.
* config/initfini-array.h: Check HAVE_INITFINI_ARRAY_SUPPORT
value.

* configure.ac (gcc_cv_as_sparc_nobits): Remove.
* config/sparc/sparc.c (sparc_solaris_elf_asm_named_section):
Don't check HAVE_AS_SPARC_NOBITS.
Heed SECTION_NOTYPE.

* configure: Regenerate.
* config.in: Regenerate.

From-SVN: r230013
gcc/ChangeLog
gcc/acinclude.m4
gcc/config.in
gcc/config/initfini-array.h
gcc/config/sol2.h
gcc/config/sparc/sparc.c
gcc/configure
gcc/configure.ac
libgcc/ChangeLog
libgcc/config/ia64/crtbegin.S
libgcc/config/ia64/crtend.S