diff options
author | Alan Modra <amodra@gmail.com> | 2006-03-15 13:52:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-03-15 13:52:58 +0000 |
commit | fd38b44ca18f24f97c00d5e263a653a98de0924d (patch) | |
tree | 823f0ac44dcd8187514abf1eee00c981193d8acc /bfd/elf32-ppc.c | |
parent | e3464671e9bb965598f63ddedbf4d664890981e2 (diff) | |
download | gdb-fd38b44ca18f24f97c00d5e263a653a98de0924d.zip gdb-fd38b44ca18f24f97c00d5e263a653a98de0924d.tar.gz gdb-fd38b44ca18f24f97c00d5e263a653a98de0924d.tar.bz2 |
* elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
checks from REL32.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index b3d8308..7d1cb79 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: |