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

Fix multilib PACBTI mapping #501

Merged
merged 1 commit into from
Sep 13, 2024

Commits on Sep 13, 2024

  1. Fix multilib PACBTI-M mapping

    Follow up to [ARM-software#467](ARM-software#467).
    
    This patch fixes the multilib mapping for PACBTI-M.
    
    The PACBTI-M variant should also match to configurations where
    the branch protection is restricted to only one of PAC or BTI, like in
    `-mbranch-protection=bti` or `-mbranch-protection=pac-ret`. Before this
    patch, the variant would only match if both features were requested at
    the same time. This is safe to do because instructions from either
    feature have no effect if that feature is disabled at runtime.
    
    This change also replaces ocurrences of `-mbranch-protection=standard`
    by `-mbranch-protection=pac-ret+bti` because the latter is more
    explicit.
    vhscampos committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9d4172b View commit details
    Browse the repository at this point in the history