aboutsummaryrefslogtreecommitdiff
path: root/gcc/collect2.h
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2012-05-04 08:05:52 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2012-05-04 08:05:52 +0000
commit9178a345850d1c35cc1fe2bed529a8a0029c4251 (patch)
tree9b72ad775413c2a0a25e1d2594e350d5480b8620 /gcc/collect2.h
parentb50ff8bbb379d7be46b3e516e02e4c9ed08d3c14 (diff)
downloadgcc-9178a345850d1c35cc1fe2bed529a8a0029c4251.zip
gcc-9178a345850d1c35cc1fe2bed529a8a0029c4251.tar.gz
gcc-9178a345850d1c35cc1fe2bed529a8a0029c4251.tar.bz2
collect2.c (may_unlink_output_file): New global.
* 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. From-SVN: r187148
Diffstat (limited to 'gcc/collect2.h')
-rw-r--r--gcc/collect2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/collect2.h b/gcc/collect2.h
index e18892d..d55198d 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;