GNU Binutils with patches for OS216
Revisión | b831bd7c90c327d37c4376bd5289c370ab9e8237 (tree) |
---|---|
Tiempo | 2001-10-25 15:33:31 |
Autor | Richard Henderson <rth@redh...> |
Commiter | Richard Henderson |
@@ -1,5 +1,10 @@ | ||
1 | 1 | 2001-10-24 Richard Henderson <rth@redhat.com> |
2 | 2 | |
3 | + * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy | |
4 | + timestamp to time_t for ctime. | |
5 | + | |
6 | +2001-10-24 Richard Henderson <rth@redhat.com> | |
7 | + | |
3 | 8 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> |
4 | 9 | * elfxx-ia64.c (elfNN_ia64_hash_table_create): Clear ia64_info. |
5 | 10 |
@@ -1825,7 +1825,10 @@ _bfd_XX_print_private_bfd_data_common (abfd, vfile) | ||
1825 | 1825 | #undef PF |
1826 | 1826 | |
1827 | 1827 | /* ctime implies '\n'. */ |
1828 | - fprintf (file, "\nTime/Date\t\t%s", ctime (&pe->coff.timestamp)); | |
1828 | + { | |
1829 | + time_t t = pe->coff.timestamp; | |
1830 | + fprintf (file, "\nTime/Date\t\t%s", ctime (&t)); | |
1831 | + } | |
1829 | 1832 | fprintf (file, "\nImageBase\t\t"); |
1830 | 1833 | fprintf_vma (file, i->ImageBase); |
1831 | 1834 | fprintf (file, "\nSectionAlignment\t"); |