Commit Graph

4312 Commits

Author SHA1 Message Date
Jonas Maebe
dedf697f3a * use some more string routines from libc if FPC_USE_LIBC is used 2004-05-01 15:26:33 +00:00
Károly Balogh
b411a7da94 * first working system unit (very limited yet) 2004-05-01 15:09:47 +00:00
Károly Balogh
60971f7485 + haltproc added, saving/restoring stackpointer added 2004-05-01 15:08:57 +00:00
marco
5af746ce28 * fileno -> getfilehandle 2004-05-01 11:56:25 +00:00
marco
b82160ba33 * fileno 2004-05-01 11:04:34 +00:00
florian
f3e9309eef * fixed tobject.dispatch for 64 bit cpus 2004-04-29 21:33:22 +00:00
peter
269d24955a * inclocked_longint ifdef fixed 2004-04-29 20:00:47 +00:00
peter
53ec165e68 * x86-64 fixes 2004-04-29 19:50:13 +00:00
peter
cafed35e77 * str() helpers now also use valint/valuint
* int64/qword helpers disabled for cpu64
2004-04-29 18:59:43 +00:00
olle
3c657e949d * updated 2004-04-29 11:48:02 +00:00
olle
f0c23cea14 * fixed wrong external directive 2004-04-29 11:28:51 +00:00
olle
8611b8b6d0 * do_read/do_write addr arg changed to pointer
* misc internal changes
2004-04-29 11:27:36 +00:00
florian
704ce8035c * tvmt fixed (longint -> ptrint) 2004-04-28 21:01:29 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
peter
b80e1cfcdb * vtype changed to ptrint 2004-04-28 19:52:41 +00:00
olle
d035c66633 * removed dos and objects form units list 2004-04-27 22:16:17 +00:00
florian
d531e303f9 * tried to fix x86-64 signal handling 2004-04-27 20:47:00 +00:00
florian
2553988d5a * exception addr record size for 64 bit systems fixed 2004-04-27 18:47:51 +00:00
florian
8222e0deb6 * compilation with 1.0.10 fixed 2004-04-27 17:29:04 +00:00
peter
f66ecd70cd * class size changed to aint 2004-04-26 21:06:00 +00:00
florian
81b37ba988 * saving of rbp in setjmp fixe 2004-04-26 19:23:19 +00:00
peter
02d7fd9c1d * use cpu64 2004-04-26 16:53:19 +00:00
peter
482e1a2505 * 64bit fixes 2004-04-26 16:20:54 +00:00
peter
b4474438d9 * FPC_MOVE alias 2004-04-26 15:55:01 +00:00
peter
c17c80def1 * FileIsReadOnly fixed 2004-04-26 14:50:19 +00:00
marco
9f5f920b56 * strutils, convutils added 2004-04-26 11:31:28 +00:00
marco
03d224009d * intiial 2004-04-25 20:33:50 +00:00
marco
1340afc320 * IPC reform 2004-04-25 19:15:43 +00:00
florian
6bf70cec85 * fixed vmt issues on 64 bit systems 2004-04-25 16:32:31 +00:00
marco
c0c83b91f8 * IPC syscalls moved 2004-04-25 15:07:59 +00:00
florian
03f034fedf * mmap for x86-64 fixed 2004-04-25 07:18:49 +00:00
florian
7d3944ccaf * fixed x86-64 exception handling 2004-04-24 20:13:34 +00:00
florian
a2a1572db8 * trunc and round for x86-64 fixed 2004-04-24 18:31:25 +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
041eb4aa1d * do_read/do_write addr argument changed to pointer 2004-04-22 21:10:56 +00:00
peter
7083fbc825 * elf64 support 2004-04-22 21:10:35 +00:00
peter
7f2e327975 * longint to ptrint 2004-04-22 20:59:23 +00:00
peter
934f5883b2 * get_caller_addr fixed 2004-04-22 20:20:16 +00:00
peter
55486446a3 * fix 64bit address printing 2004-04-22 19:43:43 +00:00
peter
9a7a1e2489 * x86-64 fixes 2004-04-22 17:17:13 +00:00
peter
0fbb1fe9e8 * random(int64) added 2004-04-22 17:10:38 +00:00
marco
93d838bd4d * fpnice fixes 2004-04-22 16:22:10 +00:00
florian
f92fd26490 * commented out broken fillchar and move 2004-04-21 21:26:51 +00:00
Károly Balogh
8c253f22d9 * rewritten to be similar to GCC startup code 2004-04-21 03:24:55 +00:00
olle
73f73fb6f1 * updated according to the new version of fpcmake.ini 2004-04-20 23:29:59 +00:00
olle
e631bf13d2 + added all units that currently compile on MacOS 2004-04-20 22:48:09 +00:00
olle
61345179a7 + added macos support 2004-04-20 22:46:31 +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
marco
3896b0fe05 * small fix for NIL arg ptr in first executeprocess 2004-04-20 18:24:32 +00:00
marco
8e102a2dd5 * Makefile stuff 2004-04-18 18:39:30 +00:00
michael
0d9f209c26 + Case change (bug 3050) 2004-04-16 10:07:44 +00:00
florian
c645ff1af9 + haltproc added 2004-04-12 19:05:55 +00:00
florian
2e3fb337ff * fixed getmem prototype for 64 bit systems 2004-04-12 18:51:02 +00:00
peter
939044763b * readdir now uses getdents, patch from Joost van der Sluis 2004-04-12 16:33:42 +00:00
marco
88d81ba3d4 * ioperm/iopl added from linuxold. Untested but will probably work 2004-04-12 10:31:58 +00:00
Károly Balogh
47789bef1c * abox id symbol fixed 2004-04-09 04:02:43 +00:00
Károly Balogh
218956e0af * typo fixed. 2004-04-09 02:58:15 +00:00
Károly Balogh
191f780e04 * execbase loading oops fixed. 2004-04-09 02:54:25 +00:00
peter
f8590e2841 * disable range,overflow check when generating Nan/Inf 2004-04-08 16:37:08 +00:00
Károly Balogh
eb94ccb58f * first steps to have a morphos system unit 2004-04-08 06:28:29 +00:00
michael
63e3c491ee + Patch for findfirst (bug 3042) from Peter Vreman 2004-04-07 09:26:23 +00:00
florian
57c8334471 * fixed GetParentFrame for ARM 2004-03-31 21:49:19 +00:00
marco
156afd7ad4 * fix for recursive fpc.exe ? 2004-03-28 19:36:19 +00:00
florian
1d209e605e * fixed alignment issues 2004-03-27 23:22:38 +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
Tomas Hajny
8fd5b67f9a * misleading warning removed 2004-03-24 19:23:09 +00:00
Tomas Hajny
155402e664 * heap management modified to be able to grow heap as needed 2004-03-24 19:15:59 +00:00
peter
d1069ce5a7 * use smallint instead of integer 2004-03-23 22:36:31 +00:00
peter
1a0a8db391 * new compiler has smallint,longint,word internal defined 2004-03-23 22:35:45 +00:00
peter
d644629612 * dec ptr before free in reallocmem 2004-03-23 22:35:20 +00:00
florian
ddb6d0d595 + assembler implementation of fpc_mul_qword
* fpu exceptions are now generated
2004-03-23 21:03:10 +00:00
florian
f5c99d9e2d * setjmp fixed 2004-03-23 19:13:09 +00:00
florian
7367801810 * more alignment fixes 2004-03-22 22:19:36 +00:00
marco
988c22bb2d * more fixes from Lloyd 2004-03-22 06:49:28 +00:00
florian
5e82863f3f * CleanupInstance takes now care of FPC_REQUIRES_PROPER_ALIGNMENT 2004-03-21 22:41:29 +00:00
Tomas Hajny
b1e636e4f9 * Exec cleanup 2004-03-21 20:35:24 +00:00
Tomas Hajny
802a4f713c + Cursor* implemented 2004-03-21 20:28:43 +00:00
Tomas Hajny
ef1a05333a * C array passing warning fixed 2004-03-21 20:24:21 +00:00
Tomas Hajny
db94578ce6 * Exec cleanup 2004-03-21 20:22:20 +00:00
Tomas Hajny
b0c948a143 * regcall fixes 2004-03-21 20:18:39 +00:00
marco
724d1ba3f5 * convutils added 2004-03-20 23:42:27 +00:00
marco
bbd6690d62 * Initial version 2004-03-20 23:41:34 +00:00
marco
0962856816 * *BSD do_syscall was left behind. Replaced with socketcall 2004-03-20 15:19:29 +00:00
marco
8f0bc1fc2d * more strutils small things 2004-03-19 12:54:22 +00:00
marco
e6365c83ca * more simple implementations done, based on copy() Largely untested 2004-03-18 16:55:47 +00:00
marco
aa58205eca * strutils added 2004-03-18 16:54:03 +00:00
marco
fe251972ec * Now working under Darwin 2004-03-18 16:12:14 +00:00
marco
98923076ac * initial implementations for some routines 2004-03-17 22:18:48 +00:00
michael
334c6b36cb * Fixed: Macavail -> CMaxAvail (from Marc Weustinc) 2004-03-17 12:50:53 +00:00
marco
4c3ccc8a7d * stupid mistake fixed 2004-03-16 22:56:53 +00:00
florian
5074b9a1a8 * disabled internal ln 2004-03-16 22:02:26 +00:00
marco
510e8a722a * sockaddr is now a union between the old and new struct as grace period 2004-03-16 19:15:57 +00:00
marco
52a9379c8d * copied from FreeBSD, needs checking 2004-03-16 18:24:03 +00:00
marco
42cf83cec8 * sockets active again 2004-03-16 18:20:55 +00:00
marco
bdb8404de0 * new files sockets changes 2004-03-16 18:04:27 +00:00
marco
a45e1cd3f1 * first changes sockets units 2004-03-16 18:03:37 +00:00
peter
4f32f8ca93 * adaption to compile with 1.0.x in new rtl 2004-03-16 15:25:16 +00:00
Károly Balogh
ac2371b771 * first implementation of some startup code for MOS 2004-03-16 10:29:22 +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
peter
07acabc5b1 * fix memory allocation in stringtoppchar 2004-03-15 20:43:07 +00:00
peter
6219d43b43 * exit with rte 204 instead of looping infinite when a heap record
size is overwritten with 0
2004-03-15 20:42:39 +00:00
michael
c131b0a7b0 + Fix from peter for win32 SIGTRAp signal 2004-03-15 14:22:39 +00:00
florian
bca9da0ec7 * draft for qword mul 2004-03-14 21:45:11 +00:00
peter
682b148f4c * reset searchrec info in findfirst 2004-03-14 18:42:39 +00:00
florian
72a8ac8dd7 * "improved" behavior of real2str for arm, still needs fixing 2004-03-13 18:47:57 +00:00
florian
5fe2004441 * fixed some arm related real stuff 2004-03-13 18:33:52 +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
e0f214c954 wininc/struct.inc 2004-03-10 15:08:10 +00:00
marco
1cc7b06df4 * header for sockets unit 2004-03-09 19:40:52 +00:00
Tomas Hajny
42490a4c63 * exec fix 2004-03-08 22:31:00 +00:00
michael
2931514b1f + Fix by peter for calling conventions 2004-03-08 08:12:10 +00:00
Tomas Hajny
29d247f06b * spaces instead of a tab 2004-03-07 17:07:01 +00:00
Tomas Hajny
a55555aecc * proper regcall fixes 2004-03-06 23:18:02 +00:00
marco
72d0c3e839 * Somebody forgot to adapt bsd again 2004-03-06 01:27:40 +00:00
Jonas Maebe
e81983d028 * fixed declaration for cur_term for darwin now that the importing of
variables from shared libraries works
2004-03-05 22:18:15 +00:00
marco
e546db7a23 * interlocked* changed to longints, including winapi. (which was a bug) 2004-03-05 12:17:50 +00:00
marco
6043f1a626 * more unixtype fixes 2004-03-04 22:37:40 +00:00
marco
5c28b3002f * updated 2004-03-04 22:28:42 +00:00
marco
6ad0c08e17 * Darwin specific unixtype fixes. 2004-03-04 22:28:08 +00:00
marco
93622ec2e8 * UnixType changes. Please report problems to me. 2004-03-04 22:15:16 +00:00
olle
39806df8bb * updated for macos 2004-03-04 15:39:08 +00:00
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +00:00
Jonas Maebe
45863d051d - removed legacy code 2004-03-04 12:42:44 +00:00
Jonas Maebe
fad9a3ed01 * fixed compilation 2004-03-04 12:34:36 +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
peter
6bdcb0cdba * $ifdef debug code 2004-03-03 22:00:28 +00:00
olle
499f57bbf0 * tiny tiny flaw fix 2004-03-03 17:23:06 +00:00
Jonas Maebe
246629c717 - removed wordsinfdset again, because now it's defined in a common file 2004-03-01 19:50:40 +00:00
marco
66187f0b2e * forgotten? 2004-02-29 13:46:52 +00:00
peter
72324a4283 * tkclass removed from finalize()
* cleanupinstance now parses the tkclass rtti entry itself and
    calls finalize() for the rtti members
2004-02-26 16:19:01 +00:00
michael
c89ab11d7a + Patch from peter to fix finalize (bug 2975) 2004-02-26 12:42:34 +00:00
michael
e91bc5bb19 + Added AnsiSameStr 2004-02-26 08:46:21 +00:00
peter
75f7724beb * don't use ret 2004-02-23 15:52:15 +00:00
florian
b2a6bd9305 * fixed BeginThread on unix 2004-02-22 23:22:49 +00:00
Jonas Maebe
f7e4eb439a + added wordsinfdset constant 2004-02-22 23:18:24 +00:00
florian
934fe41c45 * several 64 bit issues fixed 2004-02-22 16:48:39 +00:00
Tomas Hajny
fa6166944f Makefiles regenerated 2004-02-22 16:07:41 +00:00
marco
151d6710b7 * fix for fdset. introduciton of wordsinfdset 2004-02-22 15:06:56 +00:00