From 9b441c415c556e608e22cb9d16b500992a972b0c Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Mon, 22 Apr 2024 02:50:28 -0300 Subject: [PATCH] bfd: Remove duplicate word in elf-vxworks.c PR ld/31652 * elf-vxworks.c (elf_vxworks_emit_relocs): Drop duplicate word. --- bfd/elf-vxworks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfd/elf-vxworks.c b/bfd/elf-vxworks.c index 36e5540f9c0..5d91913f097 100644 --- a/bfd/elf-vxworks.c +++ b/bfd/elf-vxworks.c @@ -186,7 +186,7 @@ elf_vxworks_emit_relocs (bfd *output_bfd, library. We are creating a definition in the output file but it does not come from any of our normal (.o) files. ie. a PLT stub. Normally this would be a - relocation against against SHN_UNDEF with the VMA of + relocation against SHN_UNDEF with the VMA of the PLT stub. This upsets the VxWorks loader. Convert it to a section-relative relocation. This gets some other symbols (for instance .dynbss), but -- 2.44.0