diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-26 11:32:52 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-27 16:47:31 +0100 |
commit | e5d9873fcb6f90d03b7534af53de39ec65d0cdc5 (patch) | |
tree | 189751bc0a447b3fe4a91270c3d7f5142168a32f /gcc/configure.ac | |
parent | fccd5b48adf568f0aabe5d5f51206a9d42da095a (diff) | |
download | gcc-e5d9873fcb6f90d03b7534af53de39ec65d0cdc5.zip gcc-e5d9873fcb6f90d03b7534af53de39ec65d0cdc5.tar.gz gcc-e5d9873fcb6f90d03b7534af53de39ec65d0cdc5.tar.bz2 |
configure: Adjust several assembler checks to remove an unused parm.
In r12-3048-ge0b6d0b39c6, the GAS version parameter was removed from
the gcc_GAS_CHECK_FEATURE macro. It seems that overlapping comit/test
cycles resulted in several AMDGCN and one Darwin commit with the now
extra parameter still present.
This causes wrong configure code to be generated when autoreconf is
used in the gcc directory.
Fixed by removing the extraneous parm from the AMDGCN and Darwin cases.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:
* configure.ac (darwin2[[0-9]]* | darwin19*): Alter use of
gcc_GAS_CHECK_FEATURE to remove an extraneous parameter.
(amdgcn-* | gcn-*) Likewise.
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index c651db7..6f768e0 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4709,7 +4709,7 @@ foo: nop case $target_os in darwin2[[0-9]]* | darwin19*) gcc_GAS_CHECK_FEATURE([llvm assembler x86-pad-for-align option], - gcc_cv_as_mllvm_x86_pad_for_align,, + gcc_cv_as_mllvm_x86_pad_for_align, [-mllvm -x86-pad-for-align=false], [.text],, [AC_DEFINE(HAVE_AS_MLLVM_X86_PAD_FOR_ALIGN, 1, [Define if your Mac OS X assembler supports -mllvm -x86-pad-for-align=false.])]) @@ -5350,25 +5350,25 @@ esac case "$target" in amdgcn-* | gcn-*) gcc_GAS_CHECK_FEATURE([assembler accepts -mattr=+sram-ecc for fiji], - gcc_cv_as_gcn_sram_ecc_fiji,, + gcc_cv_as_gcn_sram_ecc_fiji, [-triple=amdgcn--amdhsa -mcpu=fiji -mattr=-xnack -mattr=+sram-ecc], [.amdgcn_target "amdgcn-unknown-amdhsa--gfx803+sram-ecc"],, [AC_DEFINE(HAVE_GCN_SRAM_ECC_FIJI, 1, [Define if your assembler allows -mattr=+sram-ecc for fiji.])]) gcc_GAS_CHECK_FEATURE([assembler accepts -mattr=+sram-ecc for gfx900], - gcc_cv_as_gcn_sram_ecc_gfx900,, + gcc_cv_as_gcn_sram_ecc_gfx900, [-triple=amdgcn--amdhsa -mcpu=gfx900 -mattr=-xnack -mattr=+sram-ecc], [.amdgcn_target "amdgcn-unknown-amdhsa--gfx900+sram-ecc"],, [AC_DEFINE(HAVE_GCN_SRAM_ECC_GFX900, 1, [Define if your assembler allows -mattr=+sram-ecc for gfx900.])]) gcc_GAS_CHECK_FEATURE([assembler accepts -mattr=+sram-ecc for gfx906], - gcc_cv_as_gcn_sram_ecc_gfx906,, + gcc_cv_as_gcn_sram_ecc_gfx906, [-triple=amdgcn--amdhsa -mcpu=gfx906 -mattr=-xnack -mattr=+sram-ecc], [.amdgcn_target "amdgcn-unknown-amdhsa--gfx906+sram-ecc"],, [AC_DEFINE(HAVE_GCN_SRAM_ECC_GFX906, 1, [Define if your assembler allows -mattr=+sram-ecc for gfx906.])]) gcc_GAS_CHECK_FEATURE([assembler accepts -mattr=+sram-ecc for gfx908], - gcc_cv_as_gcn_sram_ecc_gfx908,, + gcc_cv_as_gcn_sram_ecc_gfx908, [-triple=amdgcn--amdhsa -mcpu=gfx908 -mattr=-xnack -mattr=+sram-ecc], [.amdgcn_target "amdgcn-unknown-amdhsa--gfx908+sram-ecc"],, [AC_DEFINE(HAVE_GCN_SRAM_ECC_GFX908, 1, |