This is the mail archive of the binutils@sourceware.org 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: powerpc64 oprofile and objdump -d segfaults


On Thu, May 21, 2009 at 11:42:57PM +0930, Alan Modra wrote:
> This arranges to have the unwanted local .opd function symbols
> removed.

Oops, managed to prune off this hunk when applying diffs from
one tree to another.

	* elflink.c (elf_link_input_bfd): Correct *pindex change in last
	commit.

Index: bfd/elflink.c
===================================================================
RCS file: /cvs/src/src/bfd/elflink.c,v
retrieving revision 1.337
diff -u -p -r1.337 elflink.c
--- bfd/elflink.c	21 May 2009 14:15:48 -0000	1.337
+++ bfd/elflink.c	21 May 2009 14:29:50 -0000
@@ -9065,8 +9065,6 @@ elf_link_input_bfd (struct elf_final_lin
       if (osym.st_shndx == SHN_BAD)
 	return FALSE;
 
-      *pindex = bfd_get_symcount (output_bfd);
-
       /* ELF symbols in relocatable files are section relative, but
 	 in executable files they are virtual addresses.  Note that
 	 this code assumes that all ELF sections have an associated

-- 
Alan Modra
Australia Development Lab, IBM


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