about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-04-29 15:26:24 +0800
committercaiyinyu <caiyinyu@loongson.cn>2024-05-28 09:17:05 +0800
commit0c1d2c277a59f08fd3232b33d18644ea890190ea (patch)
treedc6e5426a502f568d81d3212ff52f99575836fa9 /bits
parente0f7f1808fb024d35c3d9973e68245efc78fff40 (diff)
downloadglibc-0c1d2c277a59f08fd3232b33d18644ea890190ea.tar.gz
glibc-0c1d2c277a59f08fd3232b33d18644ea890190ea.tar.xz
glibc-0c1d2c277a59f08fd3232b33d18644ea890190ea.zip
LoongArch: Use "$fcsr0" instead of "$r0" in _FPU_{GET,SET}CW
Clang inline-asm parser does not allow using "$r0" in
movfcsr2gr/movgr2fcsr, so everything using _FPU_{GET,SET}CW is now
failing to build with Clang on LoongArch.  As we now requires Binutils
>= 2.41 which supports using "$fcsr0" here, use it instead of "$r0" to
fix the issue.

Link: https://github.com/loongson-community/discussions/issues/53#issuecomment-2081507390
Link: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4142b2368353
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Diffstat (limited to 'bits')
0 files changed, 0 insertions, 0 deletions