From: Alan Modra Date: Wed, 15 Mar 2006 13:52:58 +0000 (+0000) Subject: * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd38b44ca18f24f97c00d5e263a653a98de0924d;p=binutils-gdb.git * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24 checks from REL32. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cc0093edb1e..ed9aa27f9bc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-03-16 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24 + checks from REL32. + 2006-03-15 Ben Elliston * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index b3d8308fb07..7d1cb79e327 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -3335,7 +3335,9 @@ ppc_elf_check_relocs (bfd *abfd, if (s == got2) htab->plt_type = PLT_OLD; } - /* fall through */ + if (h == NULL) + break; + goto dodyn; case R_PPC_REL24: case R_PPC_REL14: