summaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
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)
{