mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-16 12:34:29 +00:00
LLVM assembler compatibility for ARM_CRx_MPU (#1303)
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user