Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JITLink][LoongArch] Handle R_LARCH_GOT_PC_{HI20,LO12} fixups #94589

Closed
wants to merge 1 commit into from

Commits on Jun 6, 2024

  1. [JITLink][LoongArch] Handle R_LARCH_GOT_PC_{HI20,LO12} fixups

    In default,
    RequestGOTAndTransformToPage20/RequestGOTAndTransformToPageOffset12
    is transformed to Page20/PageOffset12. Only the latter are later
    handled when applying fixups, the former are simply ignored.
    
    This patch proposes to handle RequestGOTAndTransformTo* anyway when
    applying fixups to support custom configurations. This enables GOT
    entries from the input binary can be reused, BOLT is one such example.
    zhaoqi5 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    bcca6ae View commit details
    Browse the repository at this point in the history