mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 03:46:10 +02:00
Fix arm-android compilation by prepending syscall_nr_ prefix also to __ARM_NR_XXX arm specific linux syscalls
git-svn-id: trunk@40300 -
This commit is contained in:
parent
9b39033ed4
commit
04debba9de
@ -415,8 +415,8 @@ Const
|
|||||||
* The following SWIs are ARM private.
|
* The following SWIs are ARM private.
|
||||||
*}
|
*}
|
||||||
__ARM_NR_BASE = syscall_nr_base+$f0000;
|
__ARM_NR_BASE = syscall_nr_base+$f0000;
|
||||||
__ARM_NR_breakpoint = __ARM_NR_BASE+1;
|
syscall_nr___ARM_NR_breakpoint = __ARM_NR_BASE+1;
|
||||||
__ARM_NR_cacheflush = __ARM_NR_BASE+2;
|
syscall_nr___ARM_NR_cacheflush = __ARM_NR_BASE+2;
|
||||||
__ARM_NR_usr26 = __ARM_NR_BASE+3;
|
syscall_nr___ARM_NR_usr26 = __ARM_NR_BASE+3;
|
||||||
__ARM_NR_usr32 = __ARM_NR_BASE+4;
|
syscall_nr___ARM_NR_usr32 = __ARM_NR_BASE+4;
|
||||||
__ARM_NR_set_tls = __ARM_NR_BASE+5;
|
syscall_nr___ARM_NR_set_tls = __ARM_NR_BASE+5;
|
||||||
|
@ -446,7 +446,7 @@ end;
|
|||||||
{$define INITTLS}
|
{$define INITTLS}
|
||||||
Function fpset_tls(p : pointer;size : SizeUInt):cint;
|
Function fpset_tls(p : pointer;size : SizeUInt):cint;
|
||||||
begin
|
begin
|
||||||
Result:=do_syscall(__ARM_NR_set_tls,TSysParam(p));
|
Result:=do_syscall(syscall_nr___ARM_NR_set_tls,TSysParam(p));
|
||||||
end;
|
end;
|
||||||
{$endif defined(CPUARM)}
|
{$endif defined(CPUARM)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user