* elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out
of range branches.
This commit is contained in:
parent
00bd41d6bc
commit
d91a6875d0
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-07-28 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
|
||||||
|
|
||||||
|
* elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out
|
||||||
|
of range branches.
|
||||||
|
|
||||||
2011-07-26 Jakub Jelinek <jakub@redhat.com>
|
2011-07-26 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* dwarf2.c (dwarf_debug_sections): Add .debug_macro
|
* dwarf2.c (dwarf_debug_sections): Add .debug_macro
|
||||||
|
|
|
@ -3272,13 +3272,13 @@ elf_hppa_final_link_relocate (Elf_Internal_Rela *rel,
|
||||||
&& value + addend + max_branch_offset >= 2*max_branch_offset)
|
&& value + addend + max_branch_offset >= 2*max_branch_offset)
|
||||||
{
|
{
|
||||||
(*_bfd_error_handler)
|
(*_bfd_error_handler)
|
||||||
(_("%B(%A+0x%lx): cannot reach %s"),
|
(_("%B(%A+0x" BFD_VMA_FMT "x): cannot reach %s"),
|
||||||
input_bfd,
|
input_bfd,
|
||||||
input_section,
|
input_section,
|
||||||
offset,
|
offset,
|
||||||
eh->root.root.string);
|
eh ? eh->root.root.string : "unknown");
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
return bfd_reloc_notsupported;
|
return bfd_reloc_overflow;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Adjust for any field selectors. */
|
/* Adjust for any field selectors. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue