aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2015-11-09 11:33:30 +0000
committerRainer Orth <ro@gcc.gnu.org>2015-11-09 11:33:30 +0000
commite6b6bf09dd34ed9a35cbc7d37d0fde1849450aad (patch)
tree9a09dfb3e59bf363b6034ae58ed47450b706338a /libgcc/config
parente1c78addb3eb56f659b47756e41e6e956d5c85ab (diff)
downloadgcc-e6b6bf09dd34ed9a35cbc7d37d0fde1849450aad.zip
gcc-e6b6bf09dd34ed9a35cbc7d37d0fde1849450aad.tar.gz
gcc-e6b6bf09dd34ed9a35cbc7d37d0fde1849450aad.tar.bz2
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
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/ia64/crtbegin.S2
-rw-r--r--libgcc/config/ia64/crtend.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/config/ia64/crtbegin.S b/libgcc/config/ia64/crtbegin.S
index ec8ed7b..477b383 100644
--- a/libgcc/config/ia64/crtbegin.S
+++ b/libgcc/config/ia64/crtbegin.S
@@ -61,7 +61,7 @@ __dso_handle:
.hidden __dso_handle
-#ifdef HAVE_INITFINI_ARRAY_SUPPORT
+#if HAVE_INITFINI_ARRAY_SUPPORT
.section .fini_array, "a"
data8 @fptr(__do_global_dtors_aux)
diff --git a/libgcc/config/ia64/crtend.S b/libgcc/config/ia64/crtend.S
index a1a5595..d9c65c0 100644
--- a/libgcc/config/ia64/crtend.S
+++ b/libgcc/config/ia64/crtend.S
@@ -39,7 +39,7 @@ __DTOR_END__:
__JCR_END__:
data8 0
-#ifdef HAVE_INITFINI_ARRAY_SUPPORT
+#if HAVE_INITFINI_ARRAY_SUPPORT
.global __do_global_ctors_aux
.hidden __do_global_ctors_aux
#else /* !HAVE_INITFINI_ARRAY_SUPPORT */