mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 06:59:33 +01:00 
			
		
		
		
	* pass march to GNU AS for cpu_armv6 and cpu_armv7
git-svn-id: trunk@21958 -
This commit is contained in:
		
							parent
							
								
									7b13c9230d
								
							
						
					
					
						commit
						614afc1c8f
					
				@ -86,8 +86,14 @@ unit agarmgas;
 | 
			
		||||
          result:='-mfpu=vfpv3 '+result;
 | 
			
		||||
        if (current_settings.fputype = fpu_vfpv3_d16) then
 | 
			
		||||
          result:='-mfpu=vfpv3-d16 '+result;
 | 
			
		||||
        if current_settings.cputype = cpu_armv7m then
 | 
			
		||||
          result:='-march=armv7m -mthumb -mthumb-interwork '+result;
 | 
			
		||||
 | 
			
		||||
        if current_settings.cputype=cpu_armv7m then
 | 
			
		||||
          result:='-march=armv7m -mthumb -mthumb-interwork '+result
 | 
			
		||||
        else if current_settings.cputype=cpu_armv6 then
 | 
			
		||||
          result:='-march=armv6 '+result
 | 
			
		||||
        else if current_settings.cputype=cpu_armv7 then
 | 
			
		||||
          result:='-march=armv7-a '+result;
 | 
			
		||||
 | 
			
		||||
        if target_info.abi = abi_eabihf then
 | 
			
		||||
          { options based on what gcc uses on debian armhf }
 | 
			
		||||
          result:='-mfloat-abi=hard -meabi=5 '+result;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user