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 | |
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')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 3 |
2 files changed, 7 insertions, 1 deletions
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 <donn@interix.com> + + * 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 <<EOF /* This file is part of GLD, the Gnu Linker. Copyright 1995, 96, 97, 98, 1999 Free Software Foundation, Inc. |