This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc64 dot symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]