mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-04 17:03:41 +02:00

support the stabx as understood by gdb, which is a mixture of regular stabs and stabx (e.g., class/object definitions are completely different in real stabx). This means that gdb can be used to debug aix programs, but the native dbx will complain about lots of debug information constructs git-svn-id: trunk@20842 -
91 lines
2.1 KiB
ObjectPascal
91 lines
2.1 KiB
ObjectPascal
{
|
|
Copyright (c) 2001-2002 by Peter Vreman
|
|
|
|
Includes the powerpc64 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 NOTARGETBSD}
|
|
,t_bsd
|
|
{$endif}
|
|
{$ifndef NOTARGETAIX}
|
|
,t_aix
|
|
{$endif}
|
|
|
|
{**************************************
|
|
Assemblers
|
|
**************************************}
|
|
|
|
{$ifndef NOAGPPCGAS}
|
|
,agppcgas
|
|
{$endif}
|
|
|
|
{**************************************
|
|
Assembler Readers
|
|
**************************************}
|
|
|
|
{$ifndef NoRaPPCGas}
|
|
,rappcgas
|
|
{$endif NoRaPPCGas}
|
|
|
|
{**************************************
|
|
Debuginfo
|
|
**************************************}
|
|
|
|
{ stabs debug info are not supported, so do not include them here}
|
|
{ they are supported on darwin/ppc64 }
|
|
{$ifndef NoDbgStabs}
|
|
,dbgstabs
|
|
{$endif NoDbgStabs}
|
|
{$ifndef NoDbgStabx}
|
|
,dbgstabx
|
|
{$endif NoDbgStabx}
|
|
{$ifndef NoDbgDwarf}
|
|
,dbgdwarf
|
|
{$endif NoDbgDwarf}
|
|
|
|
|
|
{**************************************
|
|
Optimizer
|
|
**************************************}
|
|
|
|
{$ifndef NOOPT}
|
|
, aoptcpu
|
|
{$endif NOOPT}
|
|
;
|
|
|
|
end.
|