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
micha
341cec908d
* update linux syscall numbers (merge powerpc64 to powerpc)
...
git-svn-id: trunk@12106 -
2008-11-15 15:42:12 +00:00
marco
a123ec0d14
* More deprecated.
...
git-svn-id: trunk@7566 -
2007-06-03 18:55:36 +00:00
Jonas Maebe
cb23a80178
* fixed fpu rte code for invalid, inexact and "subscript out of range"
...
errors (216 -> 207) (same as for sparc/solaris in r7453)
git-svn-id: trunk@7477 -
2007-05-25 19:22:28 +00:00
Jonas Maebe
a2dbc4d272
* fixed multi-thread case of FPC_SYSCALL3 (all others were already correct)
...
git-svn-id: trunk@7476 -
2007-05-25 19:02:19 +00:00
Jonas Maebe
f8b40e90dc
* exit -> exit_group to exit so unterminated threads are killed too
...
git-svn-id: trunk@7474 -
2007-05-25 17:48:24 +00:00
Jonas Maebe
cc03eacd2a
* fixed program exitcode after change of operatingsystem_result from
...
word to longint
git-svn-id: trunk@7473 -
2007-05-25 13:07:23 +00:00
Jonas Maebe
b9a97ae891
* another sparc/linux fix for stat (record must NOT be packed, or
...
variables of that type will not be aligned properly)
git-svn-id: trunk@7460 -
2007-05-24 22:50:33 +00:00
florian
d7da24aae2
* fixed another bloody stat record issue
...
git-svn-id: trunk@7060 -
2007-04-05 09:38:06 +00:00
daniel
3a7266a462
* Handle FPC_USE_LIBC case for Sparc too.
...
git-svn-id: trunk@6967 -
2007-03-23 23:30:18 +00:00
daniel
084a78fdd3
* Make sparc/linux stat structure backward compatible too.
...
git-svn-id: trunk@6966 -
2007-03-23 23:24:12 +00:00
marco
57cfd89fbd
* Linux 64-bit FS patch from neli for FPC_USE_LIBC
...
git-svn-id: trunk@6517 -
2007-02-16 22:16:54 +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
Jonas Maebe
934734df85
+ added missing syscalls from Mark Morgan Lloyd
...
git-svn-id: trunk@4339 -
2006-08-03 16:16:07 +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
florian
834ae15bd1
* fixed sparc building
...
git-svn-id: trunk@2063 -
2005-12-27 10:41:42 +00:00
florian
d4bb99a5fb
+ runerror 214: bus error/data misaligment
...
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
16b121f8c4
* unblock signal in signalhandler, remove the sigprocmask call
...
from setjmp
2005-04-24 21:19:22 +00:00
florian
c5be640fb6
* final fppipe fix hopefully
2005-03-03 22:02:59 +00:00
florian
314fe14247
+ routines in baseunix can be overriden by processor specifics in bsyscall.inc
2005-03-03 20:58:38 +00:00
florian
a6b7be5ca1
+ sparc specific pipe implementation
2005-03-03 20:13:44 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
9db91c3f23
* set addr:=nil for other signals
2005-02-05 23:46:12 +00:00
peter
7335a0e9af
* sigcontext is invalid, use siginfo only
2005-02-05 23:45:38 +00:00
peter
7fb8c3dfbd
* signal cleanup for linux
...
* sigactionhandler instead of tsigaction for bsds
* sigcontext moved to cpu dir
2005-01-30 18:01:15 +00:00
florian
aa9e238fb2
* more errno setting in sparc/linux mt programs fixed
2004-11-07 00:30:17 +00:00
florian
71c7fc8a7a
* fixed errno setting in mt sparc/linux mt programs
2004-11-06 22:48:16 +00:00
florian
bfe0a81d81
* initial implementation
2004-11-05 21:36:36 +00:00
florian
df90903031
* fixed symbol names
2004-09-25 18:43:45 +00:00
florian
8540efa2f9
* first implementation
2004-09-25 12:25:32 +00:00
florian
241587174e
* fixed fork for sparc
2004-08-22 12:34:11 +00:00
florian
49c3f3927e
* fixed floating point and integer exception handling on sparc/linux
2004-08-04 19:27:09 +00:00
florian
2337996715
* remade makefile (too old fpcmake)
...
* fixed sparc startup code
2004-07-05 21:07:37 +00:00
daniel
a1229ff8fe
* Modified bootstrap code so separate prt0.as/prt0_10.as files are no
...
longer necessary
2004-07-03 21:50:30 +00:00
peter
695b29bab3
* fixed errno setting
2004-07-02 19:29:19 +00:00
florian
df63fb46e3
* first syscall fix
2004-06-30 21:15:51 +00:00
peter
3094258825
* removed warnings
2004-05-31 20:25:04 +00:00
peter
f218923511
* remove warnign
2004-05-27 23:15:14 +00:00
peter
79d45deec7
* startup argc,argv,envp fix
...
* stat fixed
2004-05-27 23:15:02 +00:00
peter
6b5f84117b
* use ldsh to load exitcode
2004-05-17 20:56:56 +00:00
mazen
703f4f29d0
+ _haltproc definition for linux/sparc
2004-03-16 10:19:11 +00:00
peter
c0d3ba3a67
* only i386 needs cprt21 to link with glibc 2.1+
2004-03-10 20:38:59 +00:00
florian
3f4d98624f
- killed tsyscallregs
2004-02-06 23:06:16 +00:00
peter
6b5ec2b373
* removed asmmode direct
2004-01-05 17:22:03 +00:00
peter
43cac0027c
* compile fix
2003-11-06 16:28:52 +00:00
peter
07bfe21e9b
* sparc
2003-11-06 16:22:01 +00:00