From bb14f524002c5b0e93c17e929109f4c735f11f5b Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 2 Mar 2005 09:03:58 +0000 Subject: bfd/ 2005-03-02 Jan Beulich * 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 * 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 * as.c (main): Use unlink_if_ordinary instead of unlink. * messages.c (as_fatal): Likewise. ld/ 2005-03-02 Jan Beulich * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. * pe-dll.c (pe_dll_generate_implib): Likewise. --- ld/pe-dll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/pe-dll.c') diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 3bbc5b6..81834ec 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -2225,7 +2225,7 @@ pe_dll_generate_implib (def_file *def, const char *impfilename) if (!ISALNUM (dll_symname[i])) dll_symname[i] = '_'; - unlink (impfilename); + unlink_if_ordinary (impfilename); outarch = bfd_openw (impfilename, 0); -- cgit v1.1