Add missing crt0 symbols for RTEMS
In order to enable proper detection of thread-local storage availability we have to provide some symbols on ARM. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
		
				
					committed by
					
						 Corinna Vinschen
						Corinna Vinschen
					
				
			
			
				
	
			
			
			
						parent
						
							f0ae353a4f
						
					
				
				
					commit
					df2ea99a50
				
			| @@ -188,6 +188,11 @@ RTEMS_STUB(_VOID, _free_r(struct _reent *r, _PTR *p), { }) | ||||
| /* stubs for functions required by libc/stdlib */ | ||||
| RTEMS_STUB(void, __assert_func(const char *file, int line, const char *failedexpr), { }) | ||||
|  | ||||
| #if defined(__arm__) | ||||
| RTEMS_STUB(void, __aeabi_read_tp(void), { }) | ||||
| RTEMS_STUB(void *, __tls_get_addr(const void *ti), { }) | ||||
| #endif | ||||
|  | ||||
| /* The PowerPC expects certain symbols to be defined in the linker script. */ | ||||
|  | ||||
| #if defined(__PPC__) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user