summaryrefslogtreecommitdiff
path: root/gas/config/obj-vms.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-12-12 22:46:47 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-12-12 22:46:47 +0000
commit4ce2e4b7168b2e760897e5f4fd5e10f003fc1179 (patch)
treea7e03b8ddaaf172686bb132b09ee4f5ac6b419b0 /gas/config/obj-vms.c
parentbdad02fadab15348fd292b16cfeaae2ba4b611a9 (diff)
downloadbinutils-redhat-4ce2e4b7168b2e760897e5f4fd5e10f003fc1179.tar.gz
* write.c (write_object_file): Fix signed/unsigned warning.
* config/e-crisaout.c (crisaout_bfd_name): Prototype. * config/e-criself.c (criself_bfd_name): Prototype. * config/obj-aout.c (s_sect): Remove unused function. * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED. * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF. (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED. * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise. * config/obj-vms.c (setup_basic_type <spnt>): Likewise. (VMS_RSYM_Parse <Current_Routine>): Likewise. (vms_fixup_text_section <text_siz>): Likewise. (synthesize_data_segment <data_size>): Likewise. (vms_fixup_xtors_section <sect_no>): Likewise. (structure_count): Don't use implicit int type.
Diffstat (limited to 'gas/config/obj-vms.c')
-rw-r--r--gas/config/obj-vms.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gas/config/obj-vms.c b/gas/config/obj-vms.c
index cd36a38ab8..6ad29fdd43 100644
--- a/gas/config/obj-vms.c
+++ b/gas/config/obj-vms.c
@@ -193,7 +193,7 @@ static const char *symbol_name;
* whole thing each time.
*/
-static structure_count = 0;
+static int structure_count = 0;
/* This variable is used to indicate that we are making the last attempt to
parse the stabs, and that we should define as much as we can, and ignore
@@ -1862,7 +1862,7 @@ bitfield_suffix (spnt, width)
static void
setup_basic_type (spnt)
- struct VMS_DBG_Symbol *spnt;
+ struct VMS_DBG_Symbol *spnt ATTRIBUTE_UNUSED;
{
#ifdef SETUP_BASIC_TYPES
/* This would be very useful if "novel length" fields actually worked
@@ -2169,7 +2169,8 @@ VMS_STSYM_Parse (sp, Text_Psect)
static void
VMS_RSYM_Parse (sp, Current_Routine, Text_Psect)
- symbolS *sp, *Current_Routine;
+ symbolS *sp;
+ symbolS *Current_Routine ATTRIBUTE_UNUSED;
int Text_Psect;
{
symbolS *symbolP;
@@ -4494,7 +4495,7 @@ struct vms_obj_state {
static void
vms_fixup_text_section (text_siz, text_frag_root, data_frag_root)
- unsigned text_siz;
+ unsigned text_siz ATTRIBUTE_UNUSED;
struct frag *text_frag_root;
struct frag *data_frag_root;
{
@@ -4591,7 +4592,8 @@ vms_fixup_text_section (text_siz, text_frag_root, data_frag_root)
static void
synthesize_data_segment (data_siz, text_siz, data_frag_root)
- unsigned data_siz, text_siz;
+ unsigned data_siz ATTRIBUTE_UNUSED;
+ unsigned text_siz;
struct frag *data_frag_root;
{
register fragS *fragP;
@@ -4731,7 +4733,7 @@ vms_fixup_data_section (data_siz, text_siz)
static void
vms_fixup_xtors_section (symbols, sect_no)
struct VMS_Symbol *symbols;
- int sect_no;
+ int sect_no ATTRIBUTE_UNUSED;
{
register struct VMS_Symbol *vsp;