|
@@ -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);
|