X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fvms-hdr.c;h=c2611115a9063e19916803e3a5d1063ae7f95e5e;hb=8ce8c090f3e7509af869a05090bc5b0656c487d8;hp=fa8af97305503b679a37e8488e1312555311153a;hpb=e43d48ccc3b8e9d815e704e55dd6748de2419efc;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/vms-hdr.c b/bfd/vms-hdr.c index fa8af97305..c2611115a9 100644 --- a/bfd/vms-hdr.c +++ b/bfd/vms-hdr.c @@ -1,6 +1,7 @@ /* vms-hdr.c -- BFD back-end for VMS/VAX (openVMS/VAX) and EVAX (openVMS/Alpha) files. - Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 + Free Software Foundation, Inc. HDR record handling functions EMH record handling functions @@ -25,6 +26,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfd.h" +#include "bfdver.h" #include "sysdep.h" #include "bfdlink.h" #include "safe-ctype.h" @@ -204,7 +206,7 @@ _bfd_vms_slurp_hdr (abfd, objtype) /*-----------------------------------------------------------------------------*/ /* Output routines. */ -/* Manufacure a VMS like time on a unix based system. +/* Manufacture a VMS like time on a unix based system. stolen from obj-vms.c */ static unsigned char * @@ -407,10 +409,10 @@ _bfd_vms_slurp_eom (abfd, objtype) bfd_set_error (bfd_error_bad_value); return -1; } - PRIV(eom_data).eom_has_transfer = false; + PRIV(eom_data).eom_has_transfer = FALSE; if (PRIV(rec_size) > 10) { - PRIV(eom_data).eom_has_transfer = true; + PRIV(eom_data).eom_has_transfer = TRUE; PRIV(eom_data).eom_b_tfrflg = *(vms_rec + 9); PRIV(eom_data).eom_l_psindx = bfd_getl32 (vms_rec + 12); PRIV(eom_data).eom_l_tfradr = bfd_getl32 (vms_rec + 16);