2005-03-14 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Mar 2005 18:55:44 +0000 (18:55 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Mar 2005 18:55:44 +0000 (18:55 +0000)
* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
for global symbol when reporting overflow.

bfd/ChangeLog
bfd/elfxx-ia64.c

index 317133307ebd7bbfc9718dde96b698f9a01b06a4..d6775d6fe7f309f2fff595c3b5922256ace15d3d 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2005-03-11  Jakub Jelinek  <jakub@redhat.com>
 
        * libbfd-in.h (_bfd_ar_spacepad): New prototype.
index d18216bf65b2cea715bae18f37b212b5953670da..a34fb80541cadf393523d2754dff4464c0859930 100644 (file)
@@ -4501,7 +4501,7 @@ elfNN_ia64_relocate_section (output_bfd, info, input_bfd, input_section,
            const char *name;
 
            if (h)
-             name = NULL;
+             name = h->root.root.string;
            else
              {
                name = bfd_elf_string_from_elf_section (input_bfd,