if test $gcc_cv_have_tls = yes ; then
case "${target}" in
- *-*-linux*)
+ *-*-k*bsd*-gnu*)
+ ;;
+
+ *-*-linux* | *-*-gnu*)
XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
;;
esac
if test $enable_linux_futex = yes; then
case "${target}" in
+ aarch64*-*-linux*)
+ config_path="linux posix"
+ ;;
+
alpha*-*-linux*)
config_path="linux/alpha linux posix"
;;
i[456]86-*-linux*)
config_path="linux/x86 linux posix"
case " ${CC} ${CFLAGS} " in
- *" -m64 "*)
+ *" -m64 "*|*" -mx32 "*)
;;
*)
if test -z "$with_arch"; then
XLDFLAGS="${XLDFLAGS} -lpthread"
;;
- alpha*-dec-osf*)
- # Use Tru64 UNIX-specific sem.h version.
- config_path="osf posix"
- ;;
-
- mips-sgi-irix6*)
- # Need to link with -lpthread so libgomp.so is self-contained.
- XLDFLAGS="${XLDFLAGS} -lpthread"
- ;;
*)
;;