Commit Graph

55778 Commits

Author SHA1 Message Date
marcus
c6276ab42e Fixed compilation after r41795
git-svn-id: trunk@41796 -
2019-03-26 15:47:08 +00:00
michael
2669b68e6d * Added move on TCollection (bug ID 32673)
git-svn-id: trunk@41795 -
2019-03-26 07:03:24 +00:00
michael
fe16b5d3d5 * Fix from Inoussa OUEDRAOGO to fix reading binary data (bug ID 35274)
git-svn-id: trunk@41794 -
2019-03-26 06:39:49 +00:00
michael
b344934fcb * Logging added completely
git-svn-id: trunk@41792 -
2019-03-24 18:46:23 +00:00
nickysn
28bb38cc12 - removed syscall_nr_getdirentries from the OpenBSD rtl, since this syscall is no longer
supported by OpenBSD and shouldn't be used at all

git-svn-id: trunk@41791 -
2019-03-24 16:51:05 +00:00
nickysn
aa3d13dd4a - removed the FPC_USE_GETDIRENTRIES_SYSCALL define and use_getdirentries_syscall
global variable, they are compatibility flags of a no longer supported OpenBSD version

git-svn-id: trunk@41790 -
2019-03-24 16:30:50 +00:00
nickysn
ede50a2c4f - get rid of the FPC_USE_GETDIRENTRIES_I49_SYSCALL define and the
use_openbsd_getdirentries_49 global variable - both are compatibility features
  for a no longer supported OpenBSD version

git-svn-id: trunk@41789 -
2019-03-24 16:12:30 +00:00
Mattias Gaertner
c1224f0705 pas2js: fixed rtl.js
git-svn-id: trunk@41788 -
2019-03-24 11:00:50 +00:00
michael
744c331330 * Fix build
git-svn-id: trunk@41787 -
2019-03-24 09:58:40 +00:00
michael
78c074bb74 * Connection management, start of logging
git-svn-id: trunk@41786 -
2019-03-24 09:38:15 +00:00
michael
ffea4d3b38 * Unicode test program using UnicodeString
git-svn-id: trunk@41785 -
2019-03-24 08:47:16 +00:00
michael
79bf26ac4b * Patch from Bart Broersma to make TRegistry unicode-capable
git-svn-id: trunk@41784 -
2019-03-24 08:31:17 +00:00
nickysn
9a18543324 * cleaned up most of the obsolete OpenBSD syscall numbers
git-svn-id: trunk@41783 -
2019-03-23 20:35:03 +00:00
nickysn
dab661cfc6 * switch syscall_nr_kill on OpenBSD to be using the 5.9+ syscall version
git-svn-id: trunk@41781 -
2019-03-23 04:23:15 +00:00
nickysn
41c753d7e7 * updated OpenBSD syscall numbers to version 6.4
git-svn-id: trunk@41780 -
2019-03-23 04:20:55 +00:00
nickysn
b32e54152a * updated OpenBSD syscall numbers to version 6.3
git-svn-id: trunk@41779 -
2019-03-23 04:19:07 +00:00
nickysn
89a40d5cf9 * updated OpenBSD syscall numbers for version 6.2
git-svn-id: trunk@41778 -
2019-03-23 04:17:35 +00:00
nickysn
14701521a1 * updated OpenBSD syscalls for version 6.1
git-svn-id: trunk@41777 -
2019-03-23 04:14:11 +00:00
nickysn
475ecdb2dc * updated OpenBSD syscall numbers to version 6.0
git-svn-id: trunk@41776 -
2019-03-23 04:12:51 +00:00
nickysn
72aec7c072 * updated OpenBSD syscall numbers to version 5.9
git-svn-id: trunk@41775 -
2019-03-23 04:06:14 +00:00
nickysn
259e3f9f63 * updated OpenBSD syscall numbers for OpenBSD 5.8
git-svn-id: trunk@41774 -
2019-03-23 03:55:47 +00:00
nickysn
828da99388 * updated syscall numbers for OpenBSD 5.7
git-svn-id: trunk@41773 -
2019-03-23 01:54:20 +00:00
nickysn
cee76bda5c + added comments about some retired syscall numbers, with the last supported
version. This is checked against OpenBSD versions 2.0 to 5.6, like the comment
  in the beginning of the file says (and the ones in this commit were missed).

git-svn-id: trunk@41772 -
2019-03-23 01:46:21 +00:00
joost
bb59e762c3 * Added version-option to usage-information
git-svn-id: trunk@41771 -
2019-03-22 23:06:09 +00:00
svenbarth
f7817d25ff * parameter type needs to be Nil for formal parameters (Delphi compatible)
* adjusted test trtti15
+ added test trtti19

git-svn-id: trunk@41770 -
2019-03-22 22:29:20 +00:00
nickysn
04ee584a7d - removed FPC 1.0.x bootstrapping compatibility ifdef from OpenBSD RTL Makefile
git-svn-id: trunk@41769 -
2019-03-22 17:35:35 +00:00
pierre
128982a5bc Explicitly set values inside TestDataSize procedure to avoid range check errors as values are copied when TValue.Make is called
git-svn-id: trunk@41768 -
2019-03-22 14:27:41 +00:00
pierre
8750dba952 Fix tkBool in class method TValue.Make
git-svn-id: trunk@41767 -
2019-03-22 14:26:39 +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
b4baba3454 * fixed the haltproc for shared libs
git-svn-id: trunk@41763 -
2019-03-21 23:37:47 +00:00
nickysn
01669ebf70 * use the actual _haltproc procedure, defined in the startup code on OpenBSD
* fixed the x86_64 syscall invocation in the OpenBSD _haltproc

git-svn-id: trunk@41762 -
2019-03-21 18:16:23 +00:00
nickysn
7638a9b7e1 - removed commented out gprof code from si_c.inc
git-svn-id: trunk@41761 -
2019-03-21 17:37:37 +00:00
nickysn
8f8aa70074 + OpenBSD i386 and x86_64 support in tcgx86.g_profilecode
git-svn-id: trunk@41760 -
2019-03-21 17:09:21 +00:00
nickysn
85fdd37cac + support creating linker map files (with the -Xm option) on *BSD
git-svn-id: trunk@41759 -
2019-03-21 13:54:15 +00:00
nickysn
1f9b5d143e * call _monstartup instead of monstartup
git-svn-id: trunk@41758 -
2019-03-21 13:28:18 +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
261114ff32 + introduce the $OPENBSD_LOCALBASE and $OPENBSD_X11BASE pseudo variables; these
may now be used in fpc.cfg, etc. They evaluate to /usr/local and /usr/X11R6 by
  default, but may optionally be overriden via the LOCALBASE and X11BASE
  environment variables.
* use the new $OPENBSD_LOCALBASE and $OPENBSD_X11BASE variables in the default
  library search path on OpenBSD

git-svn-id: trunk@41755 -
2019-03-20 17:03:11 +00:00
nickysn
bb911e2f01 - unused local variable removed
git-svn-id: trunk@41754 -
2019-03-20 16:26:38 +00:00
nickysn
f15c2db4b2 * moved some C type declarations to si_intf.inc
git-svn-id: trunk@41753 -
2019-03-20 16:23:34 +00:00
nickysn
fb3d287971 * fixed OpenBSD shared library initialization
git-svn-id: trunk@41752 -
2019-03-20 16:09:07 +00:00
nickysn
52a5669117 + enable weak externals for OpenBSD
* converted the reference to _init in si_dll to be a weak external. This way we
  can support creating shared libraries that link to the C library as well as
  libraries that do not. If libc was linked, the compiler will link in
  crtbeginS.o and crtendS.o; _init is defined in crtbeginS.o and initializes the
  C library and calls all the C static constructors.

git-svn-id: trunk@41751 -
2019-03-20 15:13:47 +00:00
nickysn
aad032f133 * converted _FPC_proc___start in OpenBSD's si_dll.inc to pascal
git-svn-id: trunk@41750 -
2019-03-20 14:55:35 +00:00
michael
a0c433b171 * Too much committed
git-svn-id: trunk@41749 -
2019-03-19 21:44:12 +00:00
michael
409ca963ca * Patch from inoussa to publish stretch for shape
git-svn-id: trunk@41748 -
2019-03-19 21:43:15 +00:00
marcus
282f4a6972 AROS, AmigaOS4: unified ASL unit for all amiga-likes
git-svn-id: trunk@41747 -
2019-03-19 20:48:43 +00:00
nickysn
fb793ff251 - comment out more unused gprof code
git-svn-id: trunk@41746 -
2019-03-19 18:32:54 +00:00
nickysn
2960399f9a * call c_exit directly in case PASCALMAIN finishes, to avoid inline asm entirely
in the _FPC_proc___start routine in the libc version of the OpenBSD startup
  code for x86_64

git-svn-id: trunk@41745 -
2019-03-19 18:28:20 +00:00
nickysn
4715ad605b - don't export the ___start symbol in the OpenBSD startup code
git-svn-id: trunk@41744 -
2019-03-19 17:40:46 +00:00