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

[NativeAOT] Use SoftFP ABI on linux-bionic-arm #100392

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

filipnavara
Copy link
Member

Android uses the SoftFP ABI on ARM32 (https://android.googlesource.com/platform/ndk/+/ndk-r12-release/docs/HardFloatAbi.md).

  • Copy Crossgen2 logic for "armel" target into ILCompiler
  • Use "armel" for linux-bionic-arm ILC target

Use "armel" for linux-bionic-arm ILC target.
Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 28, 2024
Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@filipnavara filipnavara marked this pull request as draft March 28, 2024 14:09
@filipnavara
Copy link
Member Author

I forgot to update the ObjWriter to write correct EABI attributes. Apparently the linker doesn’t care but we should report the correct info.

@filipnavara filipnavara marked this pull request as ready for review March 29, 2024 08:04
@filipnavara
Copy link
Member Author

I forgot to update the ObjWriter to write correct EABI attributes.

Fixed.

@MichalStrehovsky MichalStrehovsky merged commit ec4437b into dotnet:main Apr 1, 2024
90 checks passed
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
Android uses the SoftFP ABI on ARM32 (https://android.googlesource.com/platform/ndk/+/ndk-r12-release/docs/HardFloatAbi.md).

- Copy Crossgen2 logic for "armel" target into ILCompiler
- Use "armel" for linux-bionic-arm ILC target
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants