From 8eab39e600273845096bce2cf598bd3ac4ea9700 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 3 May 2010 12:16:46 +0000 Subject: [PATCH] bfd/ 2010-05-03 Tristan Gingold * vms-alpha.c: Add comments. (struct vms_private_data_struct): Remove image_autoextend field. (dst_check_allocation): Removed. (image_write): Remove call to dst_check_allocation. (vms_slurp_debug): Do not set image_autoextend. Adjust section size. (_bfd_vms_slurp_object_records): Remove useless new_type variable. (alpha_vms_write_exec): Use dst_section to get the dst section. Write the dmt section. (evax_bfd_print_image): Also print the dst size in hexa. Fix typo. (alpha_vms_read_sections_content): Do not set image_autoextend. include/vms/ 2010-05-03 Tristan Gingold * dmt.h: Improve comments. --- include/vms/ChangeLog | 4 ++++ include/vms/dmt.h | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/include/vms/ChangeLog b/include/vms/ChangeLog index 823520f22..edd78fe0a 100644 --- a/include/vms/ChangeLog +++ b/include/vms/ChangeLog @@ -1,3 +1,7 @@ +2010-05-03 Tristan Gingold + + * dmt.h: Improve comments. + 2010-04-30 Tristan Gingold * lbr.h (struct vms_kbn): New structure. diff --git a/include/vms/dmt.h b/include/vms/dmt.h index f2f4e0d5d..f2aad6e99 100644 --- a/include/vms/dmt.h +++ b/include/vms/dmt.h @@ -25,10 +25,10 @@ struct vms_dmt_header { - /* Address of the module. */ + /* Offset in the DST of the module. */ unsigned char modbeg[4]; - /* Size of the module. */ + /* Size of the DST chunk for this module. */ unsigned char size[4]; /* Number of psect for this module. */ @@ -39,7 +39,10 @@ struct vms_dmt_header struct vms_dmt_psect { + /* Address of the psect. */ unsigned char start[4]; + + /* Length of the psect. */ unsigned char length[4]; }; #endif /* _VMS_DMT_H */