diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-11 22:46:37 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-11 22:46:37 +0000 |
commit | 1135238bd09b1d50c83ca3586b511bfc63d94185 (patch) | |
tree | a3c87992dc50f4709c8a2431d959a0b415414985 | |
parent | 05bf877ad11654a983d2ed5d31370e4469a657f0 (diff) | |
download | gdb-1135238bd09b1d50c83ca3586b511bfc63d94185.zip gdb-1135238bd09b1d50c83ca3586b511bfc63d94185.tar.gz gdb-1135238bd09b1d50c83ca3586b511bfc63d94185.tar.bz2 |
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.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/coffcode.h | 2 | ||||
-rw-r--r-- | bfd/peicode.h | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e5f7383..d6992ad 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 9a6d014..dfedf23 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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; diff --git a/bfd/peicode.h b/bfd/peicode.h index 2a19565..7193add 100644 --- a/bfd/peicode.h +++ b/bfd/peicode.h @@ -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; |