Support SHF_EXCLUDE on non-x86 and with Solaris as
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 25 May 2018 07:57:10 +0000 (07:57 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 25 May 2018 07:57:10 +0000 (07:57 +0000)
commitf8d704048f0900b88a459a60c5fed0e9b7ed8658
tree9946373293ac81d336c677b6b3aa3049f182b4bd
parent9d4ac06e0235697c7fa3144b6790b779e6385ea5
Support SHF_EXCLUDE on non-x86 and with Solaris as

* configure.ac (gcc_cv_as_section_has_e): Move to common section.
Rename to...
(gcc_cv_as_section_exclude): ... this.
Try Solaris as #exclude syntax.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/i386.c (i386_solaris_elf_named_section): Handle
SECTION_EXCLUDE.
* config/sparc/sparc.c (sparc_solaris_elf_asm_named_section)
[HAVE_GAS_SECTION_EXCLUDE]: Handle SECTION_EXCLUDE.

* varasm.c (default_elf_asm_named_section): Don't check if
HAVE_GAS_SECTION_EXCLUDE is defined.

From-SVN: r260708
gcc/ChangeLog
gcc/config.in
gcc/config/i386/i386.c
gcc/config/sparc/sparc.c
gcc/configure
gcc/configure.ac
gcc/varasm.c