public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* PATCH: Set symbol name when when reporting ia64 overflow
@ 2005-03-14 18:34 H. J. Lu
  2005-03-15 19:58 ` James E Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: H. J. Lu @ 2005-03-14 18:34 UTC (permalink / raw)
  To: binutils

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  <hongjiu.lu@intel.com>

	* 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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: Set symbol name when when reporting ia64 overflow
  2005-03-14 18:34 PATCH: Set symbol name when when reporting ia64 overflow H. J. Lu
@ 2005-03-15 19:58 ` James E Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: James E Wilson @ 2005-03-15 19:58 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils

On Mon, 2005-03-14 at 10:34, H. J. Lu wrote:
> 	* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
> 	for global symbol when reporting overflow.

Thanks.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-15 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-14 18:34 PATCH: Set symbol name when when reporting ia64 overflow H. J. Lu
2005-03-15 19:58 ` James E Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).