summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-26 11:44:51 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-26 11:44:51 +0000
commit9d654c1ca47d5af9e77e4b554d8438ca9c76e316 (patch)
treefd6572815439b6789c4abd7569e00a84b1ce8f1b /gas
parente7d556dfef22edc573b26552828940679ec437ee (diff)
downloadbinutils-9d654c1ca47d5af9e77e4b554d8438ca9c76e316.tar.gz
binutils-9d654c1ca47d5af9e77e4b554d8438ca9c76e316.tar.bz2
binutils-9d654c1ca47d5af9e77e4b554d8438ca9c76e316.zip
* config/tc-s390.c: Add missing prototypes
(md_gather_operands): Make static.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-s390.c18
2 files changed, 22 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8c666cf4206..942bc8d8884 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-26 Andreas Jaeger <aj@suse.de>
+
+ * config/tc-s390.c: Add missing prototypes
+ (md_gather_operands): Make static.
+
2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* tc_mips.h (MAX_GPREL_OFFSET): Change it to the maximum allowed
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 42bb2643b78..7bdf65ef4cb 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -198,6 +198,16 @@ static const struct pd_reg pre_defined_registers[] =
#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 @@ struct map_bfd
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 @@ struct s390_fixup
/* This routine is called for each instruction to be assembled. */
-char *
+static char *
md_gather_operands (str, insn, opcode)
char *str;
unsigned char *insn;