aboutsummaryrefslogtreecommitdiff
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
commit917583ad772872d4be81820c56aff7828ae4819b (patch)
treecfc5cf1323132c7c8bf36997dc1ee447876a7bc6 /bfd/elf32-v850.c
parentb7781dbed3d946ddcfea237e489a26dcb1b9412e (diff)
downloadfsf-binutils-gdb-917583ad772872d4be81820c56aff7828ae4819b.zip
fsf-binutils-gdb-917583ad772872d4be81820c56aff7828ae4819b.tar.gz
fsf-binutils-gdb-917583ad772872d4be81820c56aff7828ae4819b.tar.bz2
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 5e89473..5180736 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);