Jonas Maebe
f6d452c2c0
* remove the RTL's installed signal handlers at the end of the system
...
unit's initialization code in case we're in a library
+ implemented InquireSignal(), AbandonSignalHandler(), HookSignal() and
UnhookSignal() in the sysutils unit
* for Kylix compatibility, these routines support operating on
SIGINT and SIGQUIT as well, although they are not hooked by default
by FPC. The run time errors/exception codes for these signals are
resp. 217 and 233 (same as in Kylix; I changed ENoWideStringSupport
to 234).
* changed the BSD syscall version of fpsigaction to use pointer
rather than "var" arguments (compatible with other targets, and
required to be able to pass nil arguments inside the system unit)
-> together fixes mantis #12704
git-svn-id: trunk@13077 -
2009-05-02 09:40:44 +00:00
Jonas Maebe
3216e8c7bc
* mark produced object files as "does not require executable stack" by
...
default for Linux (overridable using -WX switch) (mantis #11563 )
git-svn-id: trunk@12356 -
2008-12-12 16:26:25 +00:00
micha
341cec908d
* update linux syscall numbers (merge powerpc64 to powerpc)
...
git-svn-id: trunk@12106 -
2008-11-15 15:42:12 +00:00
florian
065b187c26
* properties set
...
git-svn-id: trunk@8209 -
2007-08-02 07:38:09 +00:00
marco
a123ec0d14
* More deprecated.
...
git-svn-id: trunk@7566 -
2007-06-03 18:55:36 +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
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
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
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
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
marco
05bb11b2ba
* syscalls regenerated by Neli.
...
git-svn-id: trunk@2552 -
2006-02-12 21:45:34 +00:00
peter
94f2b1d941
* add initialstkptr to get the stackpointer at startup before
...
PASCALMAIN is called so the main body framepointer is seen as
a valid pointer with backtracing
git-svn-id: trunk@2266 -
2006-01-12 09:29:57 +00:00
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
47258d61a6
* some cleanup, typo fixes
...
git-svn-id: trunk@1723 -
2005-11-11 12:37:28 +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
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
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
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
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
d4bb99a5fb
+ runerror 214: bus error/data misaligment
...
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +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