Commit Graph

1129 Commits

Author SHA1 Message Date
marco
4fb68a7f0e * fixed argc<->argv 2004-09-02 18:57:37 +00:00
michael
37aa6ec572 + Fixed typinfo dependency on sysutils 2004-08-31 10:33:39 +00:00
marco
05140bbb4e * $(SYSTEMUNIT) FIX 2004-08-27 18:58:43 +00:00
olle
8f25b1ad3a * redid prev commit, but with up to date fpcmake 2004-08-25 17:10:03 +00:00
olle
280ff73ccf * fix so that macpas.pp really is compiled 2004-08-25 16:57:22 +00:00
florian
241587174e * fixed fork for sparc 2004-08-22 12:34:11 +00:00
marco
1e235ea9c9 * regened with newer fpcmake 2004-08-20 11:46:22 +00:00
marco
17d06678a0 * fixed gpm dependancies line. Don't add dependancies to dir/<file>$(PPUEXT) 2004-08-20 09:00:42 +00:00
florian
5064ecaf57 * sparc uses wait4 as well 2004-08-18 21:03:35 +00:00
Károly Balogh
b7ae54715c * quick fix to make it compile 2004-08-18 14:26:50 +00:00
olle
3a29988676 + Added unit macpas 2004-08-16 16:22:11 +00:00
florian
02310c99e2 * fixed runerror for invalid operation 2004-08-08 09:36:09 +00:00
florian
49c3f3927e * fixed floating point and integer exception handling on sparc/linux 2004-08-04 19:27:09 +00:00
florian
a0d41f6fbb * fixed usage of old fpcmake 2004-08-01 08:24:43 +00:00
peter
52fa49866d * fixed execpathstr setting 2004-07-09 22:31:22 +00:00
peter
cf15e8407e * isatty return cint again 2004-07-09 19:03:35 +00:00
daniel
eb2dd5c4f8 * Tweaking... 2004-07-08 21:22:15 +00:00
daniel
178f87f437 * Use /proc/self/exe instead of /proc/[getpid]/exe 2004-07-08 19:45:42 +00:00
daniel
ad25d38759 * Remade makefile 2004-07-08 13:25:35 +00:00
daniel
74f637cb11 * gpm now uses a Pascal translation of libgpm instead of linking against
it.
  * isatty result type changed into boolean
2004-07-08 13:23:21 +00:00
daniel
6c4cade37d * Matrix unit included in build process 2004-07-07 21:37:29 +00:00
florian
2337996715 * remade makefile (too old fpcmake)
* fixed sparc startup code
2004-07-05 21:07:37 +00:00
daniel
fde4a792fa * Updated comments 2004-07-03 23:04:34 +00:00
daniel
a1229ff8fe * Modified bootstrap code so separate prt0.as/prt0_10.as files are no
longer necessary
2004-07-03 21:50:30 +00:00
peter
695b29bab3 * fixed errno setting 2004-07-02 19:29:19 +00:00
florian
df63fb46e3 * first syscall fix 2004-06-30 21:15:51 +00:00
peter
2ed14823c5 * New heapmanager that releases memory back to the OS, donated
by Micha Nelissen
2004-06-17 16:16:13 +00:00
peter
3094258825 * removed warnings 2004-05-31 20:25:04 +00:00
peter
962ef697d5 * remove comment warnings 2004-05-31 14:31:57 +00:00
peter
56c04b20d3 * sigaction fixed for sparc 2004-05-31 09:22:42 +00:00
peter
f1cf388796 * added siginfo const 2004-05-31 09:08:14 +00:00
marco
a9b2ee072f * and now for others too 2004-05-28 21:43:25 +00:00
marco
9adbeab70d * added mov errno,%eax 2004-05-28 21:41:49 +00:00
peter
959a0537d4 * fix errno for multithread 2004-05-28 21:37:34 +00:00
peter
80d44f0691 * sparc signals added between $ifdef cpusparc 2004-05-27 23:15:43 +00:00
peter
f218923511 * remove warnign 2004-05-27 23:15:14 +00:00
peter
79d45deec7 * startup argc,argv,envp fix
* stat fixed
2004-05-27 23:15:02 +00:00
florian
935201e75c * _haltproc fixed 2004-05-26 20:48:17 +00:00
marco
0408fd564a * syncobj stuff 2004-05-23 18:49:18 +00:00
peter
423fde7ac6 * regenerated 2004-05-23 18:25:48 +00:00
peter
31c622e01d * fix offset of errno 2004-05-18 20:13:12 +00:00
peter
6b5f84117b * use ldsh to load exitcode 2004-05-17 20:56:56 +00:00
peter
94adf83a8b * use thandle in do_* 2004-05-16 18:51:20 +00:00
marco
cc5c75b714 * comment removed and four dud instrcutions 2004-05-16 11:04:27 +00:00
peter
6f170af931 * added aliases 2004-05-09 15:42:50 +00:00
peter
98bf46482b * statfs fixed 2004-05-02 01:00:07 +00:00
peter
6d19671a84 * ptrint fixes 2004-05-01 20:52:29 +00:00
florian
ee4b23ccac * x86_64 exception handling fixed 2004-05-01 15:59:17 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
florian
d531e303f9 * tried to fix x86-64 signal handling 2004-04-27 20:47:00 +00:00
peter
02d7fd9c1d * use cpu64 2004-04-26 16:53:19 +00:00
marco
1340afc320 * IPC reform 2004-04-25 19:15:43 +00:00
florian
03f034fedf * mmap for x86-64 fixed 2004-04-25 07:18:49 +00:00
florian
d18f952c09 * prt0.as exit code handling fixed
* int64 mod int64 for negative numbers fixed
2004-04-24 17:14:09 +00:00
marco
cfe5a5baea * flock -> fpflock because of conflicting structure name 2004-04-23 19:16:24 +00:00
peter
2a862ae827 * do_write/do_read fix 2004-04-22 21:16:35 +00:00
peter
9a7a1e2489 * x86-64 fixes 2004-04-22 17:17:13 +00:00
olle
73f73fb6f1 * updated according to the new version of fpcmake.ini 2004-04-20 23:29:59 +00:00
florian
89f4784e8d * fixed halt code 2004-04-20 20:30:11 +00:00
florian
a1a52710d3 * x86_64 syscall numbers fixed 2004-04-20 20:27:01 +00:00
florian
c645ff1af9 + haltproc added 2004-04-12 19:05:55 +00:00
peter
939044763b * readdir now uses getdents, patch from Joost van der Sluis 2004-04-12 16:33:42 +00:00
florian
73412562b7 * signal handling fixed 2004-03-27 19:20:11 +00:00
florian
7298501722 * structs for arm adapted 2004-03-27 14:35:13 +00:00
florian
4fdc20f014 * use rt_sigaction syscall on arm 2004-03-27 14:34:23 +00:00
florian
f838c3b5b7 * tell sigaction to pass siginfo on arm 2004-03-27 14:33:45 +00:00
marco
988c22bb2d * more fixes from Lloyd 2004-03-22 06:49:28 +00:00
marco
0962856816 * *BSD do_syscall was left behind. Replaced with socketcall 2004-03-20 15:19:29 +00:00
marco
a45e1cd3f1 * first changes sockets units 2004-03-16 18:03:37 +00:00
mazen
703f4f29d0 + _haltproc definition for linux/sparc 2004-03-16 10:19:11 +00:00
peter
abfc396c40 * cmem moved to rtl
* longint replaced with ptrint in heapmanagers
2004-03-15 21:48:26 +00:00
florian
2e80f0de5f * arm startup code fixed
* made some generic math code more readable
2004-03-11 22:39:53 +00:00
Jonas Maebe
7afabeb8a9 * fixed syscall return value checking 2004-03-10 21:41:53 +00:00
peter
c0d3ba3a67 * only i386 needs cprt21 to link with glibc 2.1+ 2004-03-10 20:38:59 +00:00
peter
759c514cf1 * call _haltproc instead of exit(). This is required for libc linking 2004-03-10 20:35:33 +00:00
marco
1cc7b06df4 * header for sockets unit 2004-03-09 19:40:52 +00:00
marco
93622ec2e8 * UnixType changes. Please report problems to me. 2004-03-04 22:15:16 +00:00
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +00:00
peter
88e72a69da * fixed previous commit 2004-03-03 22:10:48 +00:00
peter
30780f5859 * regcall fix for threadvar 2004-03-03 22:03:10 +00:00
peter
5acf1eff47 * remove cdecl 2004-03-03 22:00:37 +00:00
Tomas Hajny
fa6166944f Makefiles regenerated 2004-02-22 16:07:41 +00:00
marco
4c96b2777e * genfdset word count added. Small fix for libc maxsigsetsize 2004-02-22 15:00:27 +00:00
marco
3783a51b79 * powerpc select fix 2004-02-21 23:18:50 +00:00
marco
401641ae28 * hmprf, Linux has different ioctls kernel<->libc 2004-02-21 16:27:29 +00:00
marco
dd67ed73b3 * ppc ioctl nr fixed 2004-02-21 16:24:47 +00:00
florian
fa31d1d0df * fixed termios constants 2004-02-21 16:22:00 +00:00
marco
c6860f131d * ppc ioctl nr fixed 2004-02-21 15:14:55 +00:00
peter
45aef562dd * c stub implemented 2004-02-20 23:48:27 +00:00
florian
515ee5aef6 * linking problems fixed
+ abi tag added
2004-02-08 15:33:50 +00:00
florian
3f4d98624f - killed tsyscallregs 2004-02-06 23:06:16 +00:00
daniel
4d42fe7fa7 * Revert back to longint (it broke make cycle) 2004-02-06 21:17:41 +00:00
florian
25960b979c * fixed x86-64 assembler problems 2004-02-06 15:58:21 +00:00
florian
c9122a4719 + completed x86-64/linux system unit 2004-02-05 01:16:12 +00:00
peter
6a121ddc75 * fixed syntax errors 2004-02-02 21:02:38 +00:00
florian
f621c564a2 * use wait4 instead of waitpid on arm 2004-01-31 16:25:48 +00:00
florian
1bea0eb838 - deleted unsupported syscall waitpid 2004-01-31 16:25:14 +00:00
florian
c24f142b47 * removed packed directive from Dir type because it's not properly aligned
and it's never passed to the OS
2004-01-31 16:17:38 +00:00
florian
33d9cedfd9 * arm requires oldmmap call as well 2004-01-23 00:00:06 +00:00
florian
f65558b4c4 * fixed syscall number 2004-01-22 20:12:37 +00:00
peter
98105d8055 * classes uses types to import TPoint and TRect 2004-01-22 17:11:23 +00:00
florian
0e176a1dd3 * corrected syscall numbers 2004-01-21 01:25:19 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
florian
1883a09ddd * fixed setjump
* fixed syscalls
2004-01-20 21:01:57 +00:00
florian
c244b8b527 * fixed sigill problem when running in gdb 2004-01-20 18:32:46 +00:00
peter
8cf497ffe5 * regenerated 2004-01-12 17:02:40 +00:00
Jonas Maebe
20fb31f827 * moved tstatfs from systypes.inc to ptypes.inc to fix make cycle with
-dFPC_USE_LIBC (systypes.inc is now completely commented out)
2004-01-11 09:56:20 +00:00
michael
32702205a0 + Some more fixes to rtlconst. Const strings moved from classes to rtlconst 2004-01-10 20:13:19 +00:00
michael
1567dc0814 + Moved all resource strings to rtlconst/sysconst 2004-01-10 19:35:17 +00:00
peter
680590f792 * use relocate_proc 2004-01-06 21:32:53 +00:00
marco
55850b063a * regenerating the makefiles with some netbsd fixes + version upgrades 2004-01-05 23:34:21 +00:00
peter
6b5ec2b373 * removed asmmode direct 2004-01-05 17:22:03 +00:00
Jonas Maebe
e6c3cc44c9 * declare C-library routines as external in libc for Darwin (so we
generate proper import entries)
2004-01-04 21:04:08 +00:00
florian
bc1c6a2c10 * clean up 2004-01-04 17:28:03 +00:00
florian
654fc0e272 + haeder added 2004-01-04 17:23:57 +00:00
florian
ae6e54fb38 * arg* and envp handling fixed 2004-01-04 17:12:28 +00:00
marco
532a14b5e3 * fix from Marc W. 2004-01-02 22:46:29 +00:00
Jonas Maebe
fd1ae67764 * re-enable fpu exceptions in signal handler, they're turned off by the
kernel
2004-01-02 17:57:16 +00:00
Jonas Maebe
0ab36d6e91 * fixed signal handling 2004-01-01 16:28:16 +00:00
marco
19c44b76f2 * fpreadlink(pathstr) moved to unxovl (since not platform specific),
small fixes for "make all OPT='-dFPC_USE_LIBC'
2004-01-01 16:10:23 +00:00
marco
68508ef8d4 * libc stat record under ifdef added 2004-01-01 14:20:20 +00:00
marco
4fc157970d * use_getcwd updates because FPC_USE_LIBC uses that 2004-01-01 14:19:55 +00:00
marco
a7d446d496 * getcwd missed cdecl 2004-01-01 14:16:55 +00:00
marco
5bc097ac0b * small fixes for exporting statfs(pchar,..) 2003-12-31 20:23:31 +00:00
marco
b447c92828 * small additions for getcwd what we need for FPC_USE_LIBC 2003-12-31 20:20:57 +00:00
marco
62e256d07e * sigset size adaption for FPC_USE_LIBC 2003-12-31 20:17:06 +00:00
marco
b0fef8b805 * workaround for buggy 1.0 building 2003-12-31 20:01:00 +00:00
marco
73abd3bd2a * moved to unix/ 2003-12-30 17:50:00 +00:00
marco
0afb6fd8ca * some more fixes. Testing on idefix 2003-12-30 16:26:10 +00:00
marco
42d5e0e005 * linux now compiles with FPC_USE_LIBC 2003-12-30 15:43:20 +00:00
marco
371f66818a * ptime_t 2003-12-30 12:46:40 +00:00
marco
d657b168c7 * FPC_USE_LIBC 2003-12-30 12:36:56 +00:00
florian
021652683a + introduced PtrInt and PtrUInt
* made strscan 64 bit safe
2003-12-29 19:24:12 +00:00
Jonas Maebe
4eb1eb94d1 * fixed result of failed syscalls (no extra neg is needed)
+ support multi-threaded programs
2003-12-28 20:55:10 +00:00
florian
0f5fa6973b * initial code 2003-12-28 20:08:53 +00:00
peter
c6e1a6a6d1 * don't exit in getdir when fpstat gives a failure 2003-12-21 20:30:49 +00:00
daniel
fd86e14b01 * Use of 0 instead of nil fixed 2003-12-16 09:43:04 +00:00
peter
1662a037a4 * only check errno if the syscall failed 2003-12-14 14:28:36 +00:00
florian
5028fa6d0f * replaced VER1_0 by HASGLOBALPROPERTY 2003-12-11 18:20:50 +00:00
marco
42f329de27 * property support under ifndef ver1_0 2003-12-10 17:13:43 +00:00
marco
f4db4860b5 * property errno defined 2003-12-10 17:08:28 +00:00
florian
18f527a614 + classes compiles on ppc now as well 2003-12-07 21:30:46 +00:00
florian
e418971c77 + started to implement arm syscalls 2003-12-03 17:34:12 +00:00
sg
c400fbe5b2 * Fixed ln2bitmask 2003-12-02 00:04:34 +00:00
Jonas Maebe
8ad6133ea3 * more ppc fixes, hello world works again under linuxppc 2003-11-29 22:54:32 +00:00
marco
324902435d * on fpk's request 2003-11-29 18:53:19 +00:00
Jonas Maebe
bc010e026f * fixed syscacll for new assembler reader 2003-11-29 18:18:11 +00:00
michael
5a059b6785 + Some fixes and runerrors removed 2003-11-27 20:39:24 +00:00
michael
6d09f23614 + Fixed dependencies so cycle works again 2003-11-26 20:50:32 +00:00
michael
de16dcff56 + Some fixes to have everything compile again 2003-11-26 20:34:19 +00:00
michael
4b2084fb50 + New threadmanager implementation 2003-11-26 20:10:59 +00:00
florian
058d480f40 * error handling for Variants improved 2003-11-26 20:00:19 +00:00
marco
872cfdd737 * Johill: suspend fix 2003-11-22 11:04:08 +00:00
florian
b9376da0aa * some arm issues fixed 2003-11-21 00:40:06 +00:00
marco
4fff5fd44d * dateutils added 2003-11-20 22:09:21 +00:00
marco
9fedf8a9b9 * termio moved to better spot 2003-11-20 09:09:05 +00:00
marco
fd6e4a70b9 * forgot to commit with rest. now added. 2003-11-20 09:06:49 +00:00
marco
c97a5d06eb * Linux part of termio unit 2003-11-19 17:35:36 +00:00
peter
97d677c8c8 * tthread disabled for 1.0.x 2003-11-19 15:51:54 +00:00
marco
a427276302 * fix for sleep from johill 2003-11-19 14:04:34 +00:00
marco
7b12dc7b86 * changes due to the previous *BSD changes. Mainly moving constants from
unix to systypes.inc (which acts as unxtypes.inc)
2003-11-19 11:46:55 +00:00
marco
5fbffcb2a7 * some constants moved from System 2003-11-19 10:56:15 +00:00
marco
c52aa63243 * several 1.0.x files removed 2003-11-18 12:12:31 +00:00
marco
7bfead6dab * Clone moved to linux, + few small unit unix changes 2003-11-17 11:28:08 +00:00
marco
3d4733e1e9 * small fixes for changing unit unix again 2003-11-17 10:21:47 +00:00
marco
0c999e0c9b * threads for FreeBSD. Not working tho 2003-11-17 10:05:51 +00:00
marco
20bd2d0e06 * pthreads based ttread from Johannes Berg 2003-11-17 08:27:49 +00:00
florian
4ff69f3905 * fixed rtl to work with the integrated fpc ppc assembler reader 2003-11-15 19:01:27 +00:00
marco
eb06d77f4b * small fixes 2003-11-13 17:40:12 +00:00
marco
0d494d8a5f * Linuxerror removed 2003-11-13 13:36:23 +00:00
marco
fbf1a7206b * Linuxerror remove + hdr+log added 2003-11-13 13:11:55 +00:00
marco
8f76f86ce5 * new oldlinux unit. 1_0 defines killed in some former FCL parts. 2003-11-10 16:54:28 +00:00
marco
313067faaf * small fix 2003-11-09 13:48:55 +00:00
peter
43cac0027c * compile fix 2003-11-06 16:28:52 +00:00
peter
07bfe21e9b * sparc 2003-11-06 16:22:01 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
Jonas Maebe
26daf920f2 + sighand and associated record definitions for ppc. Untested. 2003-11-02 14:53:06 +00:00
marco
024df7a7c6 * more small fixes. 2003-11-01 01:58:11 +00:00
marco
417d359871 * initial version from 1.0.x branch 2003-11-01 01:27:20 +00:00
marco
602aa93399 * i386 specific fixes that hopefully fix texception4.
Only the "generic" signal handler was ported to the unix rtl.
2003-10-31 20:36:01 +00:00
mazen
84e8f0e96b + assembler mode forced to ATT style for x86 cpu 2003-10-31 09:20:11 +00:00
mazen
e828773c4e + assembler mode forced to ATT style for x86 cpu 2003-10-31 08:55:11 +00:00
marco
7720de29d3 * makefile gotcha resulting from moving syscalls.inc fixed 2003-10-31 07:53:01 +00:00
marco
17caa136da * more makefiles 2003-10-30 16:48:15 +00:00
marco
c22bd6f016 * i386 specific due to clone and old syscall conv 2003-10-30 16:43:38 +00:00
marco
221f926099 * Killing off old syscall convention anywhere except for oldlinux 2003-10-30 16:42:25 +00:00
marco
1953a4a4f2 * moved to i386/ 2003-10-30 16:17:13 +00:00
marco
13257d861c * moved legacy syscall to i386/ 2003-10-30 16:16:49 +00:00
peter
4f9a8a9c45 * use oldfpccall because all registers are destroyed 2003-10-29 19:45:44 +00:00
peter
2d6deeaade * regenerated 2003-10-28 16:44:35 +00:00
peter
168ccf83c3 * regenerated 2003-10-27 15:58:54 +00:00
olle
527a79b0dc * changed i386 to cpui386 2003-10-17 22:10:30 +00:00
olle
fe692f24aa * Changed m68k to cpum68k, i386 to cpui386 2003-10-17 20:52:12 +00:00
florian
cfe8a014e0 * classes unit moved temporarily to i386 dependend section 2003-10-17 07:51:15 +00:00
peter
9fc4e555dd * regenerated 2003-10-09 14:35:20 +00:00
peter
3d27318cb2 * moved classes unit to rtl 2003-10-06 21:01:06 +00:00
marco
feaed02001 * cross compiling fixes to makefile and fpcmake 2003-10-04 13:48:11 +00:00
marco
73876b7490 * CROSSCOMPILING stage 2 2003-10-03 21:40:35 +00:00
marco
eaceacb7e2 * remake with new fpc param 2003-10-02 08:50:13 +00:00
peter
ab5352d3f1 * fpnanosleep exported in baseunix
* fpnanosleep has pointer arguments to be C compliant
2003-09-27 13:45:58 +00:00
peter
aab4295686 * mmap returns -1 on error 2003-09-27 12:58:23 +00:00
peter
456025ad0a * fpISxxx macros renamed to C compliant fpS_ISxxx 2003-09-27 12:51:33 +00:00
peter
73b2b9d24a * fpReadlink(pathstr) overload added 2003-09-27 12:51:06 +00:00
peter
3d8d9c96f8 * sbrk returns pointer 2003-09-27 11:52:35 +00:00
marco
7508a733c1 * More fixes 2003-09-20 18:10:28 +00:00
marco
9280ff18a0 * new units fixed 2003-09-20 16:07:54 +00:00
marco
d7235fa3ed * small fixes. fcl now compiles 2003-09-20 15:10:30 +00:00
marco
60a7f85960 * Small fix. Cycle works 2003-09-20 12:45:34 +00:00
marco
35cd7e61c9 * fixes for new macro's 2003-09-17 11:24:46 +00:00
marco
cd46432deb * small fixes, checking things on linux 2003-09-16 21:46:27 +00:00
marco
a99cf467f9 * pointer's of some basetypes 2003-09-16 21:20:40 +00:00
marco
9b33a79bea * second round of linux fixes. oldlinux now works 2003-09-15 21:07:32 +00:00
marco
25beeda7b5 * small fix 2003-09-15 20:29:50 +00:00
marco
1ecb35ae20 * unix reform 2003-09-14 20:23:34 +00:00
marco
7efaf7dee2 * Unix reform stage two. Remove all calls from Unix that exist in Baseunix. 2003-09-14 20:15:01 +00:00
peter
abbc3fa755 * moved int64 asm code to int64p.inc
* save ebx,esi
2003-09-14 11:34:13 +00:00
florian
8d771df2d4 * arm fixes to the common rtl code
* some generic math code fixed
  * ...
2003-09-03 14:09:37 +00:00
florian
42640d2b3f * syscall skeleton 2003-08-28 00:08:29 +00:00
florian
f04bddec4a * initial revision of arm startup code 2003-08-27 13:07:07 +00:00
florian
5b7c3b2261 * initial revision, derived from linux kernel sources 2003-08-27 12:58:01 +00:00
olle
2931590e9b - removed parameter from fpc_iocheck 2003-08-21 22:21:00 +00:00
mazen
2b1c8b16a1 + added assembler mode directive to use direct assembler reader 2003-08-11 13:19:08 +00:00
peter
1b633246b9 * sparc fixes 2003-07-08 21:23:24 +00:00
peter
79bb865dfd * fdset changed to 1024 bits 2003-07-08 14:18:40 +00:00
peter
e18f285edf * fix setting return value 2003-07-06 22:08:05 +00:00
marco
cd02a8ecca * regen makefile 2003-07-06 21:43:21 +00:00
marco
31945d49db * Fix for Peter's moving sysnr.inc to processor dependant dirs 2003-07-06 21:40:57 +00:00
peter
030f85b536 * syscall6 alias fixed 2003-07-06 21:26:10 +00:00
peter
eea01b6b7f * Syscall number is architecture dependent 2003-07-06 21:12:30 +00:00
peter
e14ecb2c53 * wrong return reg 2003-07-06 20:40:10 +00:00
peter
9e1bc11060 * syscalls implemented 2003-07-03 21:03:57 +00:00
Jonas Maebe
52e51dddb1 * fixed old syscall handling for ppc 2003-06-17 16:39:58 +00:00
peter
617c1e3812 * compile fix for systhrds 2003-06-04 15:18:14 +00:00
mazen
a7f7e0dab5 * fixing naming conflict in public clause of
FPC_SYSCALL? definition
2003-06-02 22:05:03 +00:00
mazen
13d509cde4 *making init and fini symbols compatible FPC code by
changing  _init ==> fpc_initialize
 and _fini ==> fpc_finalize
2003-06-02 22:03:37 +00:00
marco
cc84ef0e7c * small rearrangements 2003-06-01 16:28:56 +00:00
florian
2348799448 * fixed compilation of sparc system unit 2003-05-23 22:36:39 +00:00
Jonas Maebe
b6088901a6 * fixed storing to errno for single threaded programs 2003-05-23 21:58:30 +00:00
florian
29a9f050ed + dummy implementation readded to satisfy makefile 2003-05-23 21:09:14 +00:00
marco
1d069d5eca * done. 2003-05-17 13:06:22 +00:00
marco
c4427e2b82 * errno from freebsd dir, not Unix dir. 2003-05-17 11:04:05 +00:00
Jonas Maebe
3d51adec9a * fixed stat struct (previous one was a frankenversion of ppc and
i386 version)
2003-05-16 21:22:11 +00:00
Jonas Maebe
54015aaf6e * the stat type is processor-dependent
* the dev_t tpye is processor dependent. Don't use it in the stat type
    however, as that one is also used at a time where dev_t is already
    defined as qword
2003-05-15 22:50:50 +00:00
florian
149d986f5f + added setup of argv, argc and envp 2003-05-12 22:36:45 +00:00
Jonas Maebe
8bd6d64c35 * fixed mmap for non-i386 non-m68k architectures (not sure about
x86-64)
2003-05-11 16:07:55 +00:00
florian
eab5d1f7c5 * started to make the rtl 64 bit save by introducing SizeInt and SizeUInt (similar to size_t of C) 2003-05-01 08:05:23 +00:00
florian
a79edeb568 + for a lot of x86-64 dependend files mostly dummies added 2003-04-30 22:11:06 +00:00
florian
9f1289df8c * there where two SYSCALL1 procedures for the powerpc, fixed 2003-04-22 17:07:55 +00:00
peter
29762b04a6 * regenerated 2003-04-01 16:09:56 +00:00
Tomas Hajny
7e44bb1506 * Makefiles regenerated with corrected fpcmake 2003-03-30 00:01:43 +00:00
michael
27062c2e01 + Patch from Mattias Gaertner for single typeinfo 2003-03-29 16:55:56 +00:00
Tomas Hajny
f2cd222a55 + platform extensions unified, emx target added 2003-03-24 00:01:12 +00:00
armin
e321c72b22 * CloseSocket added 2003-03-23 17:47:15 +00:00
peter
9addbba86a * regenerated 2003-01-14 21:15:21 +00:00
florian
aa81ac3921 * syscall stuff fixed 2003-01-09 13:38:26 +00:00
florian
76a01b9847 + dummy implementations 2003-01-06 19:39:17 +00:00
florian
1a6b8df27c + initial revision 2003-01-06 19:33:10 +00:00
mazen
215880afe8 * fixing several bugs compiling the RTL 2003-01-05 21:32:35 +00:00
marco
07f5401b2b * small fix 2003-01-05 19:16:45 +00:00
marco
34ef0a2d2e * Baseunix enabled by default 2003-01-02 23:34:07 +00:00
marco
b3ab181cca * Baseunix now compiled by default 2003-01-02 23:10:45 +00:00
marco
b1554ce372 * renamed to bunxmacr.inc 2003-01-02 22:39:39 +00:00
marco
8aaf0bdfcd * posmacro.inc was still include while it was already moved to bunxmacr.inc
fixed, will remove posmacro.inc shortly
2003-01-02 22:39:19 +00:00
marco
9b739dbbfc * renamed to ossysc.inc 2003-01-02 22:10:52 +00:00
marco
b316d02f8d * superceded by bunxfunc.inc 2003-01-02 19:47:32 +00:00
peter
a6180062a4 * Setup ExecPathStr for ParamStr(0) 2002-12-27 18:36:16 +00:00
mazen
311508131a - some writeln(s) removed in compiler
+ many files added to RTL
* some errors fixed in RTL
2002-12-24 21:30:20 +00:00
peter
55a5b81848 * only set errno when syscall fails 2002-12-24 19:45:59 +00:00
peter
e0625ccb5d * Fix do_erase which was wrong with inoutres setting 2002-12-24 19:45:40 +00:00
peter
4210e95952 * fixed Getdir to not set Inoutres
* broken symlinks are now ignored in getdir instead of aborting
    the search
2002-12-23 22:23:43 +00:00
peter
1da81c33ca * MT fix 2002-12-23 21:17:53 +00:00
peter
85d5e4a4de * Reset Errno to 0 if call is successfull
* Fix broken 1.0.x Errno which does not have threadvar
2002-12-23 20:56:32 +00:00
Jonas Maebe
41cd59e0e2 + added syscallh.inc, adapted syscall.inc 2002-12-22 16:00:28 +00:00
peter
07fc95ca5a * removed stackcheck, the generic stackcheck is used
* fixed return value for error conversion when no error was passed
2002-12-18 20:43:27 +00:00
peter
b67cdd321d * initial stacklen setup 2002-12-18 20:42:29 +00:00
peter
6154a3076e * Threadvar support for Errno
* Fixed syscall error return check
  * Uncommented Syscall with 6 parameters, only 5 were really set
2002-12-18 20:41:33 +00:00
peter
bd1f8661c0 * add FPC_SYSC_CLOSE public name 2002-12-18 17:51:40 +00:00
peter
2c7d336f2a * fixed ifdef ver1_0 2002-12-18 17:51:27 +00:00
marco
a83a191d07 * small fix, new rtl now cycles 2002-12-18 17:38:01 +00:00
marco
3d7a4df1f9 * removed 2002-12-18 17:36:31 +00:00
peter
0e5a3d8b13 * add OS_TARGET to include dir 2002-12-18 17:19:38 +00:00
marco
821c826043 * Some mods. 2002-12-18 16:46:37 +00:00
marco
5bbe43169c * more new RTL 2002-12-18 16:44:09 +00:00
marco
7dd70233f2 * new unix rtl, linux part..... 2002-12-18 16:43:26 +00:00
peter
3dad4cd3c4 * regenarated 2002-11-24 16:31:10 +00:00
mazen
ad35b52837 * not yet useful 2002-11-18 19:06:32 +00:00
mazen
98a1b248e6 * start code of gcc adapted for FPC 2002-11-18 19:03:46 +00:00
mazen
10c5331beb * inserted from gcc cvs 2002-11-17 21:30:35 +00:00
marco
c748db28c0 * TSysParam + result moved to -h 2002-11-16 15:37:47 +00:00
mazen
1817fc98e4 + SPARC support added based on PowerPc sources 2002-11-15 12:08:37 +00:00
marco
7d1f5b883c * Initial version 2002-11-14 16:48:39 +00:00
marco
21fa99a728 * Killed octal codes for 1.0.x compilability. 2002-11-12 15:31:33 +00:00
marco
2c4aff9914 * renamed to (1) syscallo.inc (temporarily for old rtl)
rtl/target/syscall.inc (for new rtl)
2002-11-12 14:52:57 +00:00
marco
70d3e266ef * signal. 2002-11-12 14:51:44 +00:00
marco
bf1a224db4 * 2.4.18 version. 2002-11-12 14:46:46 +00:00
marco
22845478ce * The syscall core of the new system unit. 2002-11-12 14:40:18 +00:00
marco
96a1929af2 * Parts of new unix rtl 2002-11-12 14:37:59 +00:00
marco
58d33b9619 * some updates 2002-11-12 14:28:40 +00:00
marco
29baf7d65e * New syscall.inc 2002-11-12 13:31:32 +00:00
marco
a35e570869 * rename syscall.inc -> syscallo.inc 2002-11-11 21:40:26 +00:00
marco
6cc6f15aa0 * first version 2002-11-09 22:39:28 +00:00
marco
6aa2786d41 * powerpc version. Threadsafe errno access not yet done. 2002-11-09 20:32:14 +00:00
marco
eb9aa7925c * Linux versions 2002-10-29 16:47:17 +00:00
peter
be8e5fee54 * duplicate with errno.inc in unix 2002-10-23 17:34:28 +00:00
carl
f0bb456351 - remove objinc.inc (unused file)
* update makefiles accordingly
2002-10-20 12:00:52 +00:00
marco
eeb2a505a5 * From the original systhrds code.
Turned out to be not entirely the same as *BSD's (constants with
   different names, existing and non existing constants), so I decided to
   make it platform dependant.
2002-10-18 18:03:57 +00:00
michael
59e33be883 + Renamed threads unit 2002-10-16 06:21:22 +00:00
peter
d91b687d35 * syscall moved into seperate include 2002-10-14 19:39:44 +00:00
peter
5fff238567 * threads unit added for thread support 2002-10-14 19:39:16 +00:00
peter
d04f73ddda * Add ucomplex and charset units 2002-09-16 15:42:11 +00:00
Jonas Maebe
dc3961baff + added "nop" after sc instruction, since normally in case of success,
sc returns to the second instruction after itself
2002-09-10 21:32:14 +00:00
peter
9f31783a0a * old logs removed and tabs fixed 2002-09-07 16:01:16 +00:00
florian
018004b533 * hopefully final fix for ppc syscall BTW: The regX numbering is somehow messy 2002-09-07 13:14:04 +00:00
florian
faed23bfb5 * hopefully final fix for ppc syscall 2002-09-03 21:37:54 +00:00
florian
32f8902edc * another ppc syscall fix 2002-09-02 20:42:22 +00:00
florian
7d0cfc8482 * ppc syscall code fixed 2002-09-02 20:03:20 +00:00
florian
c8a3171dc9 * several PC related fixes 2002-08-31 21:29:57 +00:00
florian
2290ef3c9c * made _start global 2002-08-31 16:13:12 +00:00
florian
85a0692ee5 * r3 renamed to 3 2002-08-31 14:02:23 +00:00
florian
8b1fd424de * _haltproc to prt0.as added (Linux/PPC) 2002-08-31 14:01:28 +00:00
florian
44ad4027b7 * several fixes for Linux/PPC compilation 2002-08-31 13:11:11 +00:00
florian
785527904e * small fixes 2002-08-19 21:19:15 +00:00
Jonas Maebe
46c48f23d8 + ppc support for do_syscall 2002-08-19 18:24:05 +00:00
sg
a2b52783db * replaced some Longints with Cardinals, to mach the C headers
* updated the termios record
2002-08-06 13:30:46 +00:00
marco
0e2046b1fd * Some more OpenBSD fixes. 2002-08-01 12:28:49 +00:00
marco
d228e13edf * OpenBSD makefile update again 2002-07-30 13:39:03 +00:00
florian
53a0b662b9 * several fixes to get further with linux/ppc system unit compilation 2002-07-29 21:28:16 +00:00
florian
7737f12d6c + added register location description for ppc 2002-07-29 17:50:02 +00:00
florian
7ac5c3743d * several fixes for linux/powerpc
* several fixes to MT
2002-07-28 20:43:47 +00:00
florian
6fa8512bd4 * log fixed 2002-07-26 17:09:44 +00:00
florian
0f119146be + dummy implementation to test the makefile 2002-07-26 17:07:11 +00:00
florian
8c4fe22423 + initial version, plain copy from glibc/sysdeps/powerpc/elf/start.S 2002-07-26 16:57:40 +00:00
florian
3ff2bcb4fd * fixed dependencies of types-Unit 2002-07-26 09:43:39 +00:00
florian
42a7c6c636 + types unit added 2002-07-23 20:39:21 +00:00
peter
927c693482 * fix source location in zips for packages and demos 2002-03-19 19:36:55 +00:00
peter
58218bf81f * Regenerated with updated fpcmake 2002-03-11 19:10:28 +00:00
michael
bd8a7a628a + Patch from Sebastian for FCNTL call 2002-03-05 20:04:25 +00:00
peter
9b385a2ab7 * regenated 2002-02-28 21:30:32 +00:00
michael
26db724c09 + merged missing sendto/rcvfrom functions 2002-02-04 21:29:34 +00:00
peter
c09e7bb537 * regenerated 2002-01-29 18:05:44 +00:00
peter
5f2e0cc5e3 * regenerated 2002-01-27 21:47:54 +00:00
peter
0816ae4006 * regenerated 2002-01-06 21:59:08 +00:00
peter
21a8c2cc8e * merged fixes from 1.0.x 2001-12-26 21:03:56 +00:00
marco
7866897343 * BSDhier fix to fpcmake.ini + makefile update. 2001-12-11 10:39:53 +00:00
michael
7ff42a13ab + Added variants unit 2001-11-14 23:03:09 +00:00
peter
aff68fdfd4 * asw support 2001-10-18 20:55:18 +00:00
marco
24073dd23f * Moved to unix/ 2001-10-17 10:28:22 +00:00
peter
ec9e4f4556 * fpc -PB instead of -P?
* check if fpc exists if not found fallback to ppc386
2001-10-16 20:52:34 +00:00
peter
6f2baf0fcf * regenerated 2001-10-14 21:43:09 +00:00
peter
4c26674c00 * start of thread support for linux 2001-10-14 13:33:20 +00:00
peter
6e3bcf7133 * regenerated 2001-08-30 20:18:30 +00:00
peter
b34e51e7f6 * regenerated 2001-08-22 20:49:14 +00:00
peter
63e856e9e4 * fixed dl units dependencies 2001-08-05 12:26:18 +00:00
peter
3e41bf3597 * Regenerated 2001-08-02 20:55:49 +00:00
peter
68ed130f45 * install Package.fpc 2001-07-31 22:02:11 +00:00
marco
d19c0df399 * Target specific again because of Solaris 2001-07-16 19:56:54 +00:00
peter
9663f60c00 * merged m68k updates 2001-07-15 11:57:16 +00:00
peter
e5add358e2 * cygwin updates 2001-07-13 22:05:02 +00:00
peter
ca8d604964 * various widestring updates, it works now mostly without charset
mapping supported
2001-07-08 21:00:14 +00:00
peter
49481a0c63 * v10 merges 2001-06-27 21:37:36 +00:00
peter
1d7e2bb6cb * -Ur added 2001-06-18 20:36:28 +00:00
peter
6059b54b7c * forgotten file for the const to var fixes 2001-06-10 08:51:44 +00:00
peter
47f3d1e902 * Regenerated 2001-06-07 21:25:57 +00:00
peter
3fc45a47d2 * Win32 fixes for Makefile so it doesn't require sh.exe 2001-06-06 21:58:16 +00:00
peter
951851e866 * Regenerated 2001-06-04 21:44:30 +00:00
peter
602e2fb40d * use own dummy for _init and _fini 2001-06-04 18:05:47 +00:00
peter
741d455ab7 * Formal const to var fixes
* Hexstr(int64) added
2001-06-04 11:43:51 +00:00
peter
13448762f6 * FSStat to StatFS
* StatFS structure to TStatFS
2001-06-03 20:19:09 +00:00
peter
34a674c6a1 * dllprt0 stub added 2001-06-03 15:13:43 +00:00
peter
061d89620a * merge unix updates from the 1.0 branch, mostly related to the
solaris target
2001-06-02 00:31:30 +00:00
peter
4eb94da6ac * gecho, gdate fixes
* distinstall target rewrite to not install things twice
2001-05-30 21:39:06 +00:00
peter
8bf13fd185 *** empty log message *** 2001-05-09 19:57:07 +00:00
peter
293d6a1671 * Makefile fixes 2001-05-03 21:35:04 +00:00
peter
7b9b157103 * regenerated 2001-04-25 22:45:40 +00:00
peter
e3b5f763b7 * use div instead of / in constant 2001-04-04 22:50:59 +00:00
peter
3c54458903 * regenerated 2001-02-24 10:46:41 +00:00
peter
3c2db9436f * regenerated 2001-02-22 21:15:03 +00:00
peter
e32556ca16 * regenerated for cygwin32 support 2001-02-20 21:59:59 +00:00
sg
2a992cc477 * Merged Pierre's fix for my problem with heaptrace unit (by setting EBP
to zero before calling PASCALMAIN)
2001-02-14 22:36:21 +00:00
peter
987b7584bd * linux unit is build for bootstrapping 2001-02-11 18:53:22 +00:00
peter
575329b520 * fixed target.rsts 2001-02-05 20:52:02 +00:00
peter
3dad8c73a5 * regenerated 2001-02-02 22:41:11 +00:00
peter
d65ec7ac1c * default.fpcdir is back
* subdir requirement checking works, but not very optimal yet as
    it can load the same Makefile.fpc multiple times
2001-02-01 22:00:03 +00:00
peter
144161708e * regenarated 2001-01-30 21:56:49 +00:00
peter
53ed82759a * regenarated 2001-01-30 20:41:19 +00:00
peter
d9b97cc5bf * New FPCMake update 2001-01-29 21:52:17 +00:00
marco
27e4bb4870 * Compile callspec 2001-01-29 11:37:25 +00:00
marco
738f0589d6 * Rename fest II. Rtl OK 2001-01-21 20:21:40 +00:00
michael
058dcc19af + Fixed dl unit dependency rule 2001-01-13 13:49:30 +00:00
peter
8469f6eb0b * API 2 RTL commit 2001-01-13 11:03:57 +00:00
peter
cd494453ca * regenerated 2000-12-19 21:17:35 +00:00
peter
c080c7320b * also clean syslinux 2000-11-09 22:39:31 +00:00
marco
4538a8a95c * Export FPCOPT and set -dUNIX for 1.0 2000-11-08 11:12:13 +00:00
peter
b8a008b31c * regenerated 2000-10-26 23:03:50 +00:00
peter
1034313760 * merges from fixes 2000-10-26 22:55:11 +00:00
peter
a22e8f54c4 * startup code also needed syslinux->system updates 2000-10-15 09:09:23 +00:00
peter
8a381b9ec3 * system unit rename for 1.1 branch 2000-10-15 08:19:48 +00:00
peter
ef266dd09a * vgagraph16 -> graph16 2000-10-12 09:44:40 +00:00
marco
fb8c4a8b28 * Terminal stuff of Linux moved to separate file. I think it is too
much to do with ifdefs.
2000-10-10 12:02:35 +00:00
peter
92b6339cc0 * sysutils needs errors 2000-10-08 10:10:56 +00:00