diff options
author | Mark Brown <broonie@kernel.org> | 2023-01-12 19:51:47 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-20 14:30:45 +0000 |
commit | aa58ace3499a678768f5ce9a5973919bfccd8a4e (patch) | |
tree | f1a20c5343bfb9379acddf9e884486f4da8e19f5 /tools | |
parent | 1c3b614548b50227c5950258831b130d832703b5 (diff) | |
download | linux-stable-aa58ace3499a678768f5ce9a5973919bfccd8a4e.tar.gz linux-stable-aa58ace3499a678768f5ce9a5973919bfccd8a4e.tar.bz2 linux-stable-aa58ace3499a678768f5ce9a5973919bfccd8a4e.zip |
kselftest/arm64: Fix .pushsection for strings in FP tests
The .pushsection directive used to store the strings used with the .puts
macro in the floating point helpers does not provide a section type but
according to the gas documentation this should be mandatory and with the
clang built in as it actually is. Provide one so that we can build these
tests with LLVM=1.
No functional change.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20230111-arm64-kselftest-clang-v1-1-89c69d377727@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/arm64/fp/assembler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/fp/assembler.h b/tools/testing/selftests/arm64/fp/assembler.h index 90bd433d2665..9b38a0da407d 100644 --- a/tools/testing/selftests/arm64/fp/assembler.h +++ b/tools/testing/selftests/arm64/fp/assembler.h @@ -57,7 +57,7 @@ endfunction // Utility macro to print a literal string // Clobbers x0-x4,x8 .macro puts string - .pushsection .rodata.str1.1, "aMS", 1 + .pushsection .rodata.str1.1, "aMS", @progbits, 1 .L__puts_literal\@: .string "\string" .popsection |