diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-01-30 09:53:29 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2018-01-30 09:53:29 +0000 |
commit | 924d6d0b69ac1db29335100e81406f5e6cd04ff3 (patch) | |
tree | 796218afa8a6867b091c7ecf1143ab5c19990596 /gcc/configure.ac | |
parent | 8711e791deaf97590d68ee82ff7a0b81d54e944d (diff) | |
download | gcc-924d6d0b69ac1db29335100e81406f5e6cd04ff3.zip gcc-924d6d0b69ac1db29335100e81406f5e6cd04ff3.tar.gz gcc-924d6d0b69ac1db29335100e81406f5e6cd04ff3.tar.bz2 |
Disable SHF_MERGE on Solaris 10/x86 (PR bootstrap/84017)
gcc/testsuite:
PR bootstrap/84017
* gcc.dg/debug/dwarf2/prod-options.c: Add -fno-merge-debug-strings
to dg-options.
Simplify DW_AT_producer scan.
gcc:
PR bootstrap/84017
* configure.ac (gcc_cv_as_shf_merge): Disable on Solaris 10/x86.
* configure: Regenerate.
From-SVN: r257179
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index b7f9728..f8b0e5a 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2954,6 +2954,14 @@ if test $gcc_cv_as_shf_merge = no; then [elf,2,12,0], [--fatal-warnings], [.section .rodata.str, "aMS", %progbits, 1]) fi +case "$target" in + i?86-*-solaris2.10* | x86_64-*-solaris2.10*) + # SHF_MERGE support in Solaris 10/x86 ld is broken. + if test x"$gnu_ld" = xno; then + gcc_cv_as_shf_merge=no + fi + ;; +esac AC_DEFINE_UNQUOTED(HAVE_GAS_SHF_MERGE, [`if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`], [Define 0/1 if your assembler supports marking sections with SHF_MERGE flag.]) |