Commit e66084a4 by Rainer Orth Committed by Rainer Orth

Restore .init_array etc. detection on 64-bit Solaris

	* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Use 8-byte strings with
	Solaris ld.
	* configure: Regenerate.

From-SVN: r268768
parent 60f32352
2019-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Use 8-byte strings with
Solaris ld.
* configure: Regenerate.
2019-02-11 Jakub Jelinek <jakub@redhat.com> 2019-02-11 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/88714 PR bootstrap/88714
......
...@@ -374,16 +374,16 @@ EOF ...@@ -374,16 +374,16 @@ EOF
cat > conftest.s <<EOF cat > conftest.s <<EOF
.section $sh_quote.fini_array.65530$sh_quote,$sh_flags,$sh_type .section $sh_quote.fini_array.65530$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'C', 'C', 'C', 'C' .byte 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C'
.section $sh_quote.init_array.65530$sh_quote,$sh_flags,$sh_type .section $sh_quote.init_array.65530$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'D', 'D', 'D', 'D' .byte 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D'
.section $sh_quote.fini_array.01005$sh_quote,$sh_flags,$sh_type .section $sh_quote.fini_array.01005$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'G', 'G', 'G', 'G' .byte 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G'
.section $sh_quote.init_array.01005$sh_quote,$sh_flags,$sh_type .section $sh_quote.init_array.01005$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'H', 'H', 'H', 'H' .byte 'H', 'H', 'H', 'H', 'H', 'H', 'H', 'H'
.text .text
.globl _start .globl _start
_start: _start:
...@@ -391,9 +391,9 @@ EOF ...@@ -391,9 +391,9 @@ EOF
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \ if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \
&& $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1 \ && $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1 \
&& $gcc_cv_objdump -s -j .init_array conftest \ && $gcc_cv_objdump -s -j .init_array conftest \
| grep HHHHDDDD > /dev/null 2>&1 \ | grep HHHHHHHHDDDDDDDD > /dev/null 2>&1 \
&& $gcc_cv_objdump -s -j .fini_array conftest \ && $gcc_cv_objdump -s -j .fini_array conftest \
| grep GGGGCCCC > /dev/null 2>&1; then | grep GGGGGGGGCCCCCCCC > /dev/null 2>&1; then
gcc_cv_initfini_array=yes gcc_cv_initfini_array=yes
fi fi
;; ;;
......
...@@ -18646,7 +18646,7 @@ else ...@@ -18646,7 +18646,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 18640 "configure" #line 18649 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
...@@ -18752,7 +18752,7 @@ else ...@@ -18752,7 +18752,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 18746 "configure" #line 18755 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
...@@ -23309,16 +23309,16 @@ EOF ...@@ -23309,16 +23309,16 @@ EOF
cat > conftest.s <<EOF cat > conftest.s <<EOF
.section $sh_quote.fini_array.65530$sh_quote,$sh_flags,$sh_type .section $sh_quote.fini_array.65530$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'C', 'C', 'C', 'C' .byte 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C'
.section $sh_quote.init_array.65530$sh_quote,$sh_flags,$sh_type .section $sh_quote.init_array.65530$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'D', 'D', 'D', 'D' .byte 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D'
.section $sh_quote.fini_array.01005$sh_quote,$sh_flags,$sh_type .section $sh_quote.fini_array.01005$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'G', 'G', 'G', 'G' .byte 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G'
.section $sh_quote.init_array.01005$sh_quote,$sh_flags,$sh_type .section $sh_quote.init_array.01005$sh_quote,$sh_flags,$sh_type
.align 4 .align 4
.byte 'H', 'H', 'H', 'H' .byte 'H', 'H', 'H', 'H', 'H', 'H', 'H', 'H'
.text .text
.globl _start .globl _start
_start: _start:
...@@ -23326,9 +23326,9 @@ EOF ...@@ -23326,9 +23326,9 @@ EOF
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \ if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \
&& $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1 \ && $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1 \
&& $gcc_cv_objdump -s -j .init_array conftest \ && $gcc_cv_objdump -s -j .init_array conftest \
| grep HHHHDDDD > /dev/null 2>&1 \ | grep HHHHHHHHDDDDDDDD > /dev/null 2>&1 \
&& $gcc_cv_objdump -s -j .fini_array conftest \ && $gcc_cv_objdump -s -j .fini_array conftest \
| grep GGGGCCCC > /dev/null 2>&1; then | grep GGGGGGGGCCCCCCCC > /dev/null 2>&1; then
gcc_cv_initfini_array=yes gcc_cv_initfini_array=yes
fi fi
;; ;;
...@@ -25141,7 +25141,7 @@ if test "${enable_standard_branch_protection+set}" = set; then : ...@@ -25141,7 +25141,7 @@ if test "${enable_standard_branch_protection+set}" = set; then :
no) no)
;; ;;
*) *)
as_fn_error "'$enableval' is an invalid value for --enable-standard-branch-protection.\ as_fn_error $? "'$enableval' is an invalid value for --enable-standard-branch-protection.\
Valid choices are 'yes' and 'no'." "$LINENO" 5 Valid choices are 'yes' and 'no'." "$LINENO" 5
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment