#
# thread_file Set to control which thread package to use.
#
-# gas Set to yes or no depending on whether the target
-# system normally uses GNU as.
-#
# configure_default_options
# Set to an initializer for configure_default_options
# in configargs.h, based on --with-cpu et cetera.
gdb_needs_out_file_path=
# Set this to control which thread package will be used.
thread_file=
-# Reinitialize these from the flag values every loop pass, since some
-# configure entries modify them.
-gas="$gas_flag"
gnu_ld="$gnu_ld_flag"
default_use_cxa_atexit=no
default_gnu_indirect_function=no
esac
;;
*-*-dragonfly*)
- gas=yes
gnu_ld=yes
tmake_file="t-slibgcc"
case ${enable_threads} in
# The machine-specific section should not tamper with this
# ordering but may order all other entries of tm_file as it
# pleases around the provided core setting.
- gas=yes
gnu_ld=yes
fbsd_major=`echo ${target} | sed -e 's/.*freebsd//g' | sed -e 's/\..*//g'`
if test "$fbsd_major" = ""; then
;;
*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu | *-*-uclinuxfdpiceabi)
extra_options="$extra_options gnu-user.opt"
- gas=yes
gnu_ld=yes
case ${enable_threads} in
"" | yes | posix) thread_file='posix' ;;
tmake_file="t-netbsd t-slibgcc"
extra_objs="${extra_objs} netbsd.o"
d_target_objs="${d_target_objs} netbsd-d.o"
- gas=yes
gnu_ld=yes
use_gcc_stdint=wrap
case ${enable_threads} in
target_has_targetrustm=yes
;;
*-*-phoenix*)
- gas=yes
gnu_ld=yes
default_use_cxa_atexit=yes
;;
cris-*-elf | cris-*-none)
tm_file="elfos.h newlib-stdint.h ${tm_file}"
tmake_file="cris/t-cris cris/t-elfmulti"
- gas=yes
extra_options="${extra_options} cris/elf.opt"
use_gcc_stdint=wrap
;;
tmake_file="${tmake_file} frv/t-frv frv/t-linux"
;;
ft32-*-elf)
- gas=yes
gnu_ld=yes
tm_file="elfos.h newlib-stdint.h ${tm_file}"
tmake_file="${tmake_file} ft32/t-ft32"
thread_file=gcn
;;
moxie-*-elf)
- gas=yes
gnu_ld=yes
tm_file="elfos.h newlib-stdint.h ${tm_file}"
tmake_file="${tmake_file} moxie/t-moxie"
;;
moxie-*-uclinux*)
- gas=yes
gnu_ld=yes
tm_file="elfos.h ${tm_file} gnu-user.h linux.h glibc-stdint.h moxie/uclinux.h"
tmake_file="${tmake_file} moxie/t-moxie"
tm_file="moxie/moxie.h elfos.h moxie/rtems.h rtems.h newlib-stdint.h"
;;
moxie-*-moxiebox*)
- gas=yes
gnu_ld=yes
tm_file="${tm_file} elfos.h moxie/moxiebox.h newlib-stdint.h"
tmake_file="${tmake_file} moxie/t-moxiebox"
pa/pa64-linux.h"
tmake_file="${tmake_file} pa/t-pa pa/t-linux"
d_target_objs="${d_target_objs} pa-d.o"
- gas=yes gnu_ld=yes
+ gnu_ld=yes
;;
hppa*-*-linux*)
target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS|MASK_CALLER_COPIES"
extra_options="${extra_options} openbsd.opt"
tmake_file="pa/t-pa"
d_target_objs="${d_target_objs} pa-d.o"
- gas=yes
gnu_ld=yes
;;
hppa*-*-netbsd*)
thread_file=posix
;;
esac
- gas=yes
case ${target} in
*-*-hpux11.[01]*)
use_gcc_stdint=provide
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h"
tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/openbsdelf.h"
extra_options="${extra_options} openbsd.opt"
- gas=yes
gnu_ld=yes
;;
x86_64-*-openbsd*)
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h"
tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/x86-64.h i386/openbsdelf.h"
extra_options="${extra_options} openbsd.opt"
- gas=yes
gnu_ld=yes
;;
i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
native_system_header_dir=/dev/env/DJDIR/include
extra_options="${extra_options} i386/djgpp.opt"
gnu_ld=yes
- gas=yes
use_gcc_stdint=wrap
;;
i[34567]86-*-lynxos*)
extra_options="${extra_options} lynx.opt"
thread_file=lynx
gnu_ld=yes
- gas=yes
;;
i[34567]86-*-nto-qnx*)
tm_file="${tm_file} i386/att.h tm-dwarf2.h elfos.h i386/unix.h i386/nto.h"
extra_options="${extra_options} i386/nto.opt"
gnu_ld=yes
- gas=yes
;;
i[34567]86-*-rtems*)
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h"
extra_objs="${extra_objs} winnt.o winnt-stubs.o winnt-dll.o"
c_target_objs="${c_target_objs} msformat-c.o"
cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
- gas=yes
gnu_ld=yes
default_use_cxa_atexit=yes
use_gcc_stdint=wrap
tm_file="${tm_file} elfos.h newlib-stdint.h ia64/sysv4.h ia64/elf.h"
tmake_file="ia64/t-ia64"
target_cpu_default="0"
- if test x$gas = xyes
- then
- target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
- fi
+ target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
if test x$gnu_ld = xyes
then
target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
tm_file="${tm_file} elfos.h ia64/sysv4.h vms/vms.h ia64/vms.h"
tmake_file="${tmake_file} ia64/t-ia64"
target_cpu_default="0"
- if test x$gas = xyes
- then
- target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
- fi
+ target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
extra_options="${extra_options} ia64/vms.opt"
;;
iq2000*-*-elf*)
tmake_file="${tmake_file} riscv/t-riscv riscv/t-linux"
tm_defines="${tm_defines} TARGET_DEFAULT_ASYNC_UNWIND_TABLES=1"
gnu_ld=yes
- gas=yes
case $target in
riscv32be-*|riscv64be-*)
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
tm_file="elfos.h gnu-user.h gnu.h glibc-stdint.h ${tm_file} riscv/gnu.h"
tmake_file="${tmake_file} riscv/t-riscv"
gnu_ld=yes
- gas=yes
case $target in
riscv32be-*|riscv64be-*)
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
esac
tmake_file="${tmake_file} riscv/t-riscv"
gnu_ld=yes
- gas=yes
case $target in
riscv32be-*|riscv64be-*)
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
tm_file="${tm_file} elfos.h ${fbsd_tm_file} riscv/freebsd.h"
tmake_file="${tmake_file} riscv/t-riscv"
gnu_ld=yes
- gas=yes
case $target in
riscv32be-*|riscv64be-*)
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
extra_options="${extra_options} linux-android.opt"
tmake_file="${tmake_file} loongarch/t-multilib loongarch/t-linux"
gnu_ld=yes
- gas=yes
# Force .init_array support. The configure script cannot always
# automatically detect that GAS supports it, yet we require it.
tm_file="${tm_file} loongarch/elf.h loongarch/loongarch-driver.h"
tmake_file="${tmake_file} loongarch/t-multilib"
gnu_ld=yes
- gas=yes
# For .init_array support. The configure script cannot always
# automatically detect that GAS supports it, yet we require it.
with_arch_32="mips32r6"
with_arch_64="mips64r6"
gnu_ld=yes
- gas=yes
;;
mips*-mti-linux*)
tm_file="elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h mips/linux-common.h mips/mti-linux.h"
with_arch_32="mips32r2"
with_arch_64="mips64r2"
gnu_ld=yes
- gas=yes
;;
mips*-*-linux*) # Linux MIPS, either endian.
tm_file="elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h mips/linux-common.h"
extra_options="${extra_options} rs6000/sysv4.opt lynx.opt"
thread_file=lynx
gnu_ld=yes
- gas=yes
;;
powerpcle-*-elf*)
tm_file="${tm_file} elfos.h gnu-user.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h"
tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h sparc/openbsd64.h"
extra_options="${extra_options} openbsd.opt"
extra_options="${extra_options}"
- gas=yes gnu_ld=yes
+ gnu_ld=yes
with_cpu=ultrasparc
tmake_file="${tmake_file} sparc/t-sparc"
;;
;;
am33_2.0-*-linux*)
tm_file="mn10300/mn10300.h elfos.h gnu-user.h linux.h glibc-stdint.h mn10300/linux.h"
- gas=yes gnu_ld=yes
+ gnu_ld=yes
use_collect2=no
;;
*)
;;
hppa*-*-*)
- if test x$gas = xyes
- then
- target_cpu_default2="MASK_GAS"
- fi
+ target_cpu_default2="MASK_GAS"
;;
fido*-*-* | m68k*-*-*)