gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com> * gcc.c (do_spec_1): Fix off-by-one error for '%M' case. From-SVN: r39684
This commit is contained in:
parent
c6d9a88cbc
commit
55bd9f24ca
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
|
||||
|
||||
* gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
|
||||
|
||||
2001-02-14 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* Makefile.in (toplev.o): Depend on params.h.
|
||||
|
|
|
@ -4493,7 +4493,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
|
|||
|
||||
len = strlen (multilib_dir);
|
||||
obstack_blank (&obstack, len + 1);
|
||||
p = obstack_next_free (&obstack) - len;
|
||||
p = obstack_next_free (&obstack) - (len + 1);
|
||||
|
||||
*p++ = '_';
|
||||
for (q = multilib_dir; *q ; ++q, ++p)
|
||||
|
|
Loading…
Add table
Reference in a new issue