https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108315
--- Comment #10 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Rui Ueyama from comment #9) > I'm the maintainer of the mold linker. I didn't implement that POWER10 ABI > because I didn't have an access to a POWER10 machine and therefore couldn't > verify the correctness of my implementation. Thanks for the info. It might be better to explicitly diagnose the '.localentry 1' case and error out instead of producing an executable that will continue to run with wrong r2 after the mislinked call returns.