florian
7c08279f82
* forgotten commit, fixes loader assembling
...
git-svn-id: trunk@5844 -
2007-01-07 20:16:55 +00:00
florian
74c9eefc99
* fixed bootstrapping with 2.0.4
...
git-svn-id: trunk@5837 -
2007-01-07 10:19:10 +00:00
florian
c59c9cdfae
* don't build .as with 2.1.1 on i386
...
* first fix to library entry code
git-svn-id: trunk@5836 -
2007-01-07 10:04:19 +00:00
florian
20dfbaee59
* proper initialization of library
...
git-svn-id: trunk@5832 -
2007-01-06 23:38:37 +00:00
florian
ff40ed3264
* Makefiles regenerated
...
git-svn-id: trunk@5831 -
2007-01-06 21:08:19 +00:00
florian
7cc3d3d532
* made it working
...
git-svn-id: trunk@5826 -
2007-01-06 18:37:48 +00:00
tom_at_work
92538bcb2a
Fixed lineinfo compilation with -gl
...
git-svn-id: trunk@5723 -
2006-12-26 19:27:45 +00:00
chrivers
d50a9a37f3
+ Added sem_timedwait prototype for Linux pthreads
...
git-svn-id: trunk@5706 -
2006-12-25 12:24:00 +00:00
Jonas Maebe
0c3afc0cf4
+ implementation of cSemaphore* and BasicRTLEvent based on
...
sem_open/sem_close for Darwin (doesn't have sem_init/sem_destroy)
+ implementation of cSemaphore* based on pipes (for potential future
systems that don't have either sem* routines)
+ test for basicrtlevent
* fixed datarace whereby a TThread could be started, run and exit before
TThread.AfterConstructor had been called (Mantis 6693, all platforms)
* throw EThread exceptions in TThread.create if something during creating
the tthread goes wrong (*nix)
* don't crash in TThread.Destroy if the TThread throws an exception before
it was fully initialised (*nix)
* changed order of operations in TThread.Destroy so it doesn't perform
invalid thread operations in some edge cases (*nix)
* fixed usage of sem_wait/sem_trywait (can be interrupted) in Semaphore
and RTLEvent implementations
* fixed erroneous waiting for threads after they had already exited via
pthread_detach/pthread_exit
* fixed several memory leaks in case of thread intialisation errors
(*nix)
* unified tthread.inc for all Unices
git-svn-id: trunk@5662 -
2006-12-21 18:22:47 +00:00
Jonas Maebe
3253e7464a
+ sigset alias for sigset_t
...
git-svn-id: trunk@5661 -
2006-12-21 17:36:49 +00:00
tom_at_work
949aa60805
* DWARF debug lineinfo reader
...
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
micha
b1c1b6fd3d
+ generic implementation of list and map; adapt TList/TStringList to use it
...
git-svn-id: trunk@5624 -
2006-12-17 15:52:42 +00:00
florian
0d97f9ab6c
+ initial implementation for x86_64, problem currently the usage of .section to create the necessary note section
...
git-svn-id: trunk@5491 -
2006-11-26 14:44:00 +00:00
florian
6bf6aa3552
* si_* defines cleaned up
...
git-svn-id: trunk@5490 -
2006-11-26 14:43:27 +00:00
florian
ded759a247
* implemented
...
git-svn-id: trunk@5489 -
2006-11-26 14:42:52 +00:00
Almindor
0219dcf2ab
* removes old (wrong) AF_ and PF_ consts from socketsh.inc
...
* adds platform specific AF_ and PF_ consts to respective unxsockh.inc files for freeBSD and Linux (others to follow)
git-svn-id: trunk@5440 -
2006-11-22 10:50:19 +00:00
florian
0d38bda5c4
* small m68k-linux fixes
...
git-svn-id: trunk@5427 -
2006-11-19 21:51:20 +00:00
tom_at_work
66607303af
* fixed fpftruncate, fplseek: removed ppc64 part of "$if defined(cpu64) and not defined(cpupowerpc64)"
...
git-svn-id: trunk@5392 -
2006-11-15 21:38:20 +00:00
yury
9217d50f5c
* Fix smartlinking for linux.
...
git-svn-id: trunk@5303 -
2006-11-10 10:19:15 +00:00
Jonas Maebe
d2b1da0aea
* TThreadID is a QWord for all 64 bit Linuxes, not just for PPC64
...
git-svn-id: trunk@5284 -
2006-11-08 12:19:15 +00:00
Jonas Maebe
2ce042beb4
* fixed previous commit
...
git-svn-id: trunk@5281 -
2006-11-07 21:45:49 +00:00
Jonas Maebe
edafc80d8c
* use pthread_kill() for Suspend/Resume in cthreads
...
git-svn-id: trunk@5280 -
2006-11-07 21:40:58 +00:00
peter
875eaa0fd6
* build sysinit units after system unit
...
git-svn-id: trunk@5268 -
2006-11-06 21:55:25 +00:00
florian
b07cd83892
* made system unit on m68k-linux compilable
...
git-svn-id: trunk@5266 -
2006-11-06 18:42:47 +00:00
tom_at_work
25ad38ec50
* updated stat record
...
git-svn-id: trunk@5235 -
2006-11-05 10:22:24 +00:00
tom_at_work
479143a63e
* fixed stat record for stat64 syscall
...
git-svn-id: trunk@5234 -
2006-11-05 10:21:43 +00:00
tom_at_work
1f0d411597
* fixed fpstat calls on ppc64
...
git-svn-id: trunk@5233 -
2006-11-05 10:21:12 +00:00
florian
46b6f00bc7
* use softfloat on arm and m68k
...
* export GUID_NULL from types also on windows
git-svn-id: trunk@5231 -
2006-11-05 00:03:38 +00:00
Jonas Maebe
43ed587de0
* fixed r4828
...
git-svn-id: trunk@5207 -
2006-11-03 17:31:02 +00:00
micha
6bfff9702e
+ add linux/i386 start units
...
git-svn-id: trunk@5183 -
2006-11-02 17:49:36 +00:00
micha
ad7d549965
+ implement pascal inline asm start/halt code for linux/i386
...
git-svn-id: trunk@5181 -
2006-11-02 16:58:41 +00:00
micha
e754f21053
* remove old linux stat record, C lib i386
...
git-svn-id: trunk@5180 -
2006-11-02 15:29:04 +00:00
marco
642e466dcb
* removed.
...
git-svn-id: trunk@5179 -
2006-11-02 15:15:27 +00:00
marco
abd864c21e
* oldlinux removed. Post 2.0 cleanups
...
git-svn-id: trunk@5178 -
2006-11-02 15:14:01 +00:00
micha
63ea4a282b
* fix x86_64 linux stat record
...
git-svn-id: trunk@5177 -
2006-11-02 13:48:56 +00:00
micha
0043aff24d
* fix linux/sysutils 64 bit file handling: make off_t 64 bit
...
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
micha
b14c83a7e1
* stat records differ too much: use stat include file
...
git-svn-id: trunk@5126 -
2006-10-31 15:45:22 +00:00
micha
9f22b00219
* fix fstat to use 64 bit syscall as well
...
git-svn-id: trunk@5123 -
2006-10-31 14:21:59 +00:00
micha
59e2c82080
* fix stat for 64 bit CPUs
...
git-svn-id: trunk@5120 -
2006-10-31 13:01:20 +00:00
micha
e11995aa99
* fix fplseek for 64 bit CPUs
...
git-svn-id: trunk@5119 -
2006-10-31 12:25:45 +00:00
micha
9238003e4f
+ 64 bit file support for linux
...
git-svn-id: trunk@5116 -
2006-10-31 11:20:21 +00:00
florian
ce620190a3
+ fmtbcd
...
* regenerated makefiles
git-svn-id: trunk@5076 -
2006-10-29 21:46:44 +00:00
michael
4ba6f1b4dc
* Moved fpmkunit to utils
...
git-svn-id: trunk@5034 -
2006-10-27 19:51:55 +00:00
michael
d1c2323c9b
* Added fpmktype
...
git-svn-id: trunk@5027 -
2006-10-26 19:55:22 +00:00
daniel
b89cff5980
* Optimize posixtorunerror for size. Because inoutres is a threadvar, it
...
had an invisible code blowup.
git-svn-id: trunk@5006 -
2006-10-22 21:03:48 +00:00
daniel
de001ec4ad
* Free hidden cmdline instead of cmdline property.
...
git-svn-id: trunk@4968 -
2006-10-18 20:32:45 +00:00
daniel
bbc80554b1
* Turn cmdline into property on Linux.
...
* Move some procedure in Linux system unit.
git-svn-id: trunk@4964 -
2006-10-18 20:07:10 +00:00
Jonas Maebe
f8b013187c
* fixed semaphore init, caused endless loop when terminating any
...
thread
git-svn-id: trunk@4925 -
2006-10-15 14:46:36 +00:00
marco
8d92e5863c
* Fixing makefiles for convutils/stdconv units
...
git-svn-id: trunk@4922 -
2006-10-15 12:53:27 +00:00
peter
f5efca241a
* fix 64bit
...
git-svn-id: trunk@4906 -
2006-10-14 16:03:02 +00:00
Almindor
f102f33426
* fix some gliches in inithreads
...
git-svn-id: trunk@4903 -
2006-10-14 12:47:42 +00:00
Almindor
ce2eb7246d
* fix NPTL and non-NPTL (old hack-fix) on linux
...
git-svn-id: trunk@4902 -
2006-10-14 11:49:06 +00:00
Almindor
be67e9328f
* remove pipe hack from linux tthread as well
...
git-svn-id: trunk@4901 -
2006-10-14 11:42:34 +00:00
florian
fd784931dd
* don't mess with the command line buffers if no command line is given
...
git-svn-id: trunk@4828 -
2006-10-08 14:20:23 +00:00
micha
d704af7216
fix compilation for {$T+} linux/win
...
git-svn-id: trunk@4794 -
2006-10-04 20:43:55 +00:00
Almindor
d4e1612fd1
* moves MSG_* constants from socketsh.inc to platform specific unxsockh.inc and fixes them for freebsd/darwin and solaris (linux ones were used before, not right)
...
git-svn-id: trunk@4646 -
2006-09-18 20:56:13 +00:00
Almindor
2d7cd5b969
* sockets cleanup from Aison
...
git-svn-id: trunk@4625 -
2006-09-16 10:40:32 +00:00
florian
0663a997cc
* name mangling changed
...
git-svn-id: trunk@4548 -
2006-09-03 21:11:10 +00:00
florian
73083de898
* IsLibrary initialized by declaration
...
* IsLibrary for linux is set in dllprt0.as
git-svn-id: trunk@4547 -
2006-09-03 20:41:51 +00:00
Almindor
2c8c5800bc
* fixed EPOLLOUT vs EPOLLPRI mixup in constants
...
git-svn-id: trunk@4526 -
2006-09-01 07:54:48 +00:00
Almindor
b8975e8fd4
* EPOLL_CTL_DEL was flipped with EPOLL_CTL_MOD
...
git-svn-id: trunk@4524 -
2006-08-31 20:48:51 +00:00
Károly Balogh
705033284e
+ regenerated makefiles to support powerpc-amiga target
...
git-svn-id: trunk@4371 -
2006-08-06 12:28:28 +00:00
Jonas Maebe
fa44b72c78
* fixed alignment issues with sparc/linux for pclose
...
git-svn-id: trunk@4369 -
2006-08-06 11:51:11 +00:00
Jonas Maebe
934734df85
+ added missing syscalls from Mark Morgan Lloyd
...
git-svn-id: trunk@4339 -
2006-08-03 16:16:07 +00:00
Almindor
3d1370bf8b
* fix 64bit epoll "special" packing
...
git-svn-id: trunk@4292 -
2006-07-25 11:44:24 +00:00
tom_at_work
2b8d704238
* fixed syscall helpers: threadvar index now correctly loaded as dword, helpers are now TOC and environment pointer aware, one-parameter helper was bugged and general cleanup; solves random crashes in these functions in particular with -O2 and threads.
...
git-svn-id: trunk@4236 -
2006-07-16 19:22:31 +00:00
tom_at_work
b3573feabb
* fixed compilation on 64 bit platforms with DEBUG_MT enabled
...
git-svn-id: trunk@4223 -
2006-07-16 10:19:52 +00:00
tom_at_work
cd8842a74d
* fixed TCGETS ioctl call constant for ppc/ppc64 (from do_isdevice)
...
git-svn-id: trunk@4222 -
2006-07-16 10:19:21 +00:00
Jonas Maebe
3961254106
* fixed epoll_create
...
git-svn-id: trunk@4091 -
2006-07-04 18:51:13 +00:00
peter
b32b872a7e
* change non-volatile rbx to volatile r11
...
git-svn-id: trunk@4013 -
2006-06-30 20:01:37 +00:00
micha
ea06d139c2
fix syscall used for exiting, like C _exit (issue #7025 )
...
git-svn-id: trunk@3897 -
2006-06-19 19:38:10 +00:00
daniel
dc043e1ed3
* Now right.
...
git-svn-id: trunk@3813 -
2006-06-05 21:46:05 +00:00
daniel
6d4b583709
+ Add S_IRWXU
...
git-svn-id: trunk@3812 -
2006-06-05 21:42:36 +00:00
florian
72a8c36bdb
* fixed arm asssembler, { ... } comments aren't allowed because { ... } is used for register sets
...
git-svn-id: trunk@3527 -
2006-05-14 16:17:48 +00:00
florian
33baacbe04
* fixed leaking of TThread
...
git-svn-id: trunk@3519 -
2006-05-14 09:15:09 +00:00
tom_at_work
7b0821c08a
* fixed problem which did not properly flush stdout before input on ppc64/linux
...
git-svn-id: trunk@3382 -
2006-04-30 12:10:17 +00:00
peter
cba7504dec
* use -P for cross compile
...
* support libimp*.a
git-svn-id: trunk@3321 -
2006-04-23 18:53:29 +00:00
micha
51ee73772e
remove startup sigaction flag hack for x86_64 (fixed properly using SA_RESTORER)
...
git-svn-id: trunk@3320 -
2006-04-23 18:35:45 +00:00
micha
79d0e21b5c
fix packing of sigaction record
...
git-svn-id: trunk@3319 -
2006-04-23 18:28:24 +00:00
micha
b6efd1389e
typo in assembly opcode
...
git-svn-id: trunk@3312 -
2006-04-22 14:00:30 +00:00
micha
7911be08f5
add signal handler trampoline return for buggy OS like fedora core
...
git-svn-id: trunk@3311 -
2006-04-21 20:36:17 +00:00
tom_at_work
a9df7aa81a
* forgot to commit ppc64 gprt0.as used for gprof support
...
* fixed ppc64 exception mask stuff (same as 3136 for ppc32)
git-svn-id: trunk@3298 -
2006-04-20 11:55:06 +00:00
daniel
b1ae9595dc
* Add a group of console ioctl commands.
...
git-svn-id: trunk@3211 -
2006-04-15 13:49:51 +00:00
tom_at_work
9b150ce30e
- Syscall number update for Kernel 2.6.15
...
git-svn-id: trunk@3076 -
2006-03-29 21:42:44 +00:00
Almindor
827abd27d7
* adds fpgetcwd support to sysdir.inc and fixes compilation
...
git-svn-id: trunk@2969 -
2006-03-19 17:10:04 +00:00
peter
323d6cf640
* use -O2 for 2.1.1 compilers
...
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
Jonas Maebe
f3ffa1400a
* regenerated for new ppc release optimizer settings
...
git-svn-id: trunk@2943 -
2006-03-17 17:54:28 +00:00
Almindor
4afe7ef0c9
* Simplified and fixed (previous mistake..) select/newselect
...
git-svn-id: trunk@2885 -
2006-03-12 13:25:02 +00:00
Almindor
8924d3f37a
* linux-i386 uses new_select now too
...
git-svn-id: trunk@2884 -
2006-03-12 13:03:33 +00:00
Almindor
a365a18fe2
* Fixes a crash with epoll_event / epoll_data records
...
git-svn-id: trunk@2823 -
2006-03-09 20:35:38 +00:00
Jonas Maebe
f868c80460
+ i386-darwin support (use fpcmake from after 12 February 2006)
...
git-svn-id: trunk@2820 -
2006-03-09 15:26:49 +00:00
marco
a0573f1015
* a few type aliases added, capitalisation fixed
...
git-svn-id: trunk@2756 -
2006-03-05 13:28:27 +00:00
tom_at_work
a0bc256b8f
* added syscall_nr_pwrite/read64 aliases for build
...
git-svn-id: trunk@2737 -
2006-03-04 18:40:17 +00:00
Vincent Snijders
b0a394edfc
fixed typo
...
git-svn-id: trunk@2732 -
2006-03-04 13:34:07 +00:00
marco
24c0b496dd
* commit of the syscall based linux support for pwrite/writev, still under
...
{$ifdef linux}. This to fix x86_64 breakage.
git-svn-id: trunk@2731 -
2006-03-04 12:40:45 +00:00
marco
c93d9eea7a
* another attempt at committing the EPOLL changes.
...
git-svn-id: trunk@2709 -
2006-02-28 20:25:14 +00:00
daniel
740c68106b
+ Add pread/pwrite system calls
...
* Optimize video using pwrite
git-svn-id: trunk@2705 -
2006-02-27 23:18:35 +00:00
peter
4c56a87d59
* integrate loaders in system unit
...
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
peter
2d97d480ed
* stkptr is global
...
git-svn-id: trunk@2675 -
2006-02-24 11:13:46 +00:00
florian
466227bdb0
* fixed x86-64 send/recv socket call
...
git-svn-id: trunk@2674 -
2006-02-23 20:47:40 +00:00