comparison gcc/tlink.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
281 tlink_execute (const char *prog, char **argv, const char *outname, 281 tlink_execute (const char *prog, char **argv, const char *outname,
282 const char *errname) 282 const char *errname)
283 { 283 {
284 struct pex_obj *pex; 284 struct pex_obj *pex;
285 285
286 pex = collect_execute (prog, argv, outname, errname); 286 pex = collect_execute (prog, argv, outname, errname, PEX_LAST | PEX_SEARCH);
287 return collect_wait (prog, pex); 287 return collect_wait (prog, pex);
288 } 288 }
289 289
290 static char * 290 static char *
291 frob_extension (const char *s, const char *ext) 291 frob_extension (const char *s, const char *ext)
727 } 727 }
728 728
729 if (sym && sym->tweaked) 729 if (sym && sym->tweaked)
730 { 730 {
731 error ("'%s' was assigned to '%s', but was not defined " 731 error ("'%s' was assigned to '%s', but was not defined "
732 "during recompilation, or vice versa", 732 "during recompilation, or vice versa",
733 sym->key, sym->file->key); 733 sym->key, sym->file->key);
734 fclose (stream); 734 fclose (stream);
735 return 0; 735 return 0;
736 } 736 }
737 if (sym && !sym->tweaking) 737 if (sym && !sym->tweaking)