From: Andreas Jaeger <aj@suse.de>
To: binutils@sources.redhat.com
Subject: Fix warnings in gas/config/tc-s390.c
Date: Sat, 25 Aug 2001 08:42:00 -0000 [thread overview]
Message-ID: <u8k7zsno30.fsf@gromit.moeb> (raw)
Ok to commit?
Andreas
2001-08-25 Andreas Jaeger <aj@suse.de>
* config/tc-s390.c: Add missing prototypes
(md_gather_operands): Make static.
============================================================
Index: gas/config/tc-s390.c
--- gas/config/tc-s390.c 2001/08/13 08:03:52 1.7
+++ gas/config/tc-s390.c 2001/08/25 15:34:48
@@ -198,6 +198,16 @@
#define REG_NAME_CNT (sizeof (pre_defined_registers) / sizeof (struct pd_reg))
+static int reg_name_search
+ PARAMS ((const struct pd_reg *, int, const char *));
+static boolean register_name PARAMS ((expressionS *));
+static void init_default_arch PARAMS ((void));
+static void s390_insert_operand
+ PARAMS ((unsigned char *, const struct s390_operand *, offsetT, char *,
+ unsigned int));
+static char *md_gather_operands
+ PARAMS ((char *, unsigned char *, const struct s390_opcode *));
+
/* Given NAME, find the register number associated with that name, return
the integer value associated with the given name or -1 on failure. */
@@ -593,6 +603,12 @@
elf_suffix_type suffix;
};
+static elf_suffix_type s390_elf_suffix PARAMS ((char **, expressionS *));
+static int s390_exp_compare PARAMS ((expressionS *exp1, expressionS *exp2));
+static elf_suffix_type s390_lit_suffix
+ PARAMS ((char **, expressionS *, elf_suffix_type));
+
+
/* Parse @got/@plt/@gotoff. and return the desired relocation. */
static elf_suffix_type
s390_elf_suffix (str_p, exp_p)
@@ -974,7 +990,7 @@
/* This routine is called for each instruction to be assembled. */
-char *
+static char *
md_gather_operands (str, insn, opcode)
char *str;
unsigned char *insn;
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
next reply other threads:[~2001-08-25 8:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-25 8:42 Andreas Jaeger [this message]
2001-08-26 4:25 ` Nick Clifton
2001-08-27 1:09 Martin Schwidefsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u8k7zsno30.fsf@gromit.moeb \
--to=aj@suse.de \
--cc=binutils@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).