-
由 Chenxi Mao 提交于
SUSE inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6E6SR Reference: https://bugs.llvm.org/show_bug.cgi?id=38642 -------------------------------- If openEuler kernel build with clang, the error log is as below: ``` [ 158s] ../arch/arm64/crypto/crct10dif-neon-asm_64.S:86:10: error: literal value out of range for directive [ 158s] LDR Q6,=0xe658000000000000044c000000000000 ``` Clang compiler didn't support this kind of code style, so changed the code style to support both GCC and clang. Fix the code style as below: ``` LDR Q6, .Ldata1 .Ldata1: .word 0x00000000 .word 0x044c0000 .word 0x00000000 .word 0xe6580000 ``` Above code style can be supported by both gcc and clang compilers. Tested and bring up on clang-15 and gcc-10. Link: https://bugs.llvm.org/show_bug.cgi?id=38642Signed-off-by: NChenxi Mao <chenxi.mao@suse.com>
db3a57db