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 compilation on early arm architectures #15557

Closed
wants to merge 2 commits into from

Commits on Nov 22, 2023

  1. module/icp/asm-arm/sha2: auto detect __ARM_ARCH

    This patch uses __ARM_ARCH set by compiler (both
    GCC and Clang have this) whenever possible instead
    of hardcoding it to 7. This change allows code to
    compile on earlier ARM architectures such as armv5te.
    
    Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
    Harry-Chen committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    bd7b0a7 View commit details
    Browse the repository at this point in the history
  2. module/icp/asm-arm/sha2: fix compiling on armv5/6

    The `adr` insn in neon kernel generates an compiling
    error on armv5/6 target. Fix that by using `ldr`.
    
    Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
    Harry-Chen committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    f9afa21 View commit details
    Browse the repository at this point in the history