Commit Graph

21933 Commits

Author SHA1 Message Date
Almindor
8924d3f37a * linux-i386 uses new_select now too
git-svn-id: trunk@2884 -
2006-03-12 13:03:33 +00:00
florian
ae64fc524b * fixed mutex constants
git-svn-id: trunk@2883 -
2006-03-12 11:45:34 +00:00
florian
246eb14e95 * fixed widestring lib on solaris
git-svn-id: trunk@2882 -
2006-03-12 10:09:41 +00:00
florian
5671bf276c * fixed solaris signal handling
git-svn-id: trunk@2881 -
2006-03-12 09:54:02 +00:00
Jonas Maebe
693412e70c * removed "inline" directive from TGNUAssembler.WriteInstruction
because it triggers an internalerror when loading the nodetree
    for that method from the ppu file

git-svn-id: trunk@2880 -
2006-03-11 23:29:47 +00:00
marco
78cbcf8579 * fix for 4698
git-svn-id: trunk@2878 -
2006-03-11 23:12:24 +00:00
Jonas Maebe
09a3bbfc07 * fixed previous commit
git-svn-id: trunk@2877 -
2006-03-11 22:53:41 +00:00
Jonas Maebe
7b5ee7342a * fixed wrong generation of teardown of stackframe on i386-darwin
in case no stackframe was generated (in case no pi_do_call in
    current_procinfo.flags)

git-svn-id: trunk@2876 -
2006-03-11 22:38:28 +00:00
Jonas Maebe
638b2ecb2b * fix dynamic library compilation on darwin (both i386 and ppc)
git-svn-id: trunk@2875 -
2006-03-11 22:31:56 +00:00
marco
fad4e25b39 * fix for 4831
git-svn-id: trunk@2873 -
2006-03-11 22:21:30 +00:00
Jonas Maebe
5f0f08dd18 * fixed calling cdecl functions which return a large record with
use_fixed_stack on i386

git-svn-id: trunk@2872 -
2006-03-11 22:12:20 +00:00
Jonas Maebe
659d3e106d * fixed alignment of double, extended, int64 and qword on i386-darwin
git-svn-id: trunk@2870 -
2006-03-11 22:01:11 +00:00
marco
eb5d494b12 * fix for double-write bug, probably in since r1353
git-svn-id: trunk@2869 -
2006-03-11 21:33:51 +00:00
Jonas Maebe
7a22c36200 * with debug info
git-svn-id: trunk@2868 -
2006-03-11 21:21:38 +00:00
Jonas Maebe
d36a518a2f + added cpu unit for i386-darwin
git-svn-id: trunk@2867 -
2006-03-11 21:15:45 +00:00
Jonas Maebe
3765a9bbb8 * fixed set_first_temp_offset for use_fixed_stack
git-svn-id: trunk@2866 -
2006-03-11 21:08:04 +00:00
Jonas Maebe
8ef01e93c1 * another use_fixed_stack fix
git-svn-id: trunk@2865 -
2006-03-11 20:48:58 +00:00
florian
1286df274a + sunos
git-svn-id: trunk@2864 -
2006-03-11 20:43:24 +00:00
florian
4be2b9411e + support for ar scripts, from Yury Sidorov
git-svn-id: trunk@2863 -
2006-03-11 16:53:10 +00:00
Jonas Maebe
431cead7a2 * more disabling of interrupt code for i386-darwin
git-svn-id: trunk@2862 -
2006-03-11 15:10:20 +00:00
marco
7e963e7f3e * fix for Marc Santhoffs problems
git-svn-id: trunk@2860 -
2006-03-11 15:04:28 +00:00
Jonas Maebe
d222c49740 + compile mmx unit for i386-darwin
git-svn-id: trunk@2859 -
2006-03-11 15:04:03 +00:00
marco
a84d1172b5 * fix for 4827
git-svn-id: trunk@2858 -
2006-03-11 14:59:17 +00:00
Jonas Maebe
e7112c6636 * ignore po_interrupt for i386-darwin since it messes up stack alignment
git-svn-id: trunk@2857 -
2006-03-11 14:30:02 +00:00
Jonas Maebe
83b1c3736a * fixed assembler version of fpc_AnsiStr_Decr_Ref (based on remark
from Martin Schreiber)

git-svn-id: trunk@2856 -
2006-03-11 14:16:11 +00:00
Jonas Maebe
4ed39b0c16 * don't explicitly us NR_F0 in concatcopy but ask a register from
the register allocator (since NR_F0 can also be used by the ra)

git-svn-id: trunk@2855 -
2006-03-11 14:13:47 +00:00
Jonas Maebe
20160f1a35 * fixed a_param_ref for large parameters
git-svn-id: trunk@2854 -
2006-03-11 13:54:20 +00:00
Jonas Maebe
6e58ad4a12 * set firsttempoffset properly for use_fixed_stack
git-svn-id: trunk@2853 -
2006-03-11 13:54:03 +00:00
Jonas Maebe
15270b67be - disabled assembler ansistring helpers for darwin/x86 because they don't
keep 16 byte stack alignment

git-svn-id: trunk@2852 -
2006-03-11 13:18:28 +00:00
Jonas Maebe
988f689445 * fixed compilation
git-svn-id: trunk@2851 -
2006-03-11 09:30:09 +00:00
Jonas Maebe
586f96698d + darwin-i386 versions
git-svn-id: trunk@2850 -
2006-03-11 00:16:51 +00:00
Jonas Maebe
269fe67263 + i386-darwin support
git-svn-id: trunk@2849 -
2006-03-11 00:14:19 +00:00
Jonas Maebe
a90e3b3e1d * fixed argc/argv/envp catching for darwin/x86 (not really nice, but
works)

git-svn-id: trunk@2848 -
2006-03-10 23:45:37 +00:00
Jonas Maebe
fad5d59bd9 * turned {$ifdef cputargethasfixedstack} into "if use_fixed_stack"
* fixed i386 parameter passing of function calls nested in parameters
    of functions which also need the stack to pass poarameters

git-svn-id: trunk@2847 -
2006-03-10 23:44:04 +00:00
Jonas Maebe
41eba7dffe * properly calculate the value to add to esp at the end of a function
without framepointer
  * use generic save/restore exception reason code for use_fixed_stack

git-svn-id: trunk@2846 -
2006-03-10 22:34:11 +00:00
Jonas Maebe
7c9cfe5e06 * fixed tests/test/cg/tformfnc.pp
git-svn-id: trunk@2844 -
2006-03-10 21:18:21 +00:00
Jonas Maebe
52d95a8abc + added
git-svn-id: trunk@2843 -
2006-03-10 20:59:45 +00:00
joost
5f801f2b42 * Implemented TBufDataset.Packetrecord
git-svn-id: trunk@2842 -
2006-03-10 20:46:48 +00:00
Jonas Maebe
01bfed76e3 + support for passing parameters via pre-allocated stack space on i386
(override/adjust cgutils.use_fixed_stack to change conditions where
     this is done, currently only activated for darwin-i386)
  * make sure the stack is always aligned to 16 bytes on darwin-i386

git-svn-id: trunk@2841 -
2006-03-10 20:01:16 +00:00
Jonas Maebe
9de2847865 + support for passing parameters via pre-allocated stack space on i386
(override/adjust cgutils.use_fixed_stack to change conditions where
     this is done, currently only activated for darwin-i386)
  * make sure the stack is always aligned to 16 bytes on darwin-i386

git-svn-id: trunk@2840 -
2006-03-10 19:59:44 +00:00
peter
86a15e83e9 * fix section flags for stabs
git-svn-id: trunk@2838 -
2006-03-10 18:35:17 +00:00
peter
f893e5ab6c * updated
git-svn-id: trunk@2836 -
2006-03-10 15:21:16 +00:00
peter
9d96f32bdc * remove resourcestring tables
git-svn-id: trunk@2835 -
2006-03-10 15:20:35 +00:00
Károly Balogh
314e1672b7 + fixed m68k for latest changes
git-svn-id: trunk@2834 -
2006-03-10 14:23:08 +00:00
peter
a6c5ca657f * Win32Check compatibility
git-svn-id: trunk@2832 -
2006-03-10 14:21:12 +00:00
peter
0a0659da77 * compile fixes
git-svn-id: trunk@2826 -
2006-03-10 09:39:08 +00:00
florian
5ece7cbc2f * first part of x86-64 assembler
git-svn-id: trunk@2824 -
2006-03-09 22:05:16 +00:00
Almindor
a365a18fe2 * Fixes a crash with epoll_event / epoll_data records
git-svn-id: trunk@2823 -
2006-03-09 20:35:38 +00:00
Jonas Maebe
1578af214a * darwin/i386 doesn't use function-relative addresses for stabs
git-svn-id: trunk@2822 -
2006-03-09 18:38:01 +00:00
Jonas Maebe
7cdf9bbaac * moved the indirect symbol stuff from nppcld to cgobj and ncgld, since
darwin/x86 needs the same code
  - removed now empty nppcld unit

git-svn-id: trunk@2821 -
2006-03-09 18:27:11 +00:00