diff options
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 0d8dbc4..04e88cc 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -273,7 +273,7 @@ esac # Obsolete configurations. case ${target} in ia64*-*-hpux* | ia64*-*-*vms* | ia64*-*-elf* \ - | m32c*-*-* \ + | m32c*-*-* | epiphany*-*-* | rl78*-*-* \ ) if test "x$enable_obsolete" != xyes; then echo "*** Configuration ${target} is obsolete." >&2 @@ -351,7 +351,7 @@ aarch64*-*-*) c_target_objs="aarch64-c.o" cxx_target_objs="aarch64-c.o" d_target_objs="aarch64-d.o" - extra_objs="aarch64-builtins.o aarch-common.o aarch64-elf-metadata.o aarch64-sve-builtins.o aarch64-sve-builtins-shapes.o aarch64-sve-builtins-base.o aarch64-sve-builtins-sve2.o aarch64-sve-builtins-sme.o cortex-a57-fma-steering.o aarch64-speculation.o aarch-bti-insert.o aarch64-cc-fusion.o aarch64-early-ra.o aarch64-ldp-fusion.o" + extra_objs="aarch64-builtins.o aarch-common.o aarch64-elf-metadata.o aarch64-sve-builtins.o aarch64-sve-builtins-shapes.o aarch64-sve-builtins-base.o aarch64-sve-builtins-sve2.o aarch64-sve-builtins-sme.o cortex-a57-fma-steering.o aarch64-speculation.o aarch-bti-insert.o aarch64-early-ra.o aarch64-ldp-fusion.o" target_gtfiles="\$(srcdir)/config/aarch64/aarch64-protos.h \$(srcdir)/config/aarch64/aarch64-builtins.h \$(srcdir)/config/aarch64/aarch64-builtins.cc \$(srcdir)/config/aarch64/aarch64-sve-builtins.h \$(srcdir)/config/aarch64/aarch64-sve-builtins.cc" target_has_targetm_common=yes ;; @@ -3207,7 +3207,7 @@ powerpcle-*-eabi*) ;; pru*-*-*) tm_file="elfos.h newlib-stdint.h ${tm_file}" - tmake_file="${tmake_file} pru/t-pru" + tmake_file="${tmake_file} pru/t-multilib pru/t-pru" extra_objs="pru-pragma.o pru-passes.o" use_gcc_stdint=wrap ;; @@ -4658,7 +4658,7 @@ case "${target}" in ;; i[34567]86-*-* | x86_64-*-*) - supported_defaults="abi arch arch_32 arch_64 cpu cpu_32 cpu_64 tune tune_32 tune_64" + supported_defaults="abi arch arch_32 arch_64 cpu cpu_32 cpu_64 tune tune_32 tune_64 tls" for which in arch arch_32 arch_64 cpu cpu_32 cpu_64 tune tune_32 tune_64; do eval "val=\$with_$which" case " $x86_archs " in @@ -4717,6 +4717,17 @@ case "${target}" in ;; esac done + + # Handle --with-tls. + case "$with_tls" in + ""|gnu|gnu2) + # OK + ;; + *) + echo "Unknown TLS method used in --with-tls=$with_tls" 1>&2 + exit 1 + ;; + esac ;; riscv*-*-*) @@ -4782,7 +4793,7 @@ case "${target}" in exit 1 ;; esac - PYTHON=`which python || which python3 || which python2` + PYTHON=`which python3 || which python` if test "x${PYTHON}" != x; then with_arch=`${PYTHON} ${srcdir}/config/riscv/arch-canonicalize -misa-spec=${with_isa_spec} ${with_arch}` fi |