فهرست منبع

Remove use of _CALL_ELF which is not correct inside compiler

  This solve cross-endian compilation for powerpc64-linux target
Pierre Muller 6 روز پیش
والد
کامیت
f83b04bd8c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      compiler/ppcgen/cgppc.pas

+ 1 - 1
compiler/ppcgen/cgppc.pas

@@ -740,7 +740,7 @@ unit cgppc;
      case target_info.abi of
        abi_powerpc_aix:
          result:=LA_RTOC_AIX;
-{$if defined(powerpc64) and defined(_CALL_ELF) and (_CALL_ELF = 1)}
+{$if defined(powerpc64)}
        { no TOC on Linux/ppc32 }
        abi_powerpc_elfv1:
          result:=LA_RTOC_SYSV;