Explorar o código

* powerpc64-linux: libc_csu_* are not available anymore in newer glibc,
make them dummy calls, x86_64-linux does the same for years

(cherry picked from commit abee68df9237f05da64d0608570c3c1de768a120)

florian %!s(int64=3) %!d(string=hai) anos
pai
achega
46a316791c
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      rtl/linux/powerpc64/si_c.inc

+ 8 - 2
rtl/linux/powerpc64/si_c.inc

@@ -712,6 +712,10 @@ data_start:
 .text
 .text
   end;
   end;
 
 
+procedure ini_dummy;
+  begin
+  end;
+
 const
 const
   start_addresses: record
   start_addresses: record
     sda_base: pointer;
     sda_base: pointer;
@@ -721,8 +725,10 @@ const
   end
   end
   = (sda_base: nil; {* was _SDA_BASE_  but not in 64-bit ABI }
   = (sda_base: nil; {* was _SDA_BASE_  but not in 64-bit ABI }
      main: @main_stub;
      main: @main_stub;
-     libc_csu_init: @__libc_csu_init;
-     libc_csu_fini: @__libc_csu_fini
+     { use dummy, it should not be used anymore by glibc }
+     libc_csu_init: @ini_dummy;
+     { use dummy, it should not be used anymore by glibc }
+     libc_csu_fini: @ini_dummy
     );
     );