RISC-V: Broken relax when symbol versioning used

Andreas Schwab schwab@linux-m68k.org
Wed Sep 1 18:08:52 GMT 2021


On Sep 01 2021, Alexander von Gluck IV wrote:

> 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.

This is probably
<https://sourceware.org/bugzilla/show_bug.cgi?id=28021>, fixed in commit
235f5ef4a6b.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Binutils mailing list