forked from Imagelibrary/binutils-gdb
* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
timestamp to time_t for ctime.
This commit is contained in:
@@ -1767,7 +1767,10 @@ _bfd_XX_print_private_bfd_data_common (abfd, vfile)
|
||||
#undef PF
|
||||
|
||||
/* 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_vma (file, i->ImageBase);
|
||||
fprintf (file, "\nSectionAlignment\t");
|
||||
|
||||
Reference in New Issue
Block a user