*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / configure.tgt
index 59aa62bea8e31fce5c6e0d1cdc30856c1f656e68..24331c30f701562ce0ae6f3d1c49f47263162f8e 100644 (file)
@@ -7,6 +7,10 @@
 #  gdb_osabi           default OS ABI to use with target
 #  build_gdbserver     set to "yes" if gdbserver supports target
 
+# NOTE: Every file added to a gdb_target_obs variable for any target here
+#       must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
+#      in Makefile.in!
+
 case $targ in
  d10v-*-* | \
  hppa*-*-hiux* | \
@@ -147,10 +151,14 @@ hppa*-*-*)
        gdb_target_obs="hppa-tdep.o"
        ;;
 
-i[34567]86-*-darwin* | x86_64-*-darwin*)
+i[34567]86-*-darwin*)
        # Target: Darwin/i386
-       gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
+       gdb_target_obs="i386-tdep.o i387-tdep.o \
                        i386-darwin-tdep.o solib.o solib-darwin.o"
+       if test "x$enable_64_bit_bfd" = "xyes"; then
+           # Target: GNU/Linux x86-64
+           gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
+       fi
        ;;
 i[34567]86-*-dicos*)
        # Target: DICOS/i386
@@ -177,6 +185,7 @@ i[34567]86-*-nto*)
        # Target: Intel 386 running qnx6.
        gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
                        i386-nto-tdep.o nto-tdep.o"
+       build_gdbserver=yes
        ;;
 i[34567]86-*-solaris2.1[0-9]*)
        # Target: Solaris x86_64
@@ -366,7 +375,8 @@ powerpc-*-aix* | rs6000-*-*)
 powerpc-*-linux* | powerpc64-*-linux*)
        # Target: PowerPC running Linux
        gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
-                       solib.o solib-svr4.o corelow.o symfile-mem.o"
+                       solib.o solib-svr4.o solib-spu.o spu-multiarch.o \
+                       corelow.o symfile-mem.o"
        gdb_sim=../sim/ppc/libsim.a
        build_gdbserver=yes
        ;;
@@ -387,7 +397,11 @@ s390*-*-*)
 
 score-*-*)
        # Target: S+core embedded system
-       gdb_target_obs="score-tdep.o"
+       gdb_target_obs="score-tdep.o corelow.o"
+       if test -f ../sim/score/Makefile; then
+         gdb_sim=../sim/score/libsim.a
+       fi
+       build_gdbserver=yes
        ;;
 
 sh*-*-linux*)
@@ -520,6 +534,13 @@ vax-*-*)
        gdb_target_obs="vax-tdep.o"
        ;;
 
+x86_64-*-darwin*)
+       # Target: Darwin/x86-64
+       gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
+                       i386-darwin-tdep.o amd64-darwin-tdep.o \
+                        solib.o solib-darwin.o"
+       ;;
+
 x86_64-*-dicos*)
        # Target: DICOS/x86-64
        gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
This page took 0.024961 seconds and 4 git commands to generate.