(putenv): New function, copied from gcc.c.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 11 Feb 1993 10:55:22 +0000 (05:55 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 11 Feb 1993 10:55:22 +0000 (05:55 -0500)
commit45840c57d7696f1b146de6f902c3827908bee77a
tree8b7bc70f1d976d4d41aababe8f73f4c74d333027
parent9937da1a0c1aee623a0076efba7b55a4d7aa5158
(putenv): New function, copied from gcc.c.

(last_file_name): New variable.
(find_a_file): Ignore name in last_file_name too.
(main): Look at name in COLLECT_NAME and set it to the name we were called
with.
Pass filename used for ld to ld as argv[0].

From-SVN: r3461
gcc/collect2.c