mirror of
				https://github.com/jart/cosmopolitan.git
				synced 2025-10-27 03:16:44 +00:00 
			
		
		
		
	Fix memmove() alias on aarch64 with --ftrace
This commit is contained in:
		
							parent
							
								
									e9e8bbe6da
								
							
						
					
					
						commit
						e1b83399bd
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -53,10 +53,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI|FEATURE_1_PAC) | ||||||
| 
 | 
 | ||||||
| #define ENTRY(name)	ENTRY_ALIGN(name, 6) | #define ENTRY(name)	ENTRY_ALIGN(name, 6) | ||||||
| 
 | 
 | ||||||
| #define ENTRY_ALIAS(name)	\ | /* [jart] alias the proper way */ | ||||||
|   .global name;		\ | #define ENTRY_ALIAS(sym, alias) \ | ||||||
|   .type name,%function;	\ |   .global alias;		\ | ||||||
|   name: |   .equ alias,sym | ||||||
| 
 | 
 | ||||||
| #define END(name)	\ | #define END(name)	\ | ||||||
|   .cfi_endproc;		\ |   .cfi_endproc;		\ | ||||||
|  |  | ||||||
|  | @ -78,7 +78,7 @@ Copyright 2022 ARM Limited\n" | ||||||
|    The loop tail is handled by always copying 64 bytes from the end. |    The loop tail is handled by always copying 64 bytes from the end. | ||||||
| */ | */ | ||||||
| 
 | 
 | ||||||
| ENTRY_ALIAS (__memmove_aarch64_simd) | ENTRY_ALIAS (__memcpy_aarch64_simd, __memmove_aarch64_simd) | ||||||
| ENTRY (__memcpy_aarch64_simd) | ENTRY (__memcpy_aarch64_simd) | ||||||
| 	PTR_ARG (0) | 	PTR_ARG (0) | ||||||
| 	PTR_ARG (1) | 	PTR_ARG (1) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue