mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 14:49:10 +02:00
+ register Darwin/AArch64 target
* pass "-arch arm64" to the linker for Darwin/AArch64 git-svn-id: trunk@29897 -
This commit is contained in:
parent
bee9c4185b
commit
60dd2d1dd5
@ -423,6 +423,10 @@ begin
|
||||
{ current versions of the linker require the sub-architecture type
|
||||
to be specified }
|
||||
LinkRes.Add(lower(cputypestr[current_settings.cputype]));
|
||||
system_aarch64_darwin:
|
||||
LinkRes.Add('arm64');
|
||||
else
|
||||
internalerror(2014121801);
|
||||
end;
|
||||
if MacOSXVersionMin<>'' then
|
||||
begin
|
||||
@ -976,6 +980,11 @@ initialization
|
||||
RegisterExport(system_arm_darwin,texportlibdarwin);
|
||||
RegisterTarget(system_arm_darwin_info);
|
||||
{$endif arm}
|
||||
{$ifdef aarch64}
|
||||
RegisterImport(system_aarch64_darwin,timportlibdarwin);
|
||||
RegisterExport(system_aarch64_darwin,texportlibdarwin);
|
||||
RegisterTarget(system_aarch64_darwin_info);
|
||||
{$endif aarch64}
|
||||
|
||||
RegisterRes(res_elf_info,TWinLikeResourceFile);
|
||||
RegisterRes(res_macho_info,TWinLikeResourceFile);
|
||||
|
Loading…
Reference in New Issue
Block a user