Browse Source

* set syscall base properly for eabi, submitted by Henry Vermaak

git-svn-id: trunk@11179 -
florian 17 years ago
parent
commit
72dd35a0d5
1 changed files with 5 additions and 1 deletions
  1. 5 1
      rtl/linux/arm/sysnr.inc

+ 5 - 1
rtl/linux/arm/sysnr.inc

@@ -21,7 +21,11 @@
 }
 
 Const
-  syscall_nr_base = $900000;
+{$ifdef FPC_ABI_EABI}
+  syscall_nr_base = $0;
+{$else FPC_ABI_EABI}
+   syscall_nr_base = $900000;
+{$endif FPC_ABI_EABI}
 
   syscall_nr_exit                       =  syscall_nr_base+ 1;
   syscall_nr_fork                       =  syscall_nr_base+ 2;