From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24090 invoked by alias); 14 Mar 2005 18:34:34 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 24021 invoked from network); 14 Mar 2005 18:34:29 -0000 Received: from unknown (HELO sccrmhc12.comcast.net) (204.127.202.56) by sourceware.org with SMTP; 14 Mar 2005 18:34:29 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (sccrmhc12) with ESMTP id <20050314183429012001mti6e>; Mon, 14 Mar 2005 18:34:29 +0000 Received: by lucon.org (Postfix, from userid 1000) id C4DE397F22; Mon, 14 Mar 2005 10:34:28 -0800 (PST) Date: Mon, 14 Mar 2005 18:34:00 -0000 From: "H. J. Lu" To: binutils@sources.redhat.com Subject: PATCH: Set symbol name when when reporting ia64 overflow Message-ID: <20050314183428.GA31676@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-03/txt/msg00386.txt.bz2 When there is a relaxation overflow, we don't report the symbol name. This patch fixes it. I will check it in shortly. H.J. ---- 2005-03-14 H.J. Lu * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name for global symbol when reporting overflow. --- bfd/elfxx-ia64.c.over 2005-03-14 09:45:14.029736771 -0800 +++ bfd/elfxx-ia64.c 2005-03-14 10:27:12.638501559 -0800 @@ -4539,7 +4539,7 @@ elfNN_ia64_relocate_section (output_bfd, const char *name; if (h) - name = NULL; + name = h->root.root.string; else { name = bfd_elf_string_from_elf_section (input_bfd,