HomeFreeBSD

MFC 355403: Use "far" calls and branches so that lld uses valid relocations.

Description

MFC 355403: Use "far" calls and branches so that lld uses valid relocations.

Conditional branch and jump instructions do not always call via PLT
stubs and thus will not honor LD_PRELOAD, etc. lld warns about using
non-preemptible relocations for preemptible or unknown symbols whereas
bfd does not (at least for RISC-V).

Details

Provenance
jhbAuthored on
Parents
rS360782: MFC r306679 (by glebius):
Branches
Unknown
Tags
Unknown