diff options
author | Alan Modra <amodra@gmail.com> | 2002-10-11 04:36:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-10-11 04:36:13 +0000 |
commit | 0be617ce13f4300eeee13483535d6483ba342f9e (patch) | |
tree | 30d0e6e64c7e3fd308fc69fbb7cc83898007609c /bfd/elf64-ppc.c | |
parent | 3e02c1cc5888d91642282c58cb4bfb84bec1d70c (diff) | |
download | gdb-0be617ce13f4300eeee13483535d6483ba342f9e.zip gdb-0be617ce13f4300eeee13483535d6483ba342f9e.tar.gz gdb-0be617ce13f4300eeee13483535d6483ba342f9e.tar.bz2 |
* elf64-ppc.c (edit_opd): Only zero opd syms when function is
completely removed.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 37b30e6..909314f 100644 --- 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. */ |