mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 23:19:26 +02:00
* all references to libc_csu_ cleaned, should resolve #39295
This commit is contained in:
parent
abee68df92
commit
b00fe0e4e4
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user