Hi Mikulas,

1. offset is 64-bit, but 32-bit format "%lx" is used. This causes
parameters mismatch
2. eh may be NULL. If it is NULL, I changed the code to print "unknown".
Someone who understands the code better can change it to print something
more descriptive
3. returning bfd_reloc_notsupported causes abort() in
elf64_hppa_relocate_section. Change it to return bfd_reloc_overflow.

I have applied your patch, along with Joseph's suggestion of using BFD_VMA_FMT. I used the following changelog entry.

Cheers
  Nick

bfd/ChangeLog
2011-07-28  Mikulas Patocka  <miku...@artax.karlin.mff.cuni.cz>

        * elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out
        of range branches.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to