From 03f034fedfc2cb952074b3a99c556dcf7666be05 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 25 Apr 2004 07:18:49 +0000 Subject: [PATCH] * mmap for x86-64 fixed --- rtl/linux/ossysc.inc | 23 +++++++++++------------ tests/Makefile.fpc | 9 +++++++++ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/rtl/linux/ossysc.inc b/rtl/linux/ossysc.inc index eb39c52826..94c2db9f0f 100644 --- a/rtl/linux/ossysc.inc +++ b/rtl/linux/ossysc.inc @@ -369,13 +369,13 @@ end; type - tmmapargs=packed record - address : longint; - size : longint; - prot : longint; - flags : longint; - fd : longint; - offset : longint; + tmmapargs = packed record + address : TSysParam; + size : TSysParam; + prot : TSysParam; + flags : TSysParam; + fd : TSysParam; + offset : TSysParam; end; @@ -391,10 +391,6 @@ type {$define OLDMMAP} {$endif cpuarm} -{$ifdef cpux86_64} -{$define OLDMMAP} -{$endif cpux86_64} - Function Fpmmap(adr:pointer;len:size_t;prot:cint;flags:cint;fd:cint;off:off_t):pointer; [public, alias : 'FPC_SYSC_MMAP']; // OFF_T procedure, and returns a pointer, NOT cint. @@ -513,7 +509,10 @@ end; { $Log$ - Revision 1.21 2004-04-20 20:27:01 florian + Revision 1.22 2004-04-25 07:18:49 florian + * mmap for x86-64 fixed + + Revision 1.21 2004/04/20 20:27:01 florian * x86_64 syscall numbers fixed Revision 1.20 2004/04/12 16:33:42 peter diff --git a/tests/Makefile.fpc b/tests/Makefile.fpc index c7d2a0e3cb..1a8787dfc2 100644 --- a/tests/Makefile.fpc +++ b/tests/Makefile.fpc @@ -1,6 +1,8 @@ # # Makefile.fpc for Free Pascal Tests directory # +# $Id$ +# [install] fpcpackage=y @@ -296,3 +298,10 @@ ifdef LASTDATESUFFIX -diff -u faillist.$(LASTDATESUFFIX) faillist.$(DATESUFFIX) > difflist.$(DATESUFFIX) endif @echo $(DATESUFFIX) > lastdate.txt + +# +# $Log$ +# Revision 1.55 2004-04-25 07:18:49 florian +# * mmap for x86-64 fixed +# +# \ No newline at end of file