[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zrqlj5OHi6dFulxh@biznet-home.integral.gnuweeb.org>
Date: Tue, 13 Aug 2024 07:15:11 +0700
From: Ammar Faizi <ammarfaizi2@...weeb.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Willy Tarreau <w@....eu>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] tools/nolibc: x86_64: use local label in
memcpy/memmove
On Mon, Aug 12, 2024 at 10:50:19PM +0200, Thomas Weißschuh wrote:
> Compiling arch-x86_64.h with clang and binutils LD yields
> duplicate label errors:
>
> .../gcc-13.2.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: error: LLVM gold plugin: <inline asm>:44:1: symbol '.Lbackward_copy' is already defined
> .Lbackward_copy:leaq -1(%rdi, %rcx, 1), %rdi
>
> Instead of a local symbol use a local label which can be defined
> multiple times and therefore avoids the error.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
> ---
Reviewed-by: Ammar Faizi <ammarfaizi2@...weeb.org>
--
Ammar Faizi
Powered by blists - more mailing lists