From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27257 invoked by alias); 3 Apr 2007 22:19:45 -0000 Received: (qmail 27249 invoked by uid 22791); 3 Apr 2007 22:19:45 -0000 X-Spam-Check-By: sourceware.org Received: from e33.co.us.ibm.com (HELO e33.co.us.ibm.com) (32.97.110.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Apr 2007 23:19:43 +0100 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l33MJfED024133 for ; Tue, 3 Apr 2007 18:19:41 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l33MJfEh135198 for ; Tue, 3 Apr 2007 16:19:41 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l33MJeN3032327 for ; Tue, 3 Apr 2007 16:19:40 -0600 Received: from [127.0.0.1] (portage.rchland.ibm.com [9.10.86.125]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l33MJdM7032195 for ; Tue, 3 Apr 2007 16:19:40 -0600 Message-ID: <4612D2FA.4050407@us.ibm.com> Date: Tue, 03 Apr 2007 22:19:00 -0000 From: Maynard Johnson Reply-To: maynardj@us.ibm.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: binutils@sourceware.org Subject: C++ demangling of 64-bit symbols on ppc64 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00027.txt.bz2 Hi all, As the de facto maintainer of the ppc64 bits of oprofile, I was recently asked to look into an oprofile bug where it was incorrectly demangling 64-bit symbols. The oprofile code uses the libiberty function, cplus_demangle(), but is not getting back the right answer for ppc64 64-bit symbols. This appears to be more fallout from the change (made a couple years ago or so) to the opd for ppc64, where the leading "." was removed from 64-bit symbols. I hacked around the problem in my private oprofile src tree, but I'm thinking this issue should be solved at its source. I'm seeing this problem on a SLES 10 system with binutils version 2.16.91. Has this possibly been resolved in a more recent binutils version or in CVS? Thanks. -Maynard