mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 10:49:11 +02:00
* powerpc64-linux: libc_csu_* are not available anymore in newer glibc,
make them dummy calls, x86_64-linux does the same for years
This commit is contained in:
parent
0b2a58027c
commit
abee68df92
@ -715,6 +715,10 @@ data_start:
|
||||
.text
|
||||
end;
|
||||
|
||||
procedure ini_dummy;
|
||||
begin
|
||||
end;
|
||||
|
||||
const
|
||||
start_addresses: record
|
||||
sda_base: pointer;
|
||||
@ -724,8 +728,10 @@ const
|
||||
end
|
||||
= (sda_base: nil; {* was _SDA_BASE_ but not in 64-bit ABI }
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user