Fix: alpha: ld segfaults in
authorNick Clifton <nickc@redhat.com>
Fri, 6 Oct 2023 09:52:02 +0000 (10:52 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 6 Oct 2023 09:52:02 +0000 (10:52 +0100)
  PR 30940
  * elf64-alpha.c (elf64_alpha_check_relocs): Correct error message.

bfd/ChangeLog
bfd/elf64-alpha.c

index f44806fc34c1c593f9158333a47d1eed959bbd77..bf70a1da22d08ff3dee7553652e0f61ecf4fab10 100644 (file)
@@ -1,3 +1,8 @@
+2023-10-06  Nick Clifton  <nickc@redhat.com>
+
+       PR 30940
+       * elf64-alpha.c (elf64_alpha_check_relocs): Correct error message.
+
 2023-10-05  Nick Clifton  <nickc@redhat.com>
 
        PR 30904
index 125379b4f88196035c7c2d011435fff085089c8f..eb60410f60d290bc08b8bada5c7a05f14a738b83 100644 (file)
@@ -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);
                }
            }
        }