From b75b3eb082b9ee25be98e9cebe1ae5e665a682fc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 Oct 2023 10:52:02 +0100 Subject: [PATCH] Fix: alpha: ld segfaults in PR 30940 * elf64-alpha.c (elf64_alpha_check_relocs): Correct error message. --- bfd/ChangeLog | 5 +++++ bfd/elf64-alpha.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f44806fc34c..bf70a1da22d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2023-10-06 Nick Clifton + + PR 30940 + * elf64-alpha.c (elf64_alpha_check_relocs): Correct error message. + 2023-10-05 Nick Clifton PR 30904 diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 125379b4f88..eb60410f60d 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -1982,9 +1982,9 @@ elf64_alpha_check_relocs (bfd *abfd, struct bfd_link_info *info, { info->flags |= DF_TEXTREL; info->callbacks->minfo - (_("%pB: dynamic relocation against `%pT' in " + (_("%pB: dynamic relocation against a local symbol in " "read-only section `%pA'\n"), - sec->owner, h->root.root.root.string, sec); + sec->owner, sec); } } } -- 2.30.2