diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2018-11-09 16:06:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-11-09 16:06:48 +0000 |
commit | dfbfec241aa0ec5359906dd9cdf89ff90750d7c5 (patch) | |
tree | 5411d2f434cfb423b159a96244d5b4cafca092f8 /bfd/peXXigen.c | |
parent | 20b233dc4872717a845066b0362582ea4f483df7 (diff) | |
download | gdb-dfbfec241aa0ec5359906dd9cdf89ff90750d7c5.zip gdb-dfbfec241aa0ec5359906dd9cdf89ff90750d7c5.tar.gz gdb-dfbfec241aa0ec5359906dd9cdf89ff90750d7c5.tar.bz2 |
Correct comment concerning PE timestamp insertion.
* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Correct comment
concerning timestamp insertion.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r-- | bfd/peXXigen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index e0b494a..bfa2116 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -877,7 +877,8 @@ _bfd_XXi_only_swap_filehdr_out (bfd * abfd, void * in, void * out) H_PUT_16 (abfd, filehdr_in->f_magic, filehdr_out->f_magic); H_PUT_16 (abfd, filehdr_in->f_nscns, filehdr_out->f_nscns); - /* Only use a real timestamp if the option was chosen. */ + /* Use a real timestamp by default, unless the no-insert-timestamp + option was chosen. */ if ((pe_data (abfd)->insert_timestamp)) H_PUT_32 (abfd, time (0), filehdr_out->f_timdat); else |