mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-31 22:10:34 +03:00 
			
		
		
		
	Some targets have a GLIBC_2.0 baseline for libdl, while using GLIBC_2.2 for libc. This means that the generated libc.map file does not have any version nodes for GLIBC_2.0 or GLIBC_2.1. However, moving symbols from libdl into libc needs such version nodes. (Future symbol moves from librt will need this as well.) This kludge is only necessary for symbols predating GLIBC_2.2 because the affected targets use GLIBC_2.2 as the baseline for libc. Given the small number and fixed set of affected architectures, no generic mechanism is implemented, and instead the map file fragment is hard-coded in scripts/versions.mk. The compat_symbol macro already emits the appropriate version strings, so no adjustments are needed there. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
		
			
				
	
	
		
			32 lines
		
	
	
		
			407 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			407 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| !libc_pre_versions
 | |
| libc {
 | |
|   GLIBC_2.2 {
 | |
|     # functions used in other libraries
 | |
|     __xstat64; __fxstat64; __lxstat64;
 | |
| 
 | |
|     # a*
 | |
|     alphasort64;
 | |
| 
 | |
|     # g*
 | |
|     glob64;
 | |
| 
 | |
|     # New rlimit interface
 | |
|     getrlimit; setrlimit; getrlimit64;
 | |
| 
 | |
|     # r*
 | |
|     readdir64; readdir64_r;
 | |
| 
 | |
|     # s*
 | |
|     scandir64;
 | |
| 
 | |
|     # v*
 | |
|     versionsort64;
 | |
|   }
 | |
|   GLIBC_2.11 {
 | |
|     fallocate64;
 | |
|   }
 | |
|   GLIBC_2.16 {
 | |
|     fanotify_mark;
 | |
|   }
 | |
| }
 |