summaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-11 05:53:53 +0000
committerRoland McGrath <roland@gnu.org>1995-10-11 05:53:53 +0000
commitdb65048bb3c73fc0ec408df62c6f78fa39d62d85 (patch)
treebd924c431be839070bf9c83bbfe75e889a3ce57e /csu
parent8e3cc80f6d4f69ce003c82d3561ac324692792ad (diff)
Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makeconfig (config-LDFLAGS): Add missing slash. * sysdeps/mach/hurd/profil.c (fork_profil): Only call update_waiter if profiling was enabled in the parent. * csu/initfini.c: Don't pass -f flag to cp.
Diffstat (limited to 'csu')
-rw-r--r--csu/initfini.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/csu/initfini.c b/csu/initfini.c
index 8dcd30a008..b0d0e68cbd 100644
--- a/csu/initfini.c
+++ b/csu/initfini.c
@@ -53,8 +53,9 @@ void _fini (void) __attribute__ ((section (".fini")));
/* End the here document containing the initial common code.
Then move the output file crtcommon.tmp to crti.s-new and crtn.s-new. */
asm ("\nEOF_common\n\
-mv -f crtcommon.tmp crti.s-new\n\
-cp -f crti.s-new crtn.s-new");
+rm -f crti.s-new crtn.s-new\n\
+mv crtcommon.tmp crti.s-new\n\
+cp crti.s-new crtn.s-new");
/* Append the .init prologue to crti.s-new. */
asm ("cat >> crti.s-new <<\\EOF.crti.init");