* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset

for LO_DS error message and correct multiple.
This commit is contained in:
Alan Modra 2011-03-10 09:26:18 +00:00
parent aa374f67f7
commit e11840f950
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-03-10 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
for LO_DS error message and correct multiple.
2011-03-10 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.

View File

@ -11655,7 +11655,7 @@ ppc64_elf_relocate_section (bfd *output_bfd,
bfd_boolean unresolved_reloc;
bfd_boolean warned;
unsigned int insn;
bfd_vma mask;
unsigned int mask;
struct ppc_stub_hash_entry *stub_entry;
bfd_vma max_br_offset;
bfd_vma from;
@ -13191,8 +13191,8 @@ ppc64_elf_relocate_section (bfd *output_bfd,
if (((relocation + addend) & mask) != 0)
{
(*_bfd_error_handler)
(_("%B: error: relocation %s not a multiple of %d"),
input_bfd,
(_("%B(%A+0x%lx): error: %s not a multiple of %u"),
input_bfd, input_section, (long) rel->r_offset,
ppc64_elf_howto_table[r_type]->name,
mask + 1);
bfd_set_error (bfd_error_bad_value);