mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 06:49:23 +02:00
* More syscall fixes
git-svn-id: trunk@47476 -
This commit is contained in:
parent
7d14de0521
commit
60ecdb00ae
@ -5373,7 +5373,7 @@ begin
|
|||||||
else
|
else
|
||||||
// remove legacy or basesysv on MorphOS syscalls
|
// remove legacy or basesysv on MorphOS syscalls
|
||||||
begin
|
begin
|
||||||
if CurTokenIsIdentifier('legacy') or CurTokenIsIdentifier('BaseSysV') then
|
if CurTokenIsIdentifier('legacy') or CurTokenIsIdentifier('BaseSysV') or CurTokenIsIdentifier('_ExecBase') then
|
||||||
NextToken;
|
NextToken;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -123,6 +123,7 @@ type
|
|||||||
procedure TestCallingConventionSysV_ABI_Default;
|
procedure TestCallingConventionSysV_ABI_Default;
|
||||||
procedure TestCallingConventionVectorCall;
|
procedure TestCallingConventionVectorCall;
|
||||||
procedure TestCallingConventionSysCall;
|
procedure TestCallingConventionSysCall;
|
||||||
|
procedure TestCallingConventionSysCallExecbase;
|
||||||
Procedure TestProcedurePublic;
|
Procedure TestProcedurePublic;
|
||||||
Procedure TestProcedurePublicIdent;
|
Procedure TestProcedurePublicIdent;
|
||||||
Procedure TestFunctionPublic;
|
Procedure TestFunctionPublic;
|
||||||
@ -819,6 +820,12 @@ begin
|
|||||||
AssertProc([],[],ccSysCall,0);
|
AssertProc([],[],ccSysCall,0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TTestProcedureFunction.TestCallingConventionSysCallExecbase;
|
||||||
|
begin
|
||||||
|
ParseProcedure('; syscall _execBase 123');
|
||||||
|
AssertProc([],[],ccSysCall,0);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TTestProcedureFunction.TestCallingConventionHardFloat;
|
procedure TTestProcedureFunction.TestCallingConventionHardFloat;
|
||||||
begin
|
begin
|
||||||
ParseProcedure('; HardFloat');
|
ParseProcedure('; HardFloat');
|
||||||
|
Loading…
Reference in New Issue
Block a user