diff options
author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-04 08:05:52 +0000 |
---|---|---|
committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-04 08:05:52 +0000 |
commit | 2b98e22bd8af0c0d0b0e02720a508dcea3672658 (patch) | |
tree | 9b72ad775413c2a0a25e1d2594e350d5480b8620 /gcc/collect2.h | |
parent | e2efe9af04a8879ce46534dd3a19558b58fa9734 (diff) | |
download | gcc-2b98e22bd8af0c0d0b0e02720a508dcea3672658.tar.gz |
* 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
Diffstat (limited to 'gcc/collect2.h')
-rw-r--r-- | gcc/collect2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/collect2.h b/gcc/collect2.h index e18892d3a55..d55198dce23 100644 --- a/gcc/collect2.h +++ b/gcc/collect2.h @@ -40,6 +40,7 @@ extern const char *c_file_name; extern struct obstack temporary_obstack; extern char *temporary_firstobj; extern bool vflag, debug; +extern bool may_unlink_output_file; extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1; extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1; |