diff options
| author | Thomas Weißschuh <[email protected]> | 2024-08-12 20:50:19 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <[email protected]> | 2024-08-16 15:23:13 +0000 |
| commit | 25fb329a23c78d59a055a7b1329d18f30a2be92d (patch) | |
| tree | 880e4b11c2d6da2ba013e10de0c0f71038486f8e /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | tools/nolibc: stackprotector: mark implicitly used symbols as used (diff) | |
| download | kernel-25fb329a23c78d59a055a7b1329d18f30a2be92d.tar.gz kernel-25fb329a23c78d59a055a7b1329d18f30a2be92d.zip | |
tools/nolibc: x86_64: use local label in memcpy/memmove
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.
Reviewed-by: Ammar Faizi <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
