* config/tc-mn10300.c (md_assemble): Subtract operand->shift
[deliverable/binutils-gdb.git] / bfd / vms-hdr.c
index 3b36b3278c580b65acfb1ca1fc69cd6d4ca4f1fb..228066f2e73783325da8adec54bd2d14c3280b59 100644 (file)
@@ -1,6 +1,6 @@
 /* vms-hdr.c -- BFD back-end for VMS/VAX (openVMS/VAX) and
    EVAX (openVMS/Alpha) files.
-   Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
    HDR record handling functions
    EMH record handling functions
@@ -33,9 +33,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "vms.h"
 
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
 /*---------------------------------------------------------------------------*/
 
-
 /* Read & process emh record
    return 0 on success, -1 on error  */
 
@@ -196,11 +198,9 @@ _bfd_vms_slurp_hdr (abfd, objtype)
   return 0;
 }
 
-
 /*-----------------------------------------------------------------------------*/
 /* Output routines.  */
 
-
 /* Manufacure a VMS like time on a unix based system.
    stolen from obj-vms.c  */
 
@@ -240,7 +240,6 @@ get_vms_time_string ()
   return tbuf;
 }
 
-
 /* write object header for bfd abfd  */
 
 int
@@ -253,7 +252,6 @@ _bfd_vms_write_hdr (abfd, objtype)
   int had_case = 0;
   int had_file = 0;
 
-
 #if VMS_DEBUG
   vms_debug (2, "vms_write_hdr (%p)\n", abfd);
 #endif
@@ -392,7 +390,7 @@ _bfd_vms_slurp_eom (abfd, objtype)
 
   vms_rec = PRIV(vms_rec);
 
-  if ((objtype == OBJ_S_C_EOM) 
+  if ((objtype == OBJ_S_C_EOM)
      || (objtype == OBJ_S_C_EOMW))
     {
     }
@@ -420,7 +418,6 @@ _bfd_vms_slurp_eom (abfd, objtype)
   return 0;
 }
 
-
 /* Write eom record for bfd abfd  */
 
 int
@@ -433,7 +430,7 @@ _bfd_vms_write_eom (abfd, objtype)
 #endif
 
   _bfd_vms_output_begin (abfd, objtype, -1);
-  _bfd_vms_output_long (abfd, (unsigned long)(PRIV(vms_linkage_index) >> 1));
+  _bfd_vms_output_long (abfd, (unsigned long) (PRIV(vms_linkage_index) >> 1));
   _bfd_vms_output_byte (abfd, 0);      /* completion code */
   _bfd_vms_output_byte (abfd, 0);      /* fill byte */
 
@@ -448,7 +445,7 @@ _bfd_vms_write_eom (abfd, objtype)
          return -1;
        }
       _bfd_vms_output_short (abfd, 0);
-      _bfd_vms_output_long (abfd, (unsigned long)(section->index));
+      _bfd_vms_output_long (abfd, (unsigned long) (section->index));
       _bfd_vms_output_long (abfd,
                             (unsigned long) bfd_get_start_address (abfd));
       _bfd_vms_output_long (abfd, 0);
This page took 0.024054 seconds and 4 git commands to generate.