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 newlib versions #97

Merged
merged 2 commits into from
Aug 4, 2019
Merged

Fix newlib versions #97

merged 2 commits into from
Aug 4, 2019

Conversation

bluewww
Copy link
Contributor

@bluewww bluewww commented Aug 2, 2019

The PULP RISC-V compiler uses an older version of newlib which uses different (not underscored) syscalls stubs (relevant for tb/core/custom). We add an appropriate version ifdef .

* Turns out in newlib older than v2.5 they didn't use underscore prefixed
names for the to-be-implemented functions which goes against newlibs
recommendation. Unfortunately pulp-riscv-gcc uses such an old version
and.

* Add -lgcc in case we use some software emulation routines
@bluewww bluewww merged commit 5f726e3 into master Aug 4, 2019
@bluewww bluewww deleted the fix_newlib_versions branch August 5, 2019 15:50
pascalgouedo pushed a commit to pascalgouedo/cv32e40p that referenced this pull request Aug 30, 2023
- Fix Underflow flag for MUL and DIV/SQRT operations (openhwgroup#94 openhwgroup#726 openhwgroup#729)
- Fix for Float to Int conversion (openhwgroup#97 openhwgroup#83 openhwgroup#727)
- Fixed unnecessary trailing semicolon (openhwgroup#99)

Signed-off-by: Pascal Gouedo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant