diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-13 23:45:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-13 23:45:47 +0000 |
commit | 361d94e76821d32498bb1e3d3848b5bae0654ae3 (patch) | |
tree | d5936a1128ccceba0824d6541d0b99e8dee99194 /ld/emultempl | |
parent | 7920749071fe486d74070f3e87aff1b4a1fbf6c6 (diff) | |
download | gdb-361d94e76821d32498bb1e3d3848b5bae0654ae3.zip gdb-361d94e76821d32498bb1e3d3848b5bae0654ae3.tar.gz gdb-361d94e76821d32498bb1e3d3848b5bae0654ae3.tar.bz2 |
1999-09-13 Donn Terry <donn@interix.com>
* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/pe.em | 3 |
1 files changed, 2 insertions, 1 deletions
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 <<EOF /* This file is part of GLD, the Gnu Linker. Copyright 1995, 96, 97, 98, 1999 Free Software Foundation, Inc. |