Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions riscv-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Moved all the assembly code to `asm.rs`
- Use `weak` symbols for functions such as `_mp_hook` or `_start_trap`
- `abort` is now `weak`, so it is possible to link third-party libraries including this symbol.

### Removed

Expand Down
2 changes: 1 addition & 1 deletion riscv-rt/src/asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ trap_handler!(
#[rustfmt::skip]
global_asm!(
".section .text.abort
.global abort
.weak abort
abort: // make sure there is an abort symbol when linking
j abort"
);