2001-08-29 Joel Sherrill <joel@OARcorp.com>
[deliverable/binutils-gdb.git] / bfd / elf32-v850.c
index 5e89473a45ea45b9d56cfa7011a31b8c6b6a6b00..518073644e61c0c1cd9b730b214e97d08e5fb7b9 100644 (file)
@@ -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);
 
This page took 0.024777 seconds and 4 git commands to generate.