diff options
author | Nick Clifton <nickc@redhat.com> | 2023-10-06 10:52:02 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-10-06 10:52:02 +0100 |
commit | b75b3eb082b9ee25be98e9cebe1ae5e665a682fc (patch) | |
tree | f4cef0f8d53eccf2d2b0e8bc83b874d3547380cf | |
parent | 740ce35025a5a37d78b0ee2a363c35534eaa1a2a (diff) | |
download | gdb-b75b3eb082b9ee25be98e9cebe1ae5e665a682fc.zip gdb-b75b3eb082b9ee25be98e9cebe1ae5e665a682fc.tar.gz gdb-b75b3eb082b9ee25be98e9cebe1ae5e665a682fc.tar.bz2 |
Fix: alpha: ld segfaults in
PR 30940
* elf64-alpha.c (elf64_alpha_check_relocs): Correct error message.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-alpha.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f44806f..bf70a1d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 125379b..eb60410 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); } } } |