From: Ian Lance Taylor Date: Mon, 13 Sep 1999 23:45:47 +0000 (+0000) Subject: 1999-09-13 Donn Terry X-Git-Tag: gdb-1999-09-21~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=361d94e76821d32498bb1e3d3848b5bae0654ae3;p=external%2Fbinutils.git 1999-09-13 Donn Terry * emultempl/pe.em: Remove the output file at the start, in case it is not writable. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index c1b479a..e9a4474 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-09-13 Donn Terry + + * emultempl/pe.em: Remove the output file at the start, in case it + is not writable. + Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com) * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index d6a7573..8823e18 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -1,6 +1,7 @@ # This shell script emits a C file. -*- C -*- # It does some substitutions. -(echo;echo;echo;echo)>e${EMULATION_NAME}.c # there, now line numbers match ;-) +rm -f e${EMULATION_NAME}.c +(echo;echo;echo;echo;echo)>e${EMULATION_NAME}.c # there, now line numbers match ;-) cat >>e${EMULATION_NAME}.c <