summaryrefslogtreecommitdiff
path: root/bfd/elf32-v850.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-06-22 00:52:20 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-06-22 00:52:20 +0000
commita2eb1fb20406b6a98967e59d82eec3764e438d43 (patch)
treead63dbe1797568238ebd0155b3724d6eafee56bb /bfd/elf32-v850.c
parentc0c3d5451a23243bb69a7dcd58b8132c1aba90e4 (diff)
downloadbinutils-redhat-a2eb1fb20406b6a98967e59d82eec3764e438d43.tar.gz
include/elf/
* ppc.h (R_PPC_RELAX*): Define as enum. bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. * elf32-v850.c (v850_elf_relocate_section): Warning fix.
Diffstat (limited to 'bfd/elf32-v850.c')
-rw-r--r--bfd/elf32-v850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 5ecfa693f0..fa9dedf445 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -1680,7 +1680,7 @@ v850_elf_relocate_section (bfd *output_bfd,
name = bfd_section_name (input_bfd, sec);
}
- switch (r)
+ switch ((int) r)
{
case bfd_reloc_overflow:
if (! ((*info->callbacks->reloc_overflow)