Currently all functions in the object files from .a is compiled into seperated segments, thus all function calls between these functions even within the same object file are relocatable symbols. Objdump cannot provide the correct link to the target, neither Ghdira nor radare does so.
It also seems that riscv toolchain in 32bits cannot link shared library correctly since it's only supported in riscv64-linux.
We might ended up with compiling and link a minimal executable without stripping the symbols and unused function and analysis based on that executable.
Currently all functions in the object files from
.ais compiled into seperated segments, thus all function calls between these functions even within the same object file are relocatable symbols. Objdump cannot provide the correct link to the target, neither Ghdira nor radare does so.It also seems that riscv toolchain in 32bits cannot link shared library correctly since it's only supported in riscv64-linux.
We might ended up with compiling and link a minimal executable without stripping the symbols and unused function and analysis based on that executable.