Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/vms-hdr.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* vms-hdr.c -- BFD back-end for VMS/VAX (openVMS/VAX) and
    22   EVAX (openVMS/Alpha) files.
    3    Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
     3   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
     4   Free Software Foundation, Inc.
    45
    56   HDR record handling functions
     
    2526Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    2627
    27 #include <ctype.h>
    28 
    2928#include "bfd.h"
     29#include "bfdver.h"
    3030#include "sysdep.h"
    3131#include "bfdlink.h"
     32#include "safe-ctype.h"
    3233#include "libbfd.h"
    3334
     
    3738#include <alloca.h>
    3839#endif
     40
     41static unsigned char *get_vms_time_string PARAMS ((void));
     42
     43
    3944/*---------------------------------------------------------------------------*/
    4045
     
    300305      while (*fptr != 0)
    301306        {
    302           if (islower (*fptr))
    303             *fptr = toupper (*fptr);
     307          *fptr = TOUPPER (*fptr);
    304308          fptr++;
    305309          if ((*fptr == ';')
     
    312316    _bfd_vms_output_counted (abfd, "NONAME");
    313317
    314   _bfd_vms_output_counted (abfd, BFD_VERSION);
     318  _bfd_vms_output_counted (abfd, BFD_VERSION_STRING);
    315319  _bfd_vms_output_dump (abfd, get_vms_time_string (), 17);
    316320  _bfd_vms_output_fill (abfd, 0, 17);
     
    344348            }
    345349
    346           _bfd_vms_output_dump (abfd, (unsigned char *)symbol->name, strlen (symbol->name));
     350          _bfd_vms_output_dump (abfd, (unsigned char *) symbol->name,
     351                                (int) strlen (symbol->name));
    347352          if (had_case)
    348353            break;
     
    405410          return -1;
    406411        }
    407       PRIV(eom_data).eom_has_transfer = false;
     412      PRIV(eom_data).eom_has_transfer = FALSE;
    408413      if (PRIV(rec_size) > 10)
    409414        {
    410            PRIV(eom_data).eom_has_transfer = true;
     415           PRIV(eom_data).eom_has_transfer = TRUE;
    411416           PRIV(eom_data).eom_b_tfrflg = *(vms_rec + 9);
    412417           PRIV(eom_data).eom_l_psindx = bfd_getl32 (vms_rec + 12);
Note: See TracChangeset for help on using the changeset viewer.