diff options
Diffstat (limited to 'bfd/elf32-pj.c')
-rw-r--r-- | bfd/elf32-pj.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-pj.c b/bfd/elf32-pj.c index 1c75523..470d20a 100644 --- a/bfd/elf32-pj.c +++ b/bfd/elf32-pj.c @@ -310,7 +310,7 @@ pj_elf_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED, /* Given an ELF reloc, fill in the howto field of a relent. */ -static void +static bfd_boolean pj_elf_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst) @@ -325,10 +325,11 @@ pj_elf_info_to_howto (bfd *abfd, _bfd_error_handler (_("%pB: unsupported relocation type %#x"), abfd, r); bfd_set_error (bfd_error_bad_value); - r = R_PJ_NONE; + return FALSE; } cache_ptr->howto = &pj_elf_howto_table[r]; + return TRUE; } /* Take this moment to fill in the special picoJava bits in the |