mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-30 10:45:40 +03:00 
			
		
		
		
	Add awareness and a thin wrapper function around a new Linux system call that allows callers to get architecture and microarchitecture information about the CPUs from the kernel. This can be used to do things like dynamically choose a memcpy implementation. Signed-off-by: Evan Green <evan@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			184 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			184 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ld {
 | |
|   GLIBC_PRIVATE {
 | |
|     # used for loading by static libraries
 | |
|     _dl_var_init;
 | |
|   }
 | |
| }
 | |
| libc {
 | |
|   GLIBC_2.27 {
 | |
|     __riscv_flush_icache;
 | |
|   }
 | |
|   GLIBC_2.40 {
 | |
|     __riscv_hwprobe;
 | |
|   }
 | |
| }
 |