32/64 startfile path handling

Ulrich Weigand Ulrich.Weigand@de.ibm.com
Thu Jun 13 12:36:00 GMT 2002


Alan Modra wrote:

>-  /* If not cross-compiling, look for startfiles in the standard places.
*/
>-  if (*cross_compile == '0')
>+  /* If not cross-compiling, look for startfiles in the standard places.
>+     Similarly, don't add the standard prefixes if startfile handling
>+     will be under control of startfile_prefix_spec.  */
>+  if (*cross_compile == '0' || *startfile_prefix_spec == 0)

The 'if'-condition appears to be wrong; this should be '&&' instead of '||'
unless I'm missing something here ...


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com



More information about the Gcc-patches mailing list