* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
timestamp to time_t for ctime.
This commit is contained in:
parent
67605879b9
commit
0b6488e20b
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-10-24 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
|
||||||
|
timestamp to time_t for ctime.
|
||||||
|
|
||||||
2001-10-24 Hans-Peter Nilsson <hp@axis.com>
|
2001-10-24 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* elf32-cris.c (cris_reloc_type_lookup): Change loop to use
|
* elf32-cris.c (cris_reloc_type_lookup): Change loop to use
|
||||||
|
|
|
@ -1767,7 +1767,10 @@ _bfd_XX_print_private_bfd_data_common (abfd, vfile)
|
||||||
#undef PF
|
#undef PF
|
||||||
|
|
||||||
/* ctime implies '\n'. */
|
/* ctime implies '\n'. */
|
||||||
fprintf (file, "\nTime/Date\t\t%s", ctime (&pe->coff.timestamp));
|
{
|
||||||
|
time_t t = pe->coff.timestamp;
|
||||||
|
fprintf (file, "\nTime/Date\t\t%s", ctime (&t));
|
||||||
|
}
|
||||||
fprintf (file, "\nImageBase\t\t");
|
fprintf (file, "\nImageBase\t\t");
|
||||||
fprintf_vma (file, i->ImageBase);
|
fprintf_vma (file, i->ImageBase);
|
||||||
fprintf (file, "\nSectionAlignment\t");
|
fprintf (file, "\nSectionAlignment\t");
|
||||||
|
|
Loading…
Reference in a new issue