s390.c (s390_loadrelative_operand_p): New function.
[gcc.git] / libgomp / configure.tgt
index ef44a12a4bda3244f16093dd0ff1137d3ecb0a6e..d5a1480e4812634ae280238684cb2187b2c618f8 100644 (file)
@@ -31,6 +31,10 @@ if test $enable_linux_futex = yes; then
        config_path="linux/alpha linux posix"
        ;;
 
+    arm*-*-linux*)
+       config_path="linux posix"
+       ;;
+
     ia64*-*-linux*)
        config_path="linux/ia64 linux posix"
        ;;
@@ -47,11 +51,15 @@ if test $enable_linux_futex = yes; then
        config_path="linux/s390 linux posix"
        ;;
 
+    tile*-*-linux*)
+       config_path="linux/tile linux posix"
+       ;;
+
     # Note that bare i386 is not included here.  We need cmpxchg.
     i[456]86-*-linux*)
        config_path="linux/x86 linux posix"
        case " ${CC} ${CFLAGS} " in
-         *" -m64 "*)
+         *" -m64 "*|*" -mx32 "*)
            ;;
          *)
            if test -z "$with_arch"; then
@@ -97,18 +105,32 @@ fi
 # Other system configury
 case "${target}" in
 
-  *-*-hpux11*)
-       # HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
-       XLDFLAGS="${XLDFLAGS} -lrt"
+  *-*-hpux*)
+       case "${target}" in
+         *-*-hpux11*)
+            # HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
+            XLDFLAGS="${XLDFLAGS} -lrt"
+            ;;
+       esac
+       case "${target}" in
+         hppa[12]*-*-hpux*)
+           # PA 32 HP-UX needs -frandom-seed for bootstrap compare.
+           XCFLAGS="${XCFLAGS} -frandom-seed=fixed-seed"
+           ;;
+       esac
        ;;
 
   *-*-mingw32*)
        config_path="mingw32 posix"
        ;;
 
-  *-*-solaris2.[56]*)
-       config_path="posix95 posix"
-       XLDFLAGS="${XLDFLAGS} -lposix4"
+  *-*-darwin*)
+       config_path="bsd posix"
+       ;;
+
+  *-*-freebsd*)
+       # Need to link with -lpthread so libgomp.so is self-contained.
+       XLDFLAGS="${XLDFLAGS} -lpthread"
        ;;
 
   *)