From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id C6CAB385840D; Tue, 23 Apr 2024 16:13:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6CAB385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713888823; bh=UYRDPbMJUqYPljTtWuAxZnacbIpcedh21RPh/ydYSVY=; h=From:To:Subject:Date:From; b=fPKMn50sVim2tL/NLbEkonn3yIKyuD5u/86SSFkys2GiZXQoK7e40h3XaDpCHJjoE qefuYtFcOMj+qiyjnaYqdK/X+Qlh7oKayQvsXiJ+d6fItUTAkOTrwCTzdqfrNkj6tz qVa0dAj7uxhXx8OdUgcnZhqICPSpTnA1ToPeFInU= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: H.J. Lu To: binutils-cvs@sourceware.org Subject: [binutils-gdb] bfd: Remove duplicate word in elf-vxworks.c X-Act-Checkin: binutils-gdb X-Git-Author: Olivier Hainque X-Git-Refname: refs/heads/master X-Git-Oldrev: 6c2119acf78b4a48caa918c1d63aac7a64a19c82 X-Git-Newrev: 9b441c415c556e608e22cb9d16b500992a972b0c Message-Id: <20240423161343.C6CAB385840D@sourceware.org> Date: Tue, 23 Apr 2024 16:13:43 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D9b441c415c55= 6e608e22cb9d16b500992a972b0c commit 9b441c415c556e608e22cb9d16b500992a972b0c Author: Olivier Hainque Date: Mon Apr 22 02:50:28 2024 -0300 bfd: Remove duplicate word in elf-vxworks.c =20 PR ld/31652 * elf-vxworks.c (elf_vxworks_emit_relocs): Drop duplicate word. Diff: --- 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