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]

PATCH: Set symbol name when when reporting ia64 overflow


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,


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