tom_at_work
651f34e27c
* ppc64: with -Or the compiler now also generates calls to helper functions in the function prolog/epilog instead of multiple stores/loads
...
* ppc64: moved function prolog/epilog helper code into startup code
* ppc64: added FPU configuration code in math unit (fixes tw3161)
git-svn-id: trunk@1786 -
2005-11-20 01:20:55 +00:00
tom_at_work
268050b0c1
* added ptrgl helper to cprt0 startup code as well
...
git-svn-id: trunk@1779 -
2005-11-17 21:35:47 +00:00
tom_at_work
3bf1152a9c
* ppc64/linux: fixed and enabled some more assembly routines in the RTL
...
* ppc64/linux: cleaned up several files (mainly proper comments)
git-svn-id: trunk@1757 -
2005-11-15 17:30:15 +00:00
tom_at_work
99ed1d009b
* ppc32/linux: cprt0 update, fixing linking to libc
...
* ppc32/linux: stat update, making the compiler cycle with -dFPC_USE_LIBC again
* fixed typo in ugetrlimit libc function name
git-svn-id: trunk@1756 -
2005-11-15 17:27:42 +00:00
marco
09134bd40a
* patch with a _lot_ more constants from JP Mugaas (for Indy)
...
git-svn-id: trunk@1729 -
2005-11-13 14:56:35 +00:00
tom_at_work
47258d61a6
* some cleanup, typo fixes
...
git-svn-id: trunk@1723 -
2005-11-11 12:37:28 +00:00
tom_at_work
1b4b42fdd6
* added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
...
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
tom_at_work
367df58016
* stack related things (sizes, calculations, etc.) are now 64 bit on 64 bit platforms
...
* default stack size is now also 32k for Windows (allows the use of stack checking when using threads)
git-svn-id: trunk@1718 -
2005-11-10 17:06:25 +00:00
tom_at_work
940f953e8b
* cleanup, removing debug code removed and fixing file headers
...
* cprt0 updates
git-svn-id: trunk@1713 -
2005-11-10 15:08:41 +00:00
tom_at_work
d54dbdf9b6
* new constants for si_code field for FPU signals (required by commit 1710)
...
git-svn-id: trunk@1712 -
2005-11-10 15:04:28 +00:00
tom_at_work
745cafdc70
* signal handler update, uses uc_mcontext instead of sigcontext_struct in later Linux versions
...
* syscalls update
git-svn-id: trunk@1711 -
2005-11-10 15:01:00 +00:00
florian
375bc7bbb0
+ TThread.WaitFor needs to call CheckSynchronize
...
git-svn-id: trunk@1661 -
2005-11-05 17:42:13 +00:00
tom_at_work
653f4b465d
* fixed some typecasts of pointers to Longint for 64 bit architectures (Linux and generic parts of the RTL only)
...
* 64 bit sockets unit fixes
git-svn-id: trunk@1625 -
2005-11-01 22:40:23 +00:00
florian
7bff61ce29
* patch from Ales Katona to add a stack size parameter to tthread functions
...
git-svn-id: trunk@1621 -
2005-11-01 22:01:48 +00:00
tom_at_work
b8f34684ec
- fixed TFDSet type for 64 bit compatibility
...
git-svn-id: trunk@1618 -
2005-11-01 21:08:07 +00:00
tom_at_work
c5f89d7efd
* release old stack pointer register on ppc64 after method prolog
...
* threading fixes for ppc64
* fixed a_param_ref to respect the size parameter on ppc64
* better stack size calculation for ppc64
git-svn-id: trunk@1599 -
2005-10-26 19:50:17 +00:00
tom_at_work
5520442fc4
* call by register now also takes care of the TOC and environment pointer
...
* first "optimize for size"-optimization
git-svn-id: trunk@1593 -
2005-10-25 20:12:21 +00:00
florian
9fd0bb293d
* fixed typo in previous commit
...
git-svn-id: trunk@1575 -
2005-10-23 14:01:08 +00:00
florian
d2a111105e
* made syscall.inc pic safe
...
git-svn-id: trunk@1574 -
2005-10-23 13:48:51 +00:00
tom_at_work
202236c6e0
* fpcmake.ini update which fixes glibc search path problems on PowerPC64
...
* makefile update
git-svn-id: trunk@1546 -
2005-10-20 16:56:40 +00:00
peter
75c00e21c9
* i386 signal handler receives a ucontext instead of sigcontext
...
git-svn-id: trunk@1478 -
2005-10-18 13:41:48 +00:00
peter
7f6d44006e
* disable TLS segment initialization, it breaks threading
...
git-svn-id: trunk@1470 -
2005-10-18 11:20:36 +00:00
tom_at_work
4db863d076
* first shared library link path fixes
...
* PowerPC64/Linux signal handler now differs between different FP exceptions
git-svn-id: trunk@1452 -
2005-10-17 21:30:21 +00:00
tom_at_work
701638138b
* fixed exception handling for PowerPC64
...
* math library is now automatically linked on non-x86 platforms when FPC_USE_LIBC is defined
* generic C system function signature adaptions for 64 bit CPUs
git-svn-id: trunk@1392 -
2005-10-15 21:24:15 +00:00
Jonas Maebe
2dbdc474fd
* use register variables when release-building for ppc (more or less doubles
...
performance for most programs)
git-svn-id: trunk@1383 -
2005-10-15 16:36:52 +00:00
tom_at_work
0ba960e1bd
* added workarounds for some load/store instructions requiring 4 byte aligned addresses
...
* some cleanup and optimization of 64 bit address loading in the code generator
* small changes to the IDE to make it compile
* stat type update for packages/cdrom compatibility
git-svn-id: trunk@1375 -
2005-10-14 00:00:16 +00:00
marco
0bc7d92310
* removed old BSD ifdefs
...
git-svn-id: trunk@1368 -
2005-10-13 18:39:22 +00:00
tom_at_work
3f4682400c
* fixed basic signal handling for PowerPC64/linux, by updating related types and major code cleanup
...
git-svn-id: trunk@1364 -
2005-10-12 22:46:13 +00:00
tom_at_work
bfb2c916dc
* fixed problem with too large offsets in conditional jumps (see also rev 1161 for the PowerPC code)
...
* updated sysnr.inc for PowerPC64 from 2.6.11 kernel sources
* fixed SigactionRec sa_flags field sizes, which improves signal handling for PowerPC64 platform
git-svn-id: trunk@1352 -
2005-10-10 23:45:57 +00:00
tom_at_work
9e7d550455
* fixed last commit (1337) which broke some files in the repository
...
git-svn-id: trunk@1338 -
2005-10-08 17:23:44 +00:00
tom_at_work
f7f0f9c426
* makefile adaption to be able to cycle compiler and RTL on PowerPC64 target
...
* some fixes for PowerPC64 target in the code generator and the RTL
* stabs generation for PowerPC64 is okay now (untested)
git-svn-id: trunk@1337 -
2005-10-08 15:48:39 +00:00
tom_at_work
b2e1cf2610
* powerpc64 port now (manually) cycles, most test programs in tests/test are fine too
...
* fixed bug in ncal.pas which in some circumstances treated the hidden length parameter for open arrays as 32 bit integer
git-svn-id: trunk@1303 -
2005-10-05 21:55:25 +00:00
florian
91be287119
* exit_group isn't available on older linuxes, if exit_group fails, use exit
...
git-svn-id: trunk@1299 -
2005-10-05 19:24:00 +00:00
florian
c15e0911e5
+ more runerrors 214
...
git-svn-id: trunk@1264 -
2005-10-03 08:30:08 +00:00
florian
d4bb99a5fb
+ runerror 214: bus error/data misaligment
...
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +00:00
peter
da9ea7ff88
* use exit_group syscall to also stop all threads
...
git-svn-id: trunk@1259 -
2005-10-02 21:12:45 +00:00
peter
e94b08ae68
* fix shmat from Nikolay Nikolov
...
git-svn-id: trunk@1247 -
2005-10-01 20:54:11 +00:00
peter
6499d65c39
* fixed compilation with 2.0.x
...
git-svn-id: trunk@1223 -
2005-09-29 06:26:02 +00:00
marco
73e81ac45a
* inlined few procs. Didn't inline makeraw since that triggers inline WITH bug.
...
git-svn-id: trunk@1221 -
2005-09-28 20:59:20 +00:00
florian
a78703fb5a
* fixed FPC_USE_LIBC on linux
...
git-svn-id: trunk@1218 -
2005-09-28 19:30:55 +00:00
florian
1d17d73b2f
* first fixes for previous commit
...
git-svn-id: trunk@1214 -
2005-09-27 21:18:07 +00:00
florian
7626a64e35
+ *stat wrappers for linux
...
git-svn-id: trunk@1213 -
2005-09-27 21:10:55 +00:00
tom_at_work
3681639a6a
- more PowerPC64 fixes; "Hello World" style programs can be compiled and run
...
git-svn-id: trunk@1209 -
2005-09-27 18:16:49 +00:00
peter
6bf3269b41
* powerpc64 port from Thomas Schatzl
...
git-svn-id: trunk@1193 -
2005-09-25 17:19:44 +00:00
florian
a7d088b197
+ MAX_PATH
...
+ mime properties set
git-svn-id: trunk@1191 -
2005-09-25 15:44:26 +00:00
florian
2f011934ef
+ pull in cthreads
...
git-svn-id: trunk@1183 -
2005-09-25 11:23:30 +00:00
florian
1c0035f882
+ pulls in cwstring by default
...
git-svn-id: trunk@1141 -
2005-09-19 16:52:22 +00:00
peter
72b0603943
* use mov insteead of push ds, valgrind doesn't like the push
...
git-svn-id: trunk@1140 -
2005-09-19 12:35:17 +00:00
florian
21cc9597f2
+ fpcylix unit
...
+ -Sk option
git-svn-id: trunk@1106 -
2005-09-18 08:34:51 +00:00
peter
bb70f2f5cc
* add fppkg and fpmkunit to the Makefile.fpc
...
git-svn-id: trunk@1063 -
2005-09-08 06:50:52 +00:00