summaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-23 18:23:13 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-23 18:23:13 +0000
commit9511f117274704c3c5d38c7e68ce2df21ac9c861 (patch)
tree21762854287d2a377b466b1f6905790597031ff6 /gcc/tlink.c
parent2a847d749bb4a8da70b880b3a3b758091f2f6615 (diff)
downloadgcc-9511f117274704c3c5d38c7e68ce2df21ac9c861.tar.gz
* tlink.c (scan_linker_output): Add support for darwin linker, as it
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
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 657472e2779..adac2886f3e 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -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)
{