aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
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 /bfd/elfxx-ia64.c
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.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c2
1 files changed, 1 insertions, 1 deletions
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,