!380 Fix kernel build error with clang compiler on aarch64
Merge Pull Request from: @chenxi-mao 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://gitee.com/openeuler/kernel/pulls/380 Reviewed-by: Yue Haibing <yuehaibing@huawei.com> Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> Acked-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录