summaryrefslogtreecommitdiff
path: root/bfd/elf32-v850.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-25 09:49:44 +0000
committerNick Clifton <nickc@redhat.com>2001-08-25 09:49:44 +0000
commit80d9935c26ea81aedf05faeed58a09582200b486 (patch)
treee35956ab8786bb1a0cd0c9af19850c61a505629c /bfd/elf32-v850.c
parentfc770dd22d0b4e95c5d61c089c03a5ad75773cc2 (diff)
downloadgdb-80d9935c26ea81aedf05faeed58a09582200b486.tar.gz
Add missing prototypes
Diffstat (limited to 'bfd/elf32-v850.c')
-rw-r--r--bfd/elf32-v850.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 5e89473a45e..518073644e6 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -478,7 +478,7 @@ struct v850_elf_reloc_map
/* BFD_RELOC_V850_CALLT_16_16_OFFSET is 258, which will not fix in an
unsigned char. */
bfd_reloc_code_real_type bfd_reloc_val;
- unsigned char elf_reloc_val;
+ unsigned int elf_reloc_val;
};
static const struct v850_elf_reloc_map v850_elf_reloc_map[] =
@@ -523,7 +523,7 @@ v850_elf_reloc_type_lookup (abfd, code)
for (i = ARRAY_SIZE (v850_elf_reloc_map); i --;)
if (v850_elf_reloc_map[i].bfd_reloc_val == code)
{
- int elf_reloc_val = v850_elf_reloc_map[i].elf_reloc_val;
+ unsigned int elf_reloc_val = v850_elf_reloc_map[i].elf_reloc_val;
BFD_ASSERT (v850_elf_howto_table[elf_reloc_val].type == elf_reloc_val);