Some warning fixes for bfd/vms-*
Andreas Jaeger
aj@suse.de
Sat Sep 1 02:42:00 GMT 2001
Ok to commmit?
Andreas
2001-09-01 Andreas Jaeger <aj@suse.de>
* vms-tir.c: Add missing prototypes.
* vms-hdr.c: Likewise.
* vms-gsd.c: Likewise.
* vms-misc.c: Likewise.
============================================================
Index: bfd/vms-tir.c
--- bfd/vms-tir.c 2001/03/08 21:04:02 1.5
+++ bfd/vms-tir.c 2001/09/01 09:20:17
@@ -1,6 +1,6 @@
/* vms-tir.c -- BFD back-end for VAX (openVMS/VAX) and
EVAX (openVMS/Alpha) files.
- Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
TIR record handling functions
ETIR record handling functions
@@ -49,6 +49,17 @@
static void image_write_w PARAMS ((bfd *abfd, unsigned int value));
static void image_write_l PARAMS ((bfd *abfd, unsigned long value));
static void image_write_q PARAMS ((bfd *abfd, uquad value));
+static int check_section PARAMS ((bfd *, int));
+static boolean etir_sta PARAMS ((bfd *, int, unsigned char *));
+static boolean etir_sto PARAMS ((bfd *, int, unsigned char *));
+static boolean etir_opr PARAMS ((bfd *, int, unsigned char *));
+static boolean etir_ctl PARAMS ((bfd *, int, unsigned char *));
+static boolean etir_stc PARAMS ((bfd *, int, unsigned char *));
+static asection *new_section PARAMS ((bfd *, int));
+static int alloc_section PARAMS ((bfd *, unsigned int));
+static int etir_cmd PARAMS ((bfd *, int, unsigned char *));
+static int analyze_tir PARAMS ((bfd *, unsigned char *, unsigned int));
+static int analyze_etir PARAMS ((bfd *, unsigned char *, unsigned int));
/*-----------------------------------------------------------------------------*/
============================================================
Index: bfd/vms-hdr.c
--- bfd/vms-hdr.c 2001/03/08 21:04:02 1.6
+++ bfd/vms-hdr.c 2001/09/01 09:20:17
@@ -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, 2000 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
HDR record handling functions
EMH record handling functions
@@ -36,6 +36,10 @@
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
+
+static unsigned char *get_vms_time_string PARAMS ((void));
+
+
/*---------------------------------------------------------------------------*/
/* Read & process emh record
============================================================
Index: bfd/vms-gsd.c
--- bfd/vms-gsd.c 2001/03/08 21:04:02 1.5
+++ bfd/vms-gsd.c 2001/09/01 09:20:18
@@ -1,6 +1,6 @@
/* vms-gsd.c -- BFD back-end for VAX (openVMS/VAX) and
EVAX (openVMS/Alpha) files.
- Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
go and read the openVMS linker manual (esp. appendix B)
if you don't know what's going on here :-)
@@ -138,6 +138,9 @@
(EGPS_S_V_REL|EGPS_S_V_RD|EGPS_S_V_WRT),
(SEC_IN_MEMORY|SEC_DATA|SEC_HAS_CONTENTS|SEC_ALLOC|SEC_LOAD) }
};
+
+static flagword vms_secflag_by_name PARAMS ((bfd *, struct sec_flags_struct *, char *, int));
+static flagword vms_esecflag_by_name PARAMS ((struct sec_flags_struct *, char *, int));
/* Retrieve bfd section flags by name and size */
============================================================
Index: bfd/vms-misc.c
--- bfd/vms-misc.c 2001/03/08 21:04:02 1.10
+++ bfd/vms-misc.c 2001/09/01 09:20:19
@@ -30,6 +30,10 @@
#include "vms.h"
+static vms_section *add_new_contents PARAMS ((bfd *, sec_ptr));
+static int hash_string PARAMS ((const char *));
+static asymbol *new_symbol PARAMS ((bfd *, char *));
+
/*-----------------------------------------------------------------------------*/
#if VMS_DEBUG
/* debug functions */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Binutils
mailing list