* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Treat WPLT30 relocs
against local symbols in 64-bit binaries as if they were WDISP30
relocs.
(_bfd_sparc_elf_relocate_section): Likewise.
+2008-11-19 Nick Clifton <nickc@redhat.com>
+
+ PR 7027
+ * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Treat WPLT30 relocs
+ against local symbols in 64-bit binaries as if they were WDISP30
+ relocs.
+ (_bfd_sparc_elf_relocate_section): Likewise.
+
2008-11-18 Catherine Moore <clm@codesourcery.com>
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
goto r_sparc_plt32;
break;
}
+ /* PR 7027: We need similar behaviour for 64-bit binaries. */
+ else if (r_type == R_SPARC_WPLT30)
+ break;
/* It does not make sense to have a procedure linkage
table entry for a local symbol. */
if (h == NULL)
break;
}
+ /* PR 7027: We need similar behaviour for 64-bit binaries. */
+ else if (r_type == R_SPARC_WPLT30 && h == NULL)
+ break;
else
{
BFD_ASSERT (h != NULL);