mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-02 22:55:22 +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 -
78 lines
1.8 KiB
ObjectPascal
78 lines
1.8 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}
|
|
|
|
{**************************************
|
|
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.
|