mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 08:31:49 +01:00 
			
		
		
		
	 b2b26f84cf
			
		
	
	
		b2b26f84cf
		
	
	
	
	
		
			
			- startup code/controller units are not merged yet - assembler call does not pass the needed CPU type yet git-svn-id: trunk@27188 -
		
			
				
	
	
		
			86 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| {
 | |
|     Copyright (c) 2001 by Peter Vreman
 | |
| 
 | |
|     Includes the mips dependent target units
 | |
| 
 | |
|     This program is free software; you can redistribute it and/or modify
 | |
|     it under the terms of the GNU General Public License as published by
 | |
|     the Free Software Foundation; either version 2 of the License, or
 | |
|     (at your option) any later version.
 | |
| 
 | |
|     This program is distributed in the hope that it will be useful,
 | |
|     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
|     GNU General Public License for more details.
 | |
| 
 | |
|     You should have received a copy of the GNU General Public License
 | |
|     along with this program; if not, write to the Free Software
 | |
|     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 | |
| 
 | |
|  ****************************************************************************
 | |
| }
 | |
| unit cputarg;
 | |
| 
 | |
| {$i fpcdefs.inc}
 | |
| 
 | |
| interface
 | |
| 
 | |
| 
 | |
| implementation
 | |
| 
 | |
|     uses
 | |
|       systems { prevent a syntax error when nothing is included }
 | |
| 
 | |
| {$ifndef NOOPT}
 | |
|       ,aoptcpu
 | |
| {$endif NOOPT}
 | |
| {$ifndef NOMIPSGAS}
 | |
|       ,racpugas
 | |
| {$endif NOMIPSGAS}
 | |
| 
 | |
| 
 | |
| {**************************************
 | |
|              Targets
 | |
| **************************************}
 | |
| 
 | |
|     {$ifndef NOTARGETLINUX}
 | |
|       ,t_linux
 | |
|     {$endif}
 | |
|     {$ifndef NOTARGETANDROID}
 | |
|       {$ifdef MIPSEL}
 | |
|         ,t_android
 | |
|       {$endif MIPSEL}
 | |
|     {$endif}
 | |
|     {$ifndef NOTARGETEMBEDDED}
 | |
|       ,t_embed
 | |
|     {$endif}
 | |
| 
 | |
| {**************************************
 | |
|              Assemblers
 | |
| **************************************}
 | |
| 
 | |
|       ,CpuGas
 | |
|       ,ogelf
 | |
|       ,cpuelf
 | |
| 
 | |
| {**************************************
 | |
|              Debuginfo
 | |
| **************************************}
 | |
| 
 | |
| {$define NoCFIDwarf}
 | |
| {define NoDbgDwarf}
 | |
| { Try only stabs for a start }
 | |
|   {$ifndef NoCFIDwarf}
 | |
|       ,cfidwarf
 | |
|   {$endif NoCFIDwarf}
 | |
|   {$ifndef NoDbgStabs}
 | |
|       ,dbgstabs
 | |
|   {$endif NoDbgStabs}
 | |
|   {$ifndef NoDbgDwarf}
 | |
|       ,dbgdwarf
 | |
|   {$endif NoDbgDwarf}
 | |
| 
 | |
|       ;
 | |
| 
 | |
| end.
 |