Commit 1ff9f9e
qemu/mcu/arm/startup: Add an implementation for "abort".
This commit adds a naive implementation of the "abort" standard C
library, that is needed by certain C++ runtimes let code link.
Although the Arm toolchain used in the CI image does not need this,
newer or different toolchains may actually need this (eg. the Arm EABI
toolchain provided by Arch Linux). Given the limited scope of the QEMU
port, the function simply spins forever.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>1 parent 65dabf8 commit 1ff9f9e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| |||
0 commit comments