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

* the objc unit links against the Foundation instead of against the Cocoa framework, and inludes an interface to either the fragile or non-fragile obj-c run time depending on the target platform + support for the non-fragile Objective-C runtime/ABI, as used on Mac OS X for ARM (iPhone) 64 bit (PowerPC/64, x86_64) -- all these targets now are now also supported for the objectivec1 modeswitch + support for private_extern symbol bindings, required for the above * mark objcclasses that are declared in the implementation section of a unit as "hidden" (not sure what the effect is, since the Objective-C runtime does not seem to do anything with this flag) * enabled all obj-c tests for the newly supported platforms git-svn-id: branches/objc@13763 -
60 lines
1.5 KiB
ObjectPascal
60 lines
1.5 KiB
ObjectPascal
{
|
|
Copyright (c) 2000 by Florian Klaempfl
|
|
|
|
Includes the x86-64 code generator
|
|
|
|
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.
|
|
|
|
****************************************************************************
|
|
}
|
|
{ This is a helper unit to include the necessary code generator units
|
|
for the x86-64 processor.
|
|
}
|
|
unit cpunode;
|
|
|
|
{$i fpcdefs.inc}
|
|
|
|
interface
|
|
|
|
implementation
|
|
|
|
uses
|
|
{ generic nodes }
|
|
ncgbas,
|
|
ncgld,
|
|
ncgflw,
|
|
ncgcnv,
|
|
ncgmem,
|
|
ncgmat,
|
|
ncgcon,
|
|
ncgcal,
|
|
ncgset,
|
|
ncgopt,
|
|
ncgobjc,
|
|
// n386con,n386flw,n386mat,n386mem,
|
|
// n386set,n386inl,n386opt,
|
|
{ the cpu specific node units must be used after the generic ones to
|
|
get the correct class pointer }
|
|
nx86set,
|
|
nx86con,
|
|
nx64add,
|
|
nx64cal,
|
|
nx64cnv,
|
|
nx64mat,
|
|
nx64inl
|
|
;
|
|
|
|
end.
|