This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ppc64 dot symbols
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Mon, 9 Aug 2004 12:27:35 +0930
- Subject: Re: ppc64 dot symbols
- References: <20040809002227.GM12879@bubble.modra.org>
On Mon, Aug 09, 2004 at 09:52:27AM +0930, Alan Modra wrote:
> * elf64-ppc.c (get_opd_info): New function.
> (adjust_opd_syms): Use get_opd_info. Define removed symbols as zero.
Oops, merge problem.
* elf64-ppc.c (adjust_opd_syms): Fix merge error.
Index: bfd/elf64-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-ppc.c,v
retrieving revision 1.152
diff -u -p -r1.152 elf64-ppc.c
--- bfd/elf64-ppc.c 9 Aug 2004 00:54:28 -0000 1.152
+++ bfd/elf64-ppc.c 9 Aug 2004 02:56:30 -0000
@@ -4936,7 +4936,6 @@ adjust_opd_syms (struct elf_link_hash_en
opd_adjust = get_opd_info (sym_sec);
if (opd_adjust != NULL)
{
- eh->elf.root.u.def.value += opd_adjust[eh->elf.root.u.def.value / 24];
long adjust = opd_adjust[eh->elf.root.u.def.value / 24];
if (adjust == -1)
{
--
Alan Modra
IBM OzLabs - Linux Technology Centre