From f05819304c9e6c10adc625ffd587f96f5c1fd425 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 14 Mar 2005 18:55:44 +0000 Subject: [PATCH] 2005-03-14 H.J. Lu * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name for global symbol when reporting overflow. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-ia64.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 317133307eb..d6775d6fe7f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-03-14 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name + for global symbol when reporting overflow. + 2005-03-11 Jakub Jelinek * libbfd-in.h (_bfd_ar_spacepad): New prototype. diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index d18216bf65b..a34fb80541c 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, -- 2.30.2