aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-hdr.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-12-26 19:50:50 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-12-26 19:50:50 +0000
commit558e161f24558ec8b8e78d135e4d9db182885a3e (patch)
treec4eafdd95f2efc5988bb8db675373a6967944c02 /bfd/vms-hdr.c
parentae7d06ad04111be5b891d345a129806fcefd8e6f (diff)
downloadgdb-558e161f24558ec8b8e78d135e4d9db182885a3e.zip
gdb-558e161f24558ec8b8e78d135e4d9db182885a3e.tar.gz
gdb-558e161f24558ec8b8e78d135e4d9db182885a3e.tar.bz2
2000-12-26 Kazu Hirata <kazu@hxi.com>
* vaxnetbsd.c: Fix formatting. * versados.c: Likewise. * vms-gsd.c: Likewise. * vms-hdr.c: Likewise. * vms-misc.c: Likewise.
Diffstat (limited to 'bfd/vms-hdr.c')
-rw-r--r--bfd/vms-hdr.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/bfd/vms-hdr.c b/bfd/vms-hdr.c
index 6758be6..d547753 100644
--- a/bfd/vms-hdr.c
+++ b/bfd/vms-hdr.c
@@ -38,7 +38,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#endif
/*---------------------------------------------------------------------------*/
-
/* Read & process emh record
return 0 on success, -1 on error */
@@ -199,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 */
@@ -243,7 +240,6 @@ get_vms_time_string ()
return tbuf;
}
-
/* write object header for bfd abfd */
int
@@ -256,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
@@ -395,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))
{
}
@@ -423,7 +418,6 @@ _bfd_vms_slurp_eom (abfd, objtype)
return 0;
}
-
/* Write eom record for bfd abfd */
int
@@ -436,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 */
@@ -451,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);