On Sat, Oct 29, 2011 at 10:09:48AM +0200, Andi Kleen wrote: > > This broke cross to cris-elf and I guess many other targets > > with TOT binutils, as follows: > > > > mv -f Tlto-wrapper lto-wrapper > > Oops. Can you please confirm this patch fixes it?
I committed the patch with ChangeLog as as obvious now, after running a full test and testing the if path manually. -Andi > > -Andi > > diff --git a/gcc/gcc-ar.c b/gcc/gcc-ar.c > index fc7e4a2..1e86d20 100644 > --- a/gcc/gcc-ar.c > +++ b/gcc/gcc-ar.c > @@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see > > static const char standard_libexec_prefix[] = STANDARD_LIBEXEC_PREFIX; > static const char standard_bin_prefix[] = STANDARD_BINDIR_PREFIX; > +static const char *const target_machine = TARGET_MACHINE; > > static const char dir_separator[] = { DIR_SEPARATOR, 0 }; > > -- a...@linux.intel.com -- Speaking for myself only.