Commit Graph

12599 Commits

Author SHA1 Message Date
florian
7a86d10b05 * implemented (Inter)locked* functions properly for sparc64
git-svn-id: trunk@37189 -
2017-09-11 20:06:24 +00:00
marco
b6824290fc * initial fileflush, mantis #15824
git-svn-id: trunk@37135 -
2017-09-03 16:41:32 +00:00
michael
3787d52dee * Fix bug ID #32353, reset ref count fields in destructor
git-svn-id: trunk@37112 -
2017-09-02 15:07:23 +00:00
svenbarth
5c97248f85 + also write the set's size to the RTTI as that simplifies handling in Invoke()
git-svn-id: trunk@37090 -
2017-08-31 19:23:12 +00:00
pierre
e325284160 Fix compilation failure for systems that do not have dynlibs
git-svn-id: trunk@37056 -
2017-08-25 07:28:35 +00:00
michael
a4c4ce1764 * Capture result in SafeLoadLibrary
git-svn-id: trunk@37050 -
2017-08-24 09:27:49 +00:00
michael
b6700f68b8 * Fix bug #32314 (SafeLoadLibrary does nothing on other platforms than windows)
git-svn-id: trunk@37049 -
2017-08-24 08:46:07 +00:00
pierre
cc87746fb0 Add missing .comm for environ and operatingsystem_parameter_{envp|argc|argv}
git-svn-id: trunk@37044 -
2017-08-23 11:16:19 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
3c5011aedc macos: patched up the system unit to build at least on m68k
git-svn-id: trunk@37031 -
2017-08-22 10:51:39 +00:00
Károly Balogh
f4a8a29aea m68k: try to restore compilability with a 3.0 compiler
git-svn-id: trunk@37026 -
2017-08-22 09:05:20 +00:00
pierre
048991f670 Regenerated after: Add units and rules required for some packages
git-svn-id: trunk@37018 -
2017-08-21 14:37:40 +00:00
pierre
214d3d3902 Add units and rules required for some packages
git-svn-id: trunk@37017 -
2017-08-21 14:37:25 +00:00
pierre
efafecbf9f Also use .byte version of emms instruction
git-svn-id: trunk@37011 -
2017-08-21 13:47:47 +00:00
pierre
239b623027 Fix typo in last commit
git-svn-id: trunk@37010 -
2017-08-21 13:37:54 +00:00
pierre
d1e091d5a3 Use .byte substitutes for ldmxcsr and stmxcsr instructions
if OLD_ASSEMBLER macro is defined.

  Do not use PIC code for fpc_exp_real if OLD_ASSEMBLER is defined
  (this generates unsupported relocations for GNU assembler 2.6 used by EMX)

git-svn-id: trunk@37009 -
2017-08-21 13:29:29 +00:00
pierre
df7946a9cc * Do not use fastmove.inc if OLD_ASSEMBLER is defined,
as older assembler do not support 64-bit instructions use in there.
    * Use .byte substitutes for ldmxcsr and movaps instructions

git-svn-id: trunk@37008 -
2017-08-21 13:26:44 +00:00
pierre
b416fa79bf Add explicit rules for all units
git-svn-id: trunk@37007 -
2017-08-21 13:14:19 +00:00
pierre
b54e3bea6a Add OLD_ASSEMBLER macro to circumvent limitation of 2.6 GNU assembler used for EMX
git-svn-id: trunk@37006 -
2017-08-21 13:13:41 +00:00
florian
50fab14389 * TIOCtlRequest is 64 bit on sparc64
git-svn-id: trunk@36946 -
2017-08-20 15:21:50 +00:00
svenbarth
c45f738081 * fix DynArrayIndex(): as the last typeinfo entry is no longer a dynamic array the elSize needs to be remembered
git-svn-id: trunk@36942 -
2017-08-20 15:15:25 +00:00
michael
2ac3610048 * Better presentation of arguments (bug ID 32275)
git-svn-id: trunk@36923 -
2017-08-16 07:20:48 +00:00
marcus
a0aaa69c0f Amicommon: implemented BasicEvents in AThreads
git-svn-id: trunk@36905 -
2017-08-14 19:52:16 +00:00
Károly Balogh
4e845f12cb macos: made the RTL build completely pass through at least on the pascal level, without assembling
git-svn-id: trunk@36888 -
2017-08-12 21:02:14 +00:00
svenbarth
aacea142de * also fix compilation of macutils unit after macutils.inc had been changed
git-svn-id: trunk@36882 -
2017-08-12 13:40:41 +00:00
Károly Balogh
fa9a34f738 macos: build fixes (powerpc), system unit at least should build now, after an IE in the MPW assembler writer is fixed
git-svn-id: trunk@36880 -
2017-08-12 12:12:40 +00:00
svenbarth
187ebc6821 * adjust/update guard against older compiler versions
git-svn-id: trunk@36876 -
2017-08-12 08:17:07 +00:00
svenbarth
8b5461367b * move TTypeKind from TypInfo unit to System unit as it's necessary for the future GetTypeKind() intrinsic
* also adjust (P)Byte usages to (P/T)TypeKind where necessary/approbiate

git-svn-id: trunk@36873 -
2017-08-11 20:37:36 +00:00
svenbarth
5deca8ed7b * copy and include rttih.inc (even though the functions are not available currently)
git-svn-id: trunk@36872 -
2017-08-11 20:28:51 +00:00
pierre
2ccf7682b5 Fix RTL compilation of wii OS (with -Sfresources only)
git-svn-id: trunk@36869 -
2017-08-11 15:44:07 +00:00
pierre
d5b314ca52 Fix EMX rtl compilation
git-svn-id: trunk@36864 -
2017-08-08 22:36:16 +00:00
Károly Balogh
fed07e6643 m68k-palmos: yet another broken-over-a-decade platform build fixed
git-svn-id: trunk@36863 -
2017-08-08 19:10:27 +00:00
Károly Balogh
5f2dce07d3 m68k-palmos: skeleton for a recent system unit
git-svn-id: trunk@36862 -
2017-08-08 19:09:23 +00:00
Károly Balogh
914ac30919 netbsd/powerpc: made it to build at least. resulting executables probably still crash & burn
git-svn-id: trunk@36859 -
2017-08-08 14:31:57 +00:00
marco
d98065d706 * change external name of wait to wait instead of waitpid. Reported
by Toshihiko Okuhara, mantis #32288

git-svn-id: trunk@36858 -
2017-08-08 10:56:54 +00:00
pierre
5718fba573 Partial fix for symbian rtl Makefile problems
git-svn-id: trunk@36855 -
2017-08-07 08:46:06 +00:00
pierre
82aa8c4d2f Use REPE prefix instead of REP before CMPS{B,W,L} instruction (wasm generates an error for REP)
git-svn-id: trunk@36854 -
2017-08-05 19:50:18 +00:00
pierre
38704411b2 Define conditional FASTMOVE_DISABLE_SSE3 to discard SSE specific code, needed for Watcom Assembler support
git-svn-id: trunk@36849 -
2017-08-04 20:53:09 +00:00
pierre
f4ecf87a50 Add conditional FASTMOVE_DISABLE_SSE3 to be able to discard SSE specific code, needed for Watcom Assembler support
git-svn-id: trunk@36848 -
2017-08-04 20:51:58 +00:00
pierre
42bfa3967c Fix compilation of sysutils unit
git-svn-id: trunk@36844 -
2017-08-04 15:10:05 +00:00
pierre
ee4956be40 Define FPC_ANSI_TEXTFILEREC for watcom OS
git-svn-id: trunk@36843 -
2017-08-04 14:58:58 +00:00
pierre
afab9524f2 Add missing SharedSuffix constant to system unit
git-svn-id: trunk@36841 -
2017-08-04 14:17:28 +00:00
pierre
a07d649343 Fix compilation of sysutils unit for netware
git-svn-id: trunk@36840 -
2017-08-04 14:13:39 +00:00
pierre
1aab7e7ee2 Fix compilation of netware system unit
git-svn-id: trunk@36838 -
2017-08-04 13:51:07 +00:00
pierre
5dec40d089 Add more CPU options to embedded/rtl.cfg
git-svn-id: trunk@36836 -
2017-08-04 13:38:07 +00:00
pierre
987dd2754c Add explicit object file name (required when using linux wasm executable, for which default object extension is .o not .obj
git-svn-id: trunk@36835 -
2017-08-04 13:26:17 +00:00
pierre
4626db1814 Adapt to DoDirSeparators declaration change
git-svn-id: trunk@36834 -
2017-08-04 13:25:16 +00:00
pierre
d7cdbcd71e m68k CPU also needs -SfSOFTFPU option
git-svn-id: trunk@36833 -
2017-08-04 13:09:37 +00:00
pierre
7966957ec9 Add configuration options for i8086 and m68k CPUs
git-svn-id: trunk@36832 -
2017-08-04 12:56:15 +00:00
pierre
db00b1e554 Fix two obvious compilation errors
git-svn-id: trunk@36831 -
2017-08-04 12:26:24 +00:00