gas/
[deliverable/binutils-gdb.git] / bfd / elf32-m68k.c
index 71f98bb671662f1f2b60dc3635c0f8c34e7a9f46..589dccfb35da31591f6810567a9534ad2044ae26 100644 (file)
@@ -745,14 +745,16 @@ elf_m68k_check_relocs (abfd, info, sec, relocs)
                  else
                    {
                      asection *s;
+                     void *vpp;
+
                      s = (bfd_section_from_r_symndx
                           (abfd, &elf_m68k_hash_table (info)->sym_sec,
                            sec, r_symndx));
                      if (s == NULL)
                        return FALSE;
 
-                     head = ((struct elf_m68k_pcrel_relocs_copied **)
-                             &elf_section_data (s)->local_dynrel);
+                     vpp = &elf_section_data (s)->local_dynrel;
+                     head = (struct elf_m68k_pcrel_relocs_copied **) vpp;
                    }
 
                  for (p = *head; p != NULL; p = p->next)
@@ -1732,10 +1734,11 @@ elf_m68k_relocate_section (output_bfd, info, input_bfd, input_section,
               && h->def_dynamic))
        {
          (*_bfd_error_handler)
-           (_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"),
+           (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
             input_bfd,
             input_section,
             (long) rel->r_offset,
+            howto->name,
             h->root.root.string);
          return FALSE;
        }
This page took 0.029753 seconds and 4 git commands to generate.