* all references to libc_csu_ cleaned, should resolve #39295

This commit is contained in:
florian 2022-01-05 21:42:17 +01:00
parent abee68df92
commit b00fe0e4e4
2 changed files with 9 additions and 8 deletions

View File

@ -657,9 +657,6 @@ _restvr_31: addi r12,r0,-16
Process start/halt
******************************************************************************}
procedure __libc_csu_init; cdecl; external;
procedure __libc_csu_fini; cdecl; external;
procedure __libc_start_main(r3,r4,r5,r6,r7,r8,r9: pointer); cdecl; external;
var

View File

@ -657,9 +657,6 @@ _restvr_31: addi r12,r0,-16
Process start/halt
******************************************************************************}
procedure __libc_csu_init; cdecl; external;
procedure __libc_csu_fini; cdecl; external;
procedure __libc_start_main(r3,r4,r5,r6,r7,r8,r9: pointer); cdecl; external;
type
@ -736,6 +733,11 @@ data_start:
.text
end;
procedure ini_dummy;
begin
end;
const
start_addresses: record
sda_base: pointer;
@ -745,8 +747,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
);
procedure call_libc_start_main(r3,r4,r5,r6,r7,r8,r9: pointer); cdecl;