Commit Graph

2850 Commits

Author SHA1 Message Date
Jonas Maebe
c5eb27f475 * fixed buffer overflow error in StringToPPChar(), detected using
DIOTA (http://www.elis/rug.ac.be/~ronsse/diota) (which I also work on :)
    (merged)
2002-09-13 13:03:27 +00:00
Jonas Maebe
22e9f5b17d * fixed assembler errors 2002-09-11 07:49:40 +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
Jonas Maebe
e714c54860 * disabled powerpc-specific fpc_shortstr_concat for now, it was
completely wrong
2002-09-10 21:30:34 +00:00
Jonas Maebe
a3e6f8cb66 * added some missing compilerproc directives 2002-09-10 21:29:44 +00:00
Jonas Maebe
73c94020ee * fixed bug with concatting 0-length shortstrings 2002-09-10 17:47:20 +00:00
pierre
a205f13682 * merged from fixes: fix bug report 1974 2002-09-10 10:38:04 +00:00
Jonas Maebe
242a9f8937 * made result type of calculate_release_sig() a longword instead of a
longint
2002-09-09 15:45:49 +00:00
marco
2c73b6c7a8 * Forgot external name's 2002-09-08 16:20:27 +00:00
marco
e9dee45162 * Added GetDomainName and that other one .. 2002-09-08 16:11:59 +00:00
Jonas Maebe
5cc852aae8 + added sys_readdir code from OpenBSD in fixes branch 2002-09-08 15:29:23 +00:00
marco
1a5968d82a * Renamed to bsdfunc, since more funcs will follow 2002-09-08 15:15:39 +00:00
Jonas Maebe
afdfcc6eb5 * made pi an internproc instead of internconst 2002-09-08 13:00:21 +00:00
Jonas Maebe
8df1299d70 * added closing of comment for logs to avoid warning 2002-09-08 09:16:15 +00:00
Jonas Maebe
fb08ac116d + initial revision, h2pas of sys/signal.h 2002-09-08 09:06:07 +00:00
Jonas Maebe
15e37e7154 + initial revision, simply copied from FreeBSD 2002-09-08 09:00:54 +00:00
Jonas Maebe
91891959ea + initial revision 2002-09-08 09:00:17 +00:00
carl
5ed7522ade - removed unused defines 2002-09-07 21:32:08 +00:00
carl
1a77802104 - removed mousecheck define 2002-09-07 21:30:00 +00:00
carl
953a1ccdae - removed os_types
* fix range check errors
2002-09-07 21:28:10 +00:00
carl
9a219375c1 - removed os_types 2002-09-07 21:22:31 +00:00
carl
4b11cd11cd - remove FPUInt64 variable 2002-09-07 21:21:42 +00:00
carl
7215ccb0e8 * cardinal -> longword
- remove FPUInt64 variable
2002-09-07 21:20:50 +00:00
carl
7cbb2eb379 * cardinal -> longword 2002-09-07 21:16:45 +00:00
carl
1baf0ef1b5 - some cleanup (less ifdef) 2002-09-07 21:15:25 +00:00
carl
7ebda0a778 * cardinal -> longword
- remove some unused routines
2002-09-07 21:10:47 +00:00
carl
cd50814a64 * cardinal -> longword
- remove generic boundcheck (does not exist in v1.1)
2002-09-07 21:08:42 +00:00
carl
9b1e434854 * bugfix 1867 (merged) 2002-09-07 21:06:51 +00:00
carl
9f78fa950a * cleanup of parameters
- remove assembler code
2002-09-07 21:06:12 +00:00
carl
0b561daa54 - remove unused file 2002-09-07 19:55:57 +00:00
peter
9f31783a0a * old logs removed and tabs fixed 2002-09-07 16:01:16 +00:00
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +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
carl
712bd8dbc1 - unit cleanup (removed unused defines) 2002-09-07 12:43:02 +00:00
carl
e94bef4279 - unit cleanup (removed unused defines) 2002-09-07 12:37:19 +00:00
carl
027292b880 - unit cleanup (removed unused defines)
* compilation options are restored
2002-09-07 12:36:15 +00:00
carl
1708a0fc84 - removed support_ports option (cleanup) 2002-09-07 12:31:16 +00:00
carl
85032ae6c6 * stack checking supported for all systems 2002-09-07 11:09:40 +00:00
carl
1b53eca49d - remove logs 2002-09-07 11:08:58 +00:00
Jonas Maebe
71a7fb486a * implemented most syscalls, except readdir because the getdents
syscall is declared obsolete in Darwin...
2002-09-06 18:35:59 +00:00
Jonas Maebe
13857b04fb + initial implementation, h2pas of /usr/include/sys/syscall.h on a
Mac OS X 10.1.5 machine
2002-09-06 17:12:55 +00:00
Jonas Maebe
128c4a9a4b * fixed wrong references (used r0 as base register) 2002-09-06 16:58:43 +00:00
Jonas Maebe
6c202898f6 + crt0.o file, compiled from the Darwin Csu module sources of 2002/09/06.
Can't just put an assembler file here, because it's composed of 2
    assembler files and a C file. No idea whether it will actually
    work on OS X 10.1.x (may require 10.2.x, since it's from the main
    branch)
2002-09-06 16:43:26 +00:00
florian
faed23bfb5 * hopefully final fix for ppc syscall 2002-09-03 21:37:54 +00:00
peter
685caf03b6 * add alias for fpc_dispose_class so it can be called from
fpc_help_fail_class
2002-09-03 15:43:36 +00:00
pierre
1010c85f7b * fix for bug #1779 merged 2002-09-03 10:26:11 +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
f2393f7316 * fixed line breaks 2002-09-02 19:46:37 +00:00
peter
a17291b2d4 * array of char support for Str() 2002-09-02 19:24:41 +00:00
peter
24384c648b * moved genrtti.inc code to rtti
* removed rttip.inc, the generic code is almost as fast and
    much easier to maintain and has less risks on bugs
2002-09-02 18:42:41 +00:00
michael
aca945888e + Fix for formatbuf not applied correct 2002-09-02 06:07:16 +00:00
florian
8fbb716b82 + powerpc support added 2002-09-01 19:03:19 +00:00
peter
c003f63790 * renamed conditional to insert optimized mod_qword for i386. The
code is broken
2002-09-01 14:44:01 +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
d1f89ec5e3 * fixed undefined labels 2002-08-31 16:08:36 +00:00
florian
d78a124122 + public and alias directive added to *jmp 2002-08-31 14:27:40 +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
michael
2612c7418b + Fix for bug report 2097 in formatbuf 2002-08-29 10:04:48 +00:00
michael
3be9624a26 + Fix for bug report 2097 in formatbuf 2002-08-29 10:04:25 +00:00
pierre
a48f4fc217 * merge kbPhys patch from fixes branch 2002-08-28 06:35:30 +00:00
pierre
521f29fcca * fix bug report 2086 2002-08-26 13:49:18 +00:00
marco
3bc109ae66 * Fixes from Tuesday. 2002-08-21 07:03:16 +00:00
marco
82f9961048 * More errno changes 2002-08-21 07:02:06 +00:00
Jonas Maebe
58fc64dc09 * interface "as" helpers converted from procedures to functions 2002-08-20 18:24:05 +00:00
marco
9a5126ecfd * New errno handling. Should be libc compatible. 2002-08-20 12:50:22 +00:00
marco
c1b0912c26 * Updates for new errno scheme. 2002-08-20 08:28:14 +00:00
florian
785527904e * small fixes 2002-08-19 21:19:15 +00:00
peter
c3af3cda9b * SYSTEMINLINE define that will add inline directives for small
functions and wrappers. This will be defined automaticly when
    the compiler defines the HASINLINE directive
2002-08-19 19:34:02 +00:00
Jonas Maebe
46c48f23d8 + ppc support for do_syscall 2002-08-19 18:24:05 +00:00
marco
8596df9dde * Moved to rtl/bsd 2002-08-19 12:33:48 +00:00
marco
5b3204e916 * again fixes. 2002-08-19 12:32:34 +00:00
marco
e2367dfb42 * First working POSIX *BSD system unit. 2002-08-19 12:29:11 +00:00
florian
b6f184646c * fixed remaining assembler errors 2002-08-18 22:11:10 +00:00
florian
d9b55c9213 * several errors in inline assembler fixed 2002-08-18 21:37:48 +00:00
florian
a0b13c1d2f * heap stuff for powerpc fixed 2002-08-13 18:11:08 +00:00
florian
a328159153 * ioctlselect overloaded to take a longint is second parameter 2002-08-12 14:18:53 +00:00
Jonas Maebe
3a23eefecc * various fixes, mostly changing the names of the modifies registers to
upper case since that seems to be required by the compiler
2002-08-10 17:14:36 +00:00
marco
3c59d6dfb9 * Fixes Posix dir copied to devel branch 2002-08-10 13:42:36 +00:00
marco
925ae63afb * Practically rewritten in first update in 2 years or so. 2002-08-08 20:39:26 +00:00
marco
7f2dd379a6 * Initial versions. 2002-08-08 11:40:05 +00:00
marco
b9f92442be * Initial versions, to allow support for uname in posix.pp 2002-08-08 11:39:30 +00:00
michael
b5717d4dde + Added support for octal strings (using &) 2002-08-06 20:53:38 +00:00
sg
62f2051d6f * serial ports are now set to raw mode 2002-08-06 13:31:50 +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
Tomas Hajny
f163e8b037 * fix for bug #1998 (write in window) + removed warnings 2002-08-04 19:37:55 +00:00
marco
a575fe278a * Initial version. Needs check for OpenBSD. 2002-08-04 05:31:15 +00:00
marco
6088d82362 * More POSIX updates. Small changes to lseek and ftruncate in osposix.inc
Initial versions of the type includefiles
2002-08-04 04:29:34 +00:00
florian
5b4ccaedf6 + ppc implementation of heap functions added 2002-08-03 20:05:13 +00:00
marco
3ff91078da * Initial *BSD versions. Seems that OpenBSD doesn't need much change,
NetBSD may need some fixes to stat record and ftruncate and lseek.
    It is all close together, and it should be doable to have just one copy
    of these for *BSD.
2002-08-03 19:34:19 +00:00
Jonas Maebe
af5f1fbcb6 * fix for StrPas() by Sergey Korshunoff <seyko@comail.ru> (merged) 2002-08-01 16:53:14 +00:00
marco
0e2046b1fd * Some more OpenBSD fixes. 2002-08-01 12:28:49 +00:00
Jonas Maebe
a28ee81ed6 * fixed conversion from int64/qword to double errors 2002-07-31 16:58:12 +00:00
Jonas Maebe
0ab6c37c31 * fixed compilation errors with 1.0 2002-07-31 11:52:57 +00:00
florian
8ec8b78cec + dummy setjmp and longjmp added
+ dummy implemtation of the destructor helper
2002-07-30 17:29:53 +00:00
florian
272865d6af * interface helpers for 1.1 compilers without interface support fixed 2002-07-30 17:29:19 +00:00
marco
d228e13edf * OpenBSD makefile update again 2002-07-30 13:39:03 +00:00