1999-09-11 Donn Terry <donn@interix.com>

* coffcode.h (coff_mkobject_hook): Set timestamp field in
	coff_data_type to f_timdat.
	* peicode.h (pe_mkobject_hook): Likewise.
This commit is contained in:
Ian Lance Taylor 1999-09-11 22:46:37 +00:00
parent 05bf877ad1
commit 1135238bd0
3 changed files with 8 additions and 0 deletions

View file

@ -7,6 +7,10 @@
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_mkobject_hook): Set timestamp field in
coff_data_type to f_timdat.
* peicode.h (pe_mkobject_hook): Likewise.
* peicode.h (coff_swap_filehdr_in): Check the NT executable magic
number if COFF_IMAGE_WITH_PE.

View file

@ -1594,6 +1594,8 @@ coff_mkobject_hook (abfd, filehdr, aouthdr)
coff->local_auxesz = AUXESZ;
coff->local_linesz = LINESZ;
coff->timestamp = internal_f->f_timdat;
obj_raw_syment_count (abfd) =
obj_conv_table_size (abfd) =
internal_f->f_nsyms;

View file

@ -2112,6 +2112,8 @@ pe_mkobject_hook (abfd, filehdr, aouthdr)
pe->coff.local_auxesz = AUXESZ;
pe->coff.local_linesz = LINESZ;
pe->coff.timestamp = internal_f->f_timdat;
obj_raw_syment_count (abfd) =
obj_conv_table_size (abfd) =
internal_f->f_nsyms;