* collect2.c (may_unlink_output_file): New global.
commit2b98e22bd8af0c0d0b0e02720a508dcea3672658
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 08:05:52 +0000 (4 08:05 +0000)
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 08:05:52 +0000 (4 08:05 +0000)
tree9b72ad775413c2a0a25e1d2594e350d5480b8620
parente2efe9af04a8879ce46534dd3a19558b58fa9734
    * collect2.c (may_unlink_output_file): New global.
        (maybe_unlink): Honor it.
        * collect2.h: Add extern for it.
        * tlink.c (do_tlink): Set it to true if the link succeeded.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187148 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/collect2.c
gcc/collect2.h
gcc/tlink.c