tlink.c (scan_linker_output): Add support for darwin linker...
authorMike Stump <mrs@apple.com>
Fri, 23 May 2003 18:23:13 +0000 (18:23 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Fri, 23 May 2003 18:23:13 +0000 (18:23 +0000)
        * tlink.c (scan_linker_output): Add support for darwin linker, as it
        emits unresolved symbols one per line, consuming the entire line.

From-SVN: r67126

gcc/ChangeLog
gcc/tlink.c

index 8c33e66e4074bd2f87be11f91887bf8ac4d556ff..b9172275e3eff3518984fd1cf3b323940c4ff993 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-23  Mike Stump  <mrs@apple.com>
+
+       * tlink.c (scan_linker_output): Add support for darwin linker, as it
+       emits unresolved symbols one per line, consuming the entire line.
+
 2003-05-23  Larin Hennessy <larin@science.oregonstate.edu>
            Zack Weinberg <zack@codesourcery.com>
 
index 657472e27799b7c85d336bdce4282051525f1963..adac2886f3e956bbe00fcbcdcb51182e421ab6bf 100644 (file)
@@ -632,6 +632,12 @@ scan_linker_output (fname)
          /* Then try "double quotes".  */
          else if (p = strchr (oldq, '"'), p)
            p++, q = strchr (p, '"');
+         else {
+           /* Then try entire line.  */
+           q = strchr (oldq, 0);
+           if (q != oldq)
+             p = oldq;
+         }
 
          if (p)
            {