OSDN Git Service

2005-03-14 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Mon, 14 Mar 2005 18:55:42 +0000 (18:55 +0000)
committerhjl <hjl>
Mon, 14 Mar 2005 18:55:42 +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 3171333..d6775d6 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 d18216b..a34fb80 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,