File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2323*/
2424
2525/* Default abort entry point. If no abort symbol is provided, then abort maps to _abort. */
26- EXTERN(_abort );
27- PROVIDE(abort = _abort );
26+ EXTERN(_default_abort );
27+ PROVIDE(abort = _default_abort );
2828
2929/* Default trap entry point. The riscv-rt crate provides a weak alias of this function,
3030 which saves caller saved registers, calls _start_trap_rust, restores caller saved registers
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ riscv_rt_macros::vectored_interrupt_trap!();
268268#[ rustfmt:: skip]
269269global_asm ! (
270270 ".section .text.abort
271- .global _abort
272- _abort : // make sure there is an abort symbol when linking
273- j _abort "
271+ .global _default_abort
272+ _default_abort : // make sure there is an abort symbol when linking
273+ j _default_abort "
274274) ;
You can’t perform that action at this time.
0 commit comments