aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-03-14 18:55:44 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-03-14 18:55:44 +0000
commitf05819304c9e6c10adc625ffd587f96f5c1fd425 (patch)
tree43e99e014fd339a60c0829be85033ea501a07cb9
parent8e3049aa8c77da715c615f85d11e36dd08597c1c (diff)
downloadgdb-f05819304c9e6c10adc625ffd587f96f5c1fd425.zip
gdb-f05819304c9e6c10adc625ffd587f96f5c1fd425.tar.gz
gdb-f05819304c9e6c10adc625ffd587f96f5c1fd425.tar.bz2
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-ia64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3171333..d6775d6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index d18216b..a34fb80 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -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,