Disable string merging with alignment > 1 before Solaris 11.4/SPARC
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 24 Oct 2018 11:27:35 +0000 (11:27 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 24 Oct 2018 11:27:35 +0000 (11:27 +0000)
commitdc6b6330c5d708ba319778b2befed0b7314271b8
tree9ac6e997fc7dddbff9a6f78b9fd4c4e4b7715b61
parent53b8a7107e6c6a774d5e69b8fd5ce46e94c35adb
Disable string merging with alignment > 1 before Solaris 11.4/SPARC

* configure.ac (gcc_cv_ld_aligned_shf_merge): New test.
* configure: Regenerate.
* config.in: Regenerate.
* varasm.c (mergeable_string_section): Use readonly_data_section
if linker doesn't support SHF_MERGE with alignment > 8.
(mergeable_constant_section): Likewise.

From-SVN: r265456
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.ac
gcc/varasm.c