Skip to content

Commit a69bfd2

Browse files
committed
rust: compiler_builtins: __subsf3 for ppc64le
powerpc64le-linux-gnu-ld: rust/core.o: in function `<core::core_arch::powerpc::altivec::vector_float as core::ops::arith::Neg>::neg': core.bd923ab8a410e564-cgu.0:(.text+0x2a5b8): undefined reference to `__subsf3' Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 6abe8c9 commit a69bfd2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rust/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ rust-analyzer:
396396
$(RUST_LIB_SRC) > $(objtree)/rust-project.json
397397

398398
redirect-intrinsics = \
399-
__addsf3 __eqsf2 __gesf2 __lesf2 __ltsf2 __mulsf3 __nesf2 __unordsf2 \
399+
__addsf3 __eqsf2 __gesf2 __lesf2 __ltsf2 __mulsf3 __nesf2 __subsf3 __unordsf2 \
400400
__adddf3 __ledf2 __ltdf2 __muldf3 __unorddf2 \
401401
__muloti4 __multi3 \
402402
__udivmodti4 __udivti3 __umodti3 \

rust/compiler_builtins.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ define_panicking_intrinsics!("`f32` should not be used", {
4444
__ltsf2,
4545
__mulsf3,
4646
__nesf2,
47+
__subsf3,
4748
__unordsf2,
4849
});
4950

0 commit comments

Comments
 (0)