diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-15 12:52:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-15 12:52:03 +0000 |
commit | bf143b25e9fc72d76625cbc229ef804b9ef42bae (patch) | |
tree | 0800c782c2d777a4039d7601001745a471c76a3b /opcodes/ip2k-asm.c | |
parent | 7b347e436d891e39488be78a0e7fccb51de7b3c0 (diff) | |
download | gdb-bf143b25e9fc72d76625cbc229ef804b9ef42bae.zip gdb-bf143b25e9fc72d76625cbc229ef804b9ef42bae.tar.gz gdb-bf143b25e9fc72d76625cbc229ef804b9ef42bae.tar.bz2 |
Fix compile time warning messages
Diffstat (limited to 'opcodes/ip2k-asm.c')
-rw-r--r-- | opcodes/ip2k-asm.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/opcodes/ip2k-asm.c b/opcodes/ip2k-asm.c index 593db9d..a0204d0 100644 --- a/opcodes/ip2k-asm.c +++ b/opcodes/ip2k-asm.c @@ -54,7 +54,6 @@ static const char *name PARAMS ((CGEN_CPU_DESC, const char **, int, long *)) PARSE_FUNC_DECL (parse_fr); PARSE_FUNC_DECL (parse_addr16); -PARSE_FUNC_DECL (parse_addr16_p); PARSE_FUNC_DECL (parse_addr16_cjp); PARSE_FUNC_DECL (parse_lit8); PARSE_FUNC_DECL (parse_bit3); @@ -295,31 +294,6 @@ parse_addr16 (cd, strp, opindex, valuep) static const char * -parse_addr16_p (cd, strp, opindex, valuep) - CGEN_CPU_DESC cd; - const char **strp; - int opindex; - long *valuep; -{ - const char *errmsg; - enum cgen_parse_operand_result result_type; - bfd_reloc_code_real_type code = BFD_RELOC_IP2K_PAGE3; - bfd_vma value; - - errmsg = cgen_parse_address (cd, strp, opindex, code, - & result_type, & value); - if (errmsg == NULL) - { - if ( result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER ) - *valuep = (value >> 13) & 0x7; - else if ( result_type == CGEN_PARSE_OPERAND_RESULT_QUEUED ) - *valuep = value; - } - return errmsg; -} - - -static const char * parse_addr16_cjp (cd, strp, opindex, valuep) CGEN_CPU_DESC cd; const char **strp; |