Can't link soft-float modules with double-float modules

I added instructions to the llvm backend, then used llc to generate the obj file, and then used gcc to generate the executable file,but I encountered this problem.There are the commands i used.I searched for a solution, but I still can’t solve the problem.

./llc rv-buddy-mvin.ll -filetype=obj -mtriple=riscv64 -mattr=+buddyext -mattr=+d -target-abi=lp64d
riscv64-unknown-linux-gnu-gcc log.o
riscv64-unknown-linux-gnu/bin/ld: log.o: can't link soft-float modules with double-float modules
riscv64-unknown-linux-gnu/bin/ld: failed to merge target specific data of file log.o

If anyone can help me, I would be grateful,thanks!

I have solved this problem and I found that llc has the –float-abi option.