Commit Graph

42 Commits

Author SHA1 Message Date
Pierre Muller
c249495e2d Add '%note' to .note.openbsd.ident section 2023-07-19 19:07:16 +02:00
Michael VAN CANNEYT
221be05cac * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
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
florian
7281ea7a2c * floating point division by zero should throw run time error 208, fixed
git-svn-id: trunk@46210 -
2020-08-03 19:42:16 +00:00
nickysn
2fdef04a28 * invoke _csu_finish before __init in the OpenBSD i386 C library startup code
git-svn-id: trunk@42132 -
2019-05-28 15:39:43 +00:00
nickysn
e0b523ef14 * updated the asm parts of the i386 OpenBSD startup code as well
git-svn-id: trunk@42080 -
2019-05-15 17:16:21 +00:00
nickysn
357d3ca390 - removed cprt0.as from the OpenBSD i386 RTL as well
git-svn-id: trunk@42078 -
2019-05-15 16:13:57 +00:00
nickysn
6dec9ae064 + added some missing cdecl declarations to the OpenBSD startup code
git-svn-id: trunk@41766 -
2019-03-22 01:22:16 +00:00
nickysn
b6d2ef12ad - removed OpenBSD loaders that are not needed for bootstrapping with FPC 3.0.4
git-svn-id: trunk@41765 -
2019-03-22 01:08:37 +00:00
nickysn
516438fd19 * converted the i386 OpenBSD startup code to Pascal
git-svn-id: trunk@41764 -
2019-03-22 00:54:01 +00:00
nickysn
e4ffeb2266 + added OpenBSD startup units for gprof support
git-svn-id: trunk@41757 -
2019-03-21 12:52:25 +00:00
nickysn
df11fcc9e3 * compilation fix for i386-openbsd
git-svn-id: trunk@41711 -
2019-03-15 13:46:58 +00:00
nickysn
d8f79c7363 * converted the openbsd_ident.as loader to pascal
git-svn-id: trunk@41710 -
2019-03-15 13:35:10 +00:00
nickysn
16abd6aa13 + added loader openbsd_ident.as, containing only the .note.openbsd.ident
section, required by OpenBSD to identify the ELF binary as OpenBSD-native

git-svn-id: trunk@41702 -
2019-03-14 18:06:24 +00:00
nickysn
df21e3a3bc + initial (only a stub for now) implementation of pascal-based startup code units for OpenBSD
git-svn-id: trunk@41692 -
2019-03-13 15:59:36 +00:00
nickysn
d65d1d17e5 * yet another PIC fix in cprt0 for i386-openbsd
git-svn-id: trunk@41687 -
2019-03-12 16:00:12 +00:00
nickysn
5f47b0877a * PIC fixes in cprt0 for i386-openbsd
git-svn-id: trunk@41686 -
2019-03-12 14:56:27 +00:00
nickysn
86d8e3d5cf * more PIC fixes in i386 OpenBSD's startup code. prt0.as is now completely PIC
git-svn-id: trunk@41685 -
2019-03-12 13:55:54 +00:00
nickysn
bfe148cfef * more PIC fixes in the i386 OpenBSD startup code
git-svn-id: trunk@41683 -
2019-03-12 01:58:11 +00:00
nickysn
9c3d7df289 * partial PIC conversion of the i386 OpenBSD startup code
git-svn-id: trunk@41682 -
2019-03-12 01:33:06 +00:00
nickysn
f7ee1a1da9 - removed duplicated ".note.openbsd.ident" sections, committed erroneously in r41645
git-svn-id: trunk@41649 -
2019-03-09 15:40:34 +00:00
nickysn
85981b0a32 * applied all the OpenBSD startup code patches from the OpenBSD ports tree
git-svn-id: trunk@41645 -
2019-03-09 14:33:25 +00:00
sergei
6baba5065c * i386: Perform all CPU-related initialization in fpc_cpucodeinit, instead of having it scattered between fpc_cpuinit,fpc_cpucodeinit and check_sse_support. Simplifies things quite a bit.
- check_sse_support and mmx_support are no longer needed, removed.

git-svn-id: trunk@27169 -
2014-03-16 22:20:39 +00:00
pierre
adfecc8173 Real i386 version of dllprt0.as file
git-svn-id: trunk@23831 -
2013-03-14 14:15:34 +00:00
pierre
350ae58dc9 Fix error in last commit, include name must be enclosed in double quotes
git-svn-id: trunk@23830 -
2013-03-14 13:58:22 +00:00
pierre
8d8509590f Add dllprt0 for x86_64 (i386 version simply includes cprt0.as)
git-svn-id: trunk@23828 -
2013-03-14 13:50:21 +00:00
pierre
90f4d8ddcd + Add .note.openbsd.ident section, contributed by Pascal Stumpf
git-svn-id: trunk@23685 -
2013-03-03 21:18:20 +00:00
pierre
8d6c5f1ecc Use mmx_support to decide to use xmState or x87state part of sigcontext
git-svn-id: trunk@20784 -
2012-04-11 13:22:58 +00:00
pierre
96f1627c46 * Don't try to read sininfo record
git-svn-id: trunk@20712 -
2012-04-05 20:56:15 +00:00
pierre
ec6e21d15b Make __progname_storage external
git-svn-id: trunk@19448 -
2011-10-10 21:39:39 +00:00
pierre
6bf90dfc7d Fix linking problems for programs using C lib
git-svn-id: trunk@19443 -
2011-10-09 23:16:41 +00:00
pierre
3a4831d924 * Fix linking problems
git-svn-id: trunk@19370 -
2011-10-04 22:21:41 +00:00
pierre
7654fe6aba * Try to update i386/openbsd port
git-svn-id: trunk@19351 -
2011-10-03 23:24:05 +00:00
pierre
f0aa48b083 * Remove use of direct U_UNIT_NAME or TC_UNIT_NAME
symbols in assembler sources.
  Added to corresponding system variables or typed constants a
  public name 'operatingsystem_XXX' alias and used that alias in assembler
  source.

git-svn-id: trunk@18943 -
2011-09-02 12:51:48 +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
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
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +00:00
marco
2e57a62846 * initial version 2004-01-21 20:37:17 +00:00
marco
b12396f527 * working versions, untested 2004-01-20 17:01:42 +00:00