forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed undefined reference error when "make recover" in EON
In commaai/panda@fd23383 the linker flag -lgcc might not work on EON as it does not have the correct library. The fix was a workaround in sha.c such that we no longer need to import function __aeabi_llsr from library, by replacing right shift operation with const argument. E.g., uint64_t a = b >> i // requires __aeabi_llsr from libgcc uint64_t a = b >> 2 // does not require external library Resolves: commaai#522
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 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