Commit Graph

32 Commits

Author SHA1 Message Date
pierre
8a543dbc8a Use RTE 207 for FPU_Invalid and FPU_Denormal exceptions on i386/x86_64 beos/haiku/*bsd as for Linux
git-svn-id: trunk@47227 -
2020-10-27 23:09:32 +00:00
marco
61c405f942 * more abi numbers from test VMs
git-svn-id: trunk@44273 -
2020-03-06 17:26:06 +00:00
marco
fc49266749 * comment with FreeBSD11 tag value
git-svn-id: trunk@44265 -
2020-03-06 09:44:02 +00:00
marco
02e2b8752d * allow to set value on cmdline since llvm versions don't work atm.
* also patch gprt0.as

git-svn-id: trunk@35100 -
2016-12-10 15:04:32 +00:00
sergei
bb8de483f2 - Removed "version" directive, all it does is creation of extra PT_NOTE segment, which does not appear in programs compiled with C.
+ Added non-executable stack marker.

git-svn-id: trunk@29557 -
2015-01-26 17:02:31 +00:00
sergei
da019b889c * i386-freebsd shared library startup:
* Don't mess with FPU control word, libraries should leave it alone.
  * Don't call FPC_LIB_EXIT from haltproc, unit finalization is performed before haltproc.
  + non-executable stack marker.

git-svn-id: trunk@26763 -
2014-02-13 14:45:21 +00:00
sergei
a3364a4b80 - RTL, Linux/FreeBSD shared library startup: removed FPC_SHARED_LIB_EXIT label, it is a leftover from times when library startup code was erroneously halting owning process on exit.
git-svn-id: trunk@25737 -
2013-10-10 13:14:56 +00:00
marco
4d6b9540dd * changed all version numbers to 900044 for freebsd 9. Expanded script to deal with
all its incarnations.

git-svn-id: trunk@22868 -
2012-10-28 20:02:00 +00:00
marco
ed6a399ae2 * cleanup ELF ABI tag a bit. Set abitag version to 9.0 for now.
git-svn-id: trunk@20172 -
2012-01-25 13:46:58 +00:00
pierre
33604a6a49 * Shared library dllrpt0.as init code for i386 and x86_64 CPUs
git-svn-id: trunk@19276 -
2011-09-28 23:07:39 +00:00
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
marco
6a993fc079 * added files from linux to attempt having part of the startup in pascal
git-svn-id: trunk@11158 -
2008-06-01 13:55:37 +00:00
marco
1d9b04bda9 * added somes comments to cprt0.as
script to patch cprt0.as to current .note abi id. (run on target!)

git-svn-id: trunk@11143 -
2008-05-31 18:09:55 +00:00
Jonas Maebe
b20652821d + call fpc_cpucodeinit, so sse_support gets initialised for *bsd/darwin
+ support for catching sigill on FreeBSD in case not running on
    an SSE2-capable cpu (untested) -- Darwin only runs on SSE2-capable 
    cpus

git-svn-id: trunk@9419 -
2007-12-08 22:56:58 +00:00
Jonas Maebe
ccb9e7bb1b + psigcontex alias for psigcontextrec
+ psiginfo alias for psiginfo_t
  * changed arguments to sigactionhandler procvar type from var parameters
    into pointers
   -> all compatible to the way it's done for Linux -> fpcdaemon compiles

git-svn-id: trunk@6283 -
2007-02-01 12:09:33 +00:00
marco
762e335da1 * .size stuff for GOT
git-svn-id: trunk@2290 -
2006-01-15 00:08:15 +00:00
marco
a5276e396e * fixed FreeBSD 6 cprt0.as Use -Xf from now on.
git-svn-id: trunk@2097 -
2005-12-31 15:39:35 +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
florian
314fe14247 + routines in baseunix can be overriden by processor specifics in bsyscall.inc 2005-03-03 20:58:38 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +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
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +00:00
marco
9eebe90053 * now separately. 2004-01-03 12:29:36 +00:00
marco
d954d73042 * a lot of copyright notices and CVS logs added and fixed 2004-01-03 12:18:29 +00:00
marco
4bd0a028bb * ioperm is linuxerror free and returns syscall result directly 2003-11-14 16:30:38 +00:00
marco
50101600d3 jaja 2003-10-30 18:10:08 +00:00
marco
7efaf7dee2 * Unix reform stage two. Remove all calls from Unix that exist in Baseunix. 2003-09-14 20:15:01 +00:00
marco
c69125dff4 * Still contained SYSBSD instead of SYSTE 2000-11-21 19:03:23 +00:00
marco
f85ab2b440 * unit SYSTEM fix for cycling starting with 1.0 for FreeBSD. 2000-11-07 14:07:19 +00:00
marco
9ca9df4a7f * FreeBSD support into 1.1 2000-09-18 13:42:35 +00:00