mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 11:37:14 +01:00
parent
e11fbf2bdc
commit
ab0549fe61
@ -16,6 +16,10 @@
|
|||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
unit cpu;
|
unit cpu;
|
||||||
|
|
||||||
|
{$ifdef symbian}
|
||||||
|
{$define NO_ELF_SUPPORT}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
function VFPv4Support : Boolean;
|
function VFPv4Support : Boolean;
|
||||||
@ -57,6 +61,7 @@ unit cpu;
|
|||||||
auxv: PElf32AuxiliaryVector;
|
auxv: PElf32AuxiliaryVector;
|
||||||
begin
|
begin
|
||||||
psysinfo := 0;
|
psysinfo := 0;
|
||||||
|
{$ifndef NO_ELF_SUPPORT}
|
||||||
ep := envp;
|
ep := envp;
|
||||||
while ep^ <> nil do
|
while ep^ <> nil do
|
||||||
Inc(ep);
|
Inc(ep);
|
||||||
@ -75,6 +80,7 @@ unit cpu;
|
|||||||
end;
|
end;
|
||||||
Inc(auxv);
|
Inc(auxv);
|
||||||
end;
|
end;
|
||||||
|
{$endif ndef NO_ELF_SUPPORT}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user