mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-03 18:49:02 +01: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:
		
							parent
							
								
									2da35debfd
								
							
						
					
					
						commit
						c5bec0e4b2
					
				@ -30,7 +30,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    .arm
 | 
					    .arm
 | 
				
			||||||
    .syntax unified
 | 
					    .syntax unified
 | 
				
			||||||
    .section freertos_system_calls
 | 
					    .section freertos_system_calls, "ax"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FREERTOS_ASSEMBLY
 | 
					#define FREERTOS_ASSEMBLY
 | 
				
			||||||
    #include "FreeRTOSConfig.h"
 | 
					    #include "FreeRTOSConfig.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -28,7 +28,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    .arm
 | 
					    .arm
 | 
				
			||||||
    .syntax unified
 | 
					    .syntax unified
 | 
				
			||||||
    .section privileged_functions
 | 
					    .section privileged_functions, "ax"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FREERTOS_ASSEMBLY
 | 
					#define FREERTOS_ASSEMBLY
 | 
				
			||||||
    #include "portmacro_asm.h"
 | 
					    #include "portmacro_asm.h"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user