forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust's libcore genuinely needs 64-bit division for formatting, but we can't change these to use kernel's division routine; so `__aeabi_uldivmod` calls will be generated. Instead of defining a stub that can affect all code, use objcopy to redirect these calls and forward them to `div64_u64_rem`. Signed-off-by: Gary Guo <gary@garyguo.net>
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters