mirror of
https://github.com/apache/nuttx.git
synced 2026-10-24 07:18:45 +00:00
Add no_builtin for memcpy/memset to the startup code of boards with CONFIG_ARCH_RAMFUNCS, because certain compilers call memcpy/memset instead of the explicit for loop. This will cause a crash if memcpy/memset are mapped to RAM because the function that copies them to RAM is called later, resulting in undefined code being executed. Signed-off-by: Alexander Lerach <alexander@auterion.com> arch/arm: Use decorator for entry point Use a decorator that contains the required no_builtin instead of adding them explicitly to the startup code. This way it will be easier to maintain them in the future when changes to the no_builtin used are required. Signed-off-by: Alexander Lerach <alexander@auterion.com> arch/arm: Rename decorator Rename the entry point decorator used for the startup code to a less explicit name. This way the style is more consistent with other decorators. Signed-off-by: Alexander Lerach <alexander@auterion.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||