mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-13 14:48:33 -04:00
LLVM assembler compatibility for ARM_CRx_MPU
GNU as makes unrecognized sections loadable and writable by default, but LLVM's assembler requires specifying flags explicitly. Without them, the linker generates "has non-ABS relocation" errors when trying to link the resulting object files.
This commit is contained in:
parent
2da35debfd
commit
296cce9fdb
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
.arm
|
||||
.syntax unified
|
||||
.section freertos_system_calls
|
||||
.section freertos_system_calls, "ax"
|
||||
|
||||
#define FREERTOS_ASSEMBLY
|
||||
#include "FreeRTOSConfig.h"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
.arm
|
||||
.syntax unified
|
||||
.section privileged_functions
|
||||
.section privileged_functions, "ax"
|
||||
|
||||
#define FREERTOS_ASSEMBLY
|
||||
#include "portmacro_asm.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue