aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-10-03 20:45:37 +0000
committerIan Lance Taylor <ian@airs.com>1997-10-03 20:45:37 +0000
commit478aa09cef75090dad9d9a2773f2742d8d0a17dc (patch)
treeafaf1dc3c5ec7b0dcbf9d364f33436b459c12dbd /binutils
parenta657bc190c8cbef41e2cfed796a83d71047db1e2 (diff)
downloadgdb-478aa09cef75090dad9d9a2773f2742d8d0a17dc.zip
gdb-478aa09cef75090dad9d9a2773f2742d8d0a17dc.tar.gz
gdb-478aa09cef75090dad9d9a2773f2742d8d0a17dc.tar.bz2
* objcopy.c (set_times): New static function, replacing
make_same_dates. (strip_main): If preserve_dates, stat the input file before copying it, and call set_times afterward. (copy_main): Likewise.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f0717b4..f619950 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,11 @@
Fri Oct 3 12:04:25 1997 Ian Lance Taylor <ian@cygnus.com>
+ * objcopy.c (set_times): New static function, replacing
+ make_same_dates.
+ (strip_main): If preserve_dates, stat the input file before
+ copying it, and call set_times afterward.
+ (copy_main): Likewise.
+
* wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
char * when calling strcpy and strlen.