mirror of https://github.com/openssl/openssl.git
				
				
				
			x86cpuid.pl: hide symbols [backport from x86_64].
This commit is contained in:
		
							parent
							
								
									88d6b87fca
								
							
						
					
					
						commit
						6206682a35
					
				|  | @ -257,4 +257,6 @@ EOF | ||||||
|     &file($filename); |     &file($filename); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | sub ::hidden {} | ||||||
|  | 
 | ||||||
| 1; | 1; | ||||||
|  |  | ||||||
|  | @ -251,4 +251,6 @@ ___ | ||||||
| sub ::dataseg | sub ::dataseg | ||||||
| {   push(@out,".data\n");   } | {   push(@out,".data\n");   } | ||||||
| 
 | 
 | ||||||
|  | *::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf); | ||||||
|  | 
 | ||||||
| 1; | 1; | ||||||
|  |  | ||||||
|  | @ -455,4 +455,7 @@ my $max = "ebp"; | ||||||
| 
 | 
 | ||||||
| &initseg("OPENSSL_cpuid_setup"); | &initseg("OPENSSL_cpuid_setup"); | ||||||
| 
 | 
 | ||||||
|  | &hidden("OPENSSL_cpuid_setup"); | ||||||
|  | &hidden("OPENSSL_ia32cap_P"); | ||||||
|  | 
 | ||||||
| &asm_finish(); | &asm_finish(); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue