mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
* elf64-ppc.c (edit_opd): Only zero opd syms when function is
completely removed.
This commit is contained in:
parent
3e02c1cc58
commit
0be617ce13
@ -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):
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user