OSDN Git Service

* tlink.c (scan_linker_output): Add support for darwin linker, as it
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 May 2003 18:23:13 +0000 (18:23 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 May 2003 18:23:13 +0000 (18:23 +0000)
        emits unresolved symbols one per line, consuming the entire line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67126 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tlink.c

index 8c33e66..b917227 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 657472e..adac288 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)
            {