Makefile.in (NM_FOR_TARGET): Look for ./nm, then .../binutils/nm-new instead of ...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 9 May 2001 13:37:28 +0000 (13:37 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 9 May 2001 13:37:28 +0000 (13:37 +0000)
* Makefile.in (NM_FOR_TARGET): Look for ./nm, then
../binutils/nm-new instead of ../binutils/nm.

From-SVN: r41924

gcc/ChangeLog
gcc/Makefile.in

index b4959ad8d250e769ff808e5c8393cee34b06a804..03cd38f029399558648290e07d207b1a2ecabc01 100644 (file)
@@ -1,3 +1,8 @@
+Wed May  9 10:36:18 2001  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
+       ../binutils/nm-new instead of ../binutils/nm.
+
 Wed May  9 12:15:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (movdi splitter): Fix the splitting condition
index 3cc5fc27a98e5be51fc988e905f80e06f2e3705e..4595047739174c9752380aed23c2d48ce996c4e1 100644 (file)
@@ -230,8 +230,10 @@ RANLIB_TEST_FOR_TARGET = \
   || ( [ "$(host_canonical)" = "$(target)" ] \
        && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )
 NM_FOR_TARGET = ` \
-  if [ -f $(objdir)/../binutils/nm ] ; then \
-    echo $(objdir)/../binutils/nm ; \
+  if [ -f ./nm ] ; then \
+    echo ./nm ; \
+  elif [ -f $(objdir)/../binutils/nm-new ] ; then \
+    echo $(objdir)/../binutils/nm-new ; \
   else \
     if [ "$(host_canonical)" = "$(target)" ] ; then \
       echo nm; \