projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e346467
)
* elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
author
Alan Modra
<amodra@gmail.com>
Wed, 15 Mar 2006 13:52:58 +0000
(13:52 +0000)
committer
Alan Modra
<amodra@gmail.com>
Wed, 15 Mar 2006 13:52:58 +0000
(13:52 +0000)
checks from REL32.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index cc0093edb1e8e9a1aa37e08b46de9ec38db44c09..ed9aa27f9bc3853a49deae416ff4015b8822e784 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2006-03-16 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
+ checks from REL32.
+
2006-03-15 Ben Elliston <bje@au.ibm.com>
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
diff --git
a/bfd/elf32-ppc.c
b/bfd/elf32-ppc.c
index b3d8308fb072527ca0b029fe60b069b569d609ad..7d1cb79e327f05985ae26372ce850c5b5b93052f 100644
(file)
--- 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: