mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-10-31 10:24:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Description: set correct float abi settings for armel and armhf
 | |
|  debian armel supports systems that don't have a fpu so should use a "float abi"
 | |
|  setting of soft by default.
 | |
|  
 | |
|  Debian armhf needs a float abi setting of "hard"
 | |
| Author: Peter Michael Green <plugwash@debian.org>
 | |
| 
 | |
| ---
 | |
| The information above should follow the Patch Tagging Guidelines, please
 | |
| checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
 | |
| are templates for supplementary fields that you might want to add:
 | |
| 
 | |
| Origin: <vendor|upstream|other>, <url of original patch>
 | |
| Bug: <url in upstream bugtracker>
 | |
| Bug-Debian: http://bugs.debian.org/<bugnumber>
 | |
| Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
 | |
| Forwarded: <no|not-needed|url proving that it has been forwarded>
 | |
| Reviewed-By: <name and email of someone who approved the patch>
 | |
| Last-Update: <YYYY-MM-DD>
 | |
| 
 | |
| Index: llvm-toolchain-12_12.0.1~+rc2/clang/lib/Driver/ToolChains/Arch/ARM.cpp
 | |
| ===================================================================
 | |
| --- llvm-toolchain-12_12.0.1~+rc2.orig/clang/lib/Driver/ToolChains/Arch/ARM.cpp
 | |
| +++ llvm-toolchain-12_12.0.1~+rc2/clang/lib/Driver/ToolChains/Arch/ARM.cpp
 | |
| @@ -220,7 +220,7 @@ arm::FloatABI arm::getDefaultFloatABI(co
 | |
|      case llvm::Triple::MuslEABI:
 | |
|      case llvm::Triple::EABI:
 | |
|        // EABI is always AAPCS, and if it was not marked 'hard', it's softfp
 | |
| -      return FloatABI::SoftFP;
 | |
| +      return FloatABI::Soft;
 | |
|      case llvm::Triple::Android:
 | |
|        return (SubArch >= 7) ? FloatABI::SoftFP : FloatABI::Soft;
 | |
|      default:
 | 
