aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-03-02 09:03:58 +0000
committerJan Beulich <jbeulich@novell.com>2005-03-02 09:03:58 +0000
commitbb14f524002c5b0e93c17e929109f4c735f11f5b (patch)
treeb7770e62a4202287cefd5d0409b400908b88d981 /gas/as.c
parentc4a530c52970c9fdd3a6c0315503a058e132f073 (diff)
downloadgdb-bb14f524002c5b0e93c17e929109f4c735f11f5b.zip
gdb-bb14f524002c5b0e93c17e929109f4c735f11f5b.tar.gz
gdb-bb14f524002c5b0e93c17e929109f4c735f11f5b.tar.bz2
bfd/
2005-03-02 Jan Beulich <jbeulich@novell.com> * Makefile.am: Add dependency of cache.o on libiberty.h. * cache.c: Include libiberty.h. (bfd_open_file): Use unlink_if_ordinary instead of unlink. binutils/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * ar.c (remove_output): Use unlink_if_ordinary instead of unlink. * objcopy.c (copy_file): Likewise. (strip_main): Likewise. gas/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * as.c (main): Use unlink_if_ordinary instead of unlink. * messages.c (as_fatal): Likewise. ld/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. * pe-dll.c (pe_dll_generate_implib): Likewise.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/as.c b/gas/as.c
index d16ad88..ad32a19 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -1205,7 +1205,7 @@ main (int argc, char ** argv)
keep_it = 0;
if (!keep_it)
- unlink (out_file_name);
+ unlink_if_ordinary (out_file_name);
input_scrub_end ();