* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
[deliverable/binutils-gdb.git] / ld / emulparams / elf64_sparc.sh
index 7a4d2dc9c5d09e7207f7afa99e4003c72af2289a..3bc3ea87195b8a46c10705308eaf4612807a6ce6 100644 (file)
@@ -28,31 +28,23 @@ if test `echo "$host" | sed -e 's/64//;s/v[789]//'` \
  = `echo "$target" | sed -e 's/64//;s/v[789]//'`; then
   case " $EMULATION_LIBPATH " in
     *" ${EMULATION_NAME} "*)
-      LIB_PATH=${libdir}
-      for lib in ${NATIVE_LIB_DIRS}; do
-       case :${LIB_PATH}: in
-         *:${lib}:*) ;;
-         *) LIB_PATH=${LIB_PATH}:${lib} ;;
-       esac
-      done
-
-      # Linux and Solaris modify the default library search path
-      # to first include a 64-bit specific directory.  It's put
-      # in slightly different places on the two systems.
-      case "$target" in
-       sparc*-linux*)
-         suffix=64 ;;
-       sparc*-solaris*)
-         suffix=/sparcv9 ;;
-      esac
-
-      # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
-      # on Linux and /lib/sparcv9, /usr/lib/sparcv9 etc. on Solaris.
-      if [ -n "$suffix" ]; then
-       case "$EMULATION_NAME" in
-         *64*)
-           LIB_PATH=`echo ${LIB_PATH}: | sed -e s,:,$suffix:,g`$LIB_PATH ;;
-       esac
-      fi ;;
+      NATIVE=yes
+      ;;
   esac
 fi
+
+# Linux and Solaris modify the default library search path
+# to first include a 64-bit specific directory.  It's put
+# in slightly different places on the two systems.
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
+# on Linux and /lib/sparcv9, /usr/lib/sparcv9 etc. on Solaris.
+case "$EMULATION_NAME" in
+  *64*)
+    case "$target" in
+      sparc*-linux*)
+       suffix=64 ;;
+      sparc*-solaris*)
+       suffix=/sparcv9 ;;
+    esac
+    ;;
+esac
This page took 0.02411 seconds and 4 git commands to generate.