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:
3e02c1c
)
* elf64-ppc.c (edit_opd): Only zero opd syms when function is
author
Alan Modra
<amodra@gmail.com>
Fri, 11 Oct 2002 04:36:13 +0000
(
04:36
+0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 11 Oct 2002 04:36:13 +0000
(
04:36
+0000)
completely removed.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 599d2d735b2eb00df1da584d4339112013a56f24..cceffd70c35106d821ace163486671dbf9781b8b 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2002-10-11 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (edit_opd): Only zero opd syms when function is
+ completely removed.
+
2002-10-10 Stephen Clarke <stephen.clarke@superh.com>
* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 37b30e6278adc599ef9b9a8948cc76e988641c81..909314f082b34f777bca5b8994d73455ff89bf31 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-3762,7
+3762,7
@@
edit_opd (obfd, info)
|| sym_sec->output_section == bfd_abs_section_ptr);
if (skip)
{
- if (h != NULL)
+ if (h != NULL
&& sym_sec->owner == ibfd
)
{
/* Arrange for the function descriptor sym
to be dropped. */