We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27c4faf + a5f4e59 commit 62a54a7Copy full SHA for 62a54a7
riscv-rt/CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
15
16
- Moved all the assembly code to `asm.rs`
17
- Use `weak` symbols for functions such as `_mp_hook` or `_start_trap`
18
+- `abort` is now `weak`, so it is possible to link third-party libraries including this symbol.
19
20
### Removed
21
riscv-rt/src/asm.rs
@@ -337,7 +337,7 @@ trap_handler!(
337
#[rustfmt::skip]
338
global_asm!(
339
".section .text.abort
340
- .global abort
+.weak abort
341
abort: // make sure there is an abort symbol when linking
342
j abort"
343
);
0 commit comments