From: Olivier Hainque Date: Mon, 22 Apr 2024 05:50:28 +0000 (-0300) Subject: bfd: Remove duplicate word in elf-vxworks.c X-Git-Tag: gdb-15-branchpoint~271 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b441c415c556e608e22cb9d16b500992a972b0c;p=thirdparty%2Fbinutils-gdb.git bfd: Remove duplicate word in elf-vxworks.c PR ld/31652 * elf-vxworks.c (elf_vxworks_emit_relocs): Drop duplicate word. --- 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