mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 01:59:34 +02:00

ARM status: roughly corresponds to i386 one, passes the test suite. Handles libraries, can link static libc code including basic PIC and TLS IE/LE stuff. Completely misses Thumb support. Also does not handle ABI-specific stuff, for this reason internally linked .so cannot be used for linking executables with ld. Little-endian only. Tested only on "versatilepb" QEMU virtual machine. MIPS status: can link the compiler and at least some dynamic executables including fpmake. Some PIC support is present but almost untested. Specific header flags and sections are also not handled yet. Written to handle both endian, but tested for big-endian only ("malta" QEMU VM), including cross-linking from x86_64. git-svn-id: trunk@23376 -
96 lines
2.1 KiB
ObjectPascal
96 lines
2.1 KiB
ObjectPascal
{
|
|
Copyright (c) 2001-2002 by Peter Vreman
|
|
|
|
Includes the arm 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 }
|
|
|
|
{**************************************
|
|
Targets
|
|
**************************************}
|
|
|
|
{$ifndef NOTARGETLINUX}
|
|
,t_linux
|
|
{$endif}
|
|
{$ifndef NOTARGETWINCE}
|
|
,t_win
|
|
{$endif}
|
|
{$ifndef NOTARGETGBA}
|
|
,t_gba
|
|
{$endif}
|
|
{$ifndef NOTARGETPALMOS}
|
|
,t_palmos
|
|
{$endif}
|
|
{$ifndef NOTARGETNDS}
|
|
,t_nds
|
|
{$endif}
|
|
{$ifndef NOTARGETEMBEDDED}
|
|
,t_embed
|
|
{$endif}
|
|
{$ifndef NOTARGETSYMBIAN}
|
|
,t_symbian
|
|
{$endif}
|
|
{$ifndef NOTARGETBSD}
|
|
,t_bsd
|
|
{$endif}
|
|
|
|
{**************************************
|
|
Assemblers
|
|
**************************************}
|
|
|
|
{$ifndef NOAGARMGAS}
|
|
,agarmgas
|
|
{$endif}
|
|
|
|
,ogcoff
|
|
,ogelf
|
|
,cpuelf
|
|
|
|
{**************************************
|
|
Assembler Readers
|
|
**************************************}
|
|
|
|
{$ifndef NoRaarmgas}
|
|
,raarmgas
|
|
{$endif NoRaarmgas}
|
|
|
|
{**************************************
|
|
Debuginfo
|
|
**************************************}
|
|
|
|
{$ifndef NoDbgStabs}
|
|
,dbgstabs
|
|
{$endif NoDbgStabs}
|
|
{$ifndef NoDbgDwarf}
|
|
,dbgdwarf
|
|
{$endif NoDbgDwarf}
|
|
;
|
|
|
|
end.
|