RISC-V: Broken relax when symbol versioning used

Alexander von Gluck IV kallisti5@unixzen.com
Wed Sep 1 17:51:31 GMT 2021


Hello!

We're seeing an issue over on the Haiku RISCV64 port when using symbol versioning (".symver") and -mrelax enabled.
When the above is true, Invalid PC-relative offsets appear at the link stage, object files produced by compiler have correct offsets however.

Anyone know what could be causing this? binutils 2.36.1.

 -- Alex


More information about the Binutils mailing list