* libcoff-in.h (struct pei_section_tdata): Define structure.
authorIan Lance Taylor <ian@airs.com>
Tue, 14 May 1996 00:25:50 +0000 (00:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 14 May 1996 00:25:50 +0000 (00:25 +0000)
commitefb33f6b0724ff4bf615ae49a749de0aae8ee7df
tree308fd02f60c18f824b9f64e0e3abcb838011a9d1
parent24ecc17a04e024af7a9a2385f255e59e28b91536
* libcoff-in.h (struct pei_section_tdata): Define structure.
(pei_section_data): Define macro.
* libcoff.h: Rebuild.
* coffcode.h (coff_set_alignment_hook): If COFF_IMAGE_WITH_PE,
store s_paddr field in pei_section_data.
(coff_compute_section_file_positions): Use pei_section_data rather
than _cooked_size, and don't overwrite an existing value.
(coff_write_object_contents): If COFF_OBJ_WITH_PE, set s_paddr to
0.  If COFF_IMAGE_WITH_PE, set s_paddr to pei_section_data.
* peicode.h (coff_bfd_copy_private_section_data): Define if
COFF_IMAGE_WITH_PE.
  (pe_bfd_copy_private_section_data): New static function if
COFF_IMAGE_WITH_PE.
PR 9667.
bfd/ChangeLog