R_PPC_PLTREL24 relocs.
(ppc_elf_relocate_section): Likewise.
+2009-06-19 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for
+ R_PPC_PLTREL24 relocs.
+ (ppc_elf_relocate_section): Likewise.
+
2009-06-19 Alan Modra <amodra@bigpond.net.au>
* elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than
h->non_got_ref = TRUE;
break;
- case R_PPC_PLT32:
case R_PPC_PLTREL24:
+ if (h == NULL)
+ break;
+ /* Fall through */
+ case R_PPC_PLT32:
case R_PPC_PLTREL32:
case R_PPC_PLT16_LO:
case R_PPC_PLT16_HI:
break;
case R_PPC_PLTREL24:
+ if (h == NULL)
+ break;
/* Relocation is to the entry for this symbol in the
procedure linkage table. */
{