This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Correct comment concerning PE timestamp insertion.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dfbfec241aa0ec5359906dd9cdf89ff90750d7c5

commit dfbfec241aa0ec5359906dd9cdf89ff90750d7c5
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date:   Fri Nov 9 16:06:48 2018 +0000

    Correct comment concerning PE timestamp insertion.
    
    	* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Correct comment
    	concerning timestamp insertion.

Diff:
---
 bfd/ChangeLog  | 21 +++++++++++++--------
 bfd/peXXigen.c |  3 ++-
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8dad3ea..554ca27 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,15 +1,20 @@
+2018-11-09  Bernhard M. Wiedemann  <bwiedemann@suse.de>
+
+	* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Correct comment
+	concerning timestamp insertion.
+
 2018-11-09  Cupertino Miranda  <cmiranda@synopsys.com>
 
 	* arc-got.h (arc_got_entry_type_for_reloc): Changed to
-	  correct static TLS relocs.
+	correct static TLS relocs.
 	* elf32-arc.c (elf_arc_check_relocs): Introduced warning to
-	  TLS relocs which require -fPIC.
-	  (arc_create_forced_local_got_entries_for_tls): Created.
-	  Traverses list of GOT entries to be resolved statically
-	  when needed.
-	  (elf_arc_finish_dynamic_sections): Changed. Calls
-	  arc_create_forced_local_got_entries_for_tls for each known
-	  possibly GOT symbol.
+	TLS relocs which require -fPIC.
+	(arc_create_forced_local_got_entries_for_tls): Created.
+	Traverses list of GOT entries to be resolved statically
+	when needed.
+	(elf_arc_finish_dynamic_sections): Changed. Calls
+	arc_create_forced_local_got_entries_for_tls for each known
+	possibly GOT symbol.
 
 2018-11-09  rhn  <sowaac.rhn@porcupinefactory.org>
 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]