peter
f704ee2d70
* remove duplicate temp allocation for register saving
...
* cleanup register saving code by using a procinfo flag if registers
were saved on the stack
git-svn-id: trunk@9293 -
2007-11-18 22:10:10 +00:00
Jonas Maebe
543faa46ad
* do not inline functions/procedures called with things like "nil^"
...
(that can be passed to a const-by-reference or var parameter,
but leads to errors when inlining)
git-svn-id: trunk@9281 -
2007-11-18 14:29:19 +00:00
peter
05e44101e8
* make call by value stdcall for records and arrays delphi compatible
...
git-svn-id: trunk@9280 -
2007-11-18 12:53:55 +00:00
Jonas Maebe
9f04aad33e
* prefer write({short,ansi,wide}string) over write(chararray) for
...
constant strings
git-svn-id: trunk@9279 -
2007-11-18 09:56:25 +00:00
Jonas Maebe
8f187bf6e2
* fixed r9243: that change should only be applied in case both the
...
parasym and the actual parameter are a shortstring rather than
when at least one isn't a shortstring
git-svn-id: trunk@9275 -
2007-11-17 19:58:19 +00:00
yury
4e3547c7bf
* Improved warning "Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.":
...
- check for procedure and class pointers as well;
- do not warn if typecasted pointer is passed as parameter or directly assigned to a variable.
git-svn-id: trunk@9264 -
2007-11-16 13:52:19 +00:00
Jonas Maebe
c8f270c556
+ darwin/x86_64 gprof support
...
git-svn-id: trunk@9252 -
2007-11-14 20:47:55 +00:00
Jonas Maebe
82cf80d4ca
* added missing tcasenode.derefnode override to process all the
...
case-blocks and the else-block
git-svn-id: trunk@9251 -
2007-11-14 19:40:28 +00:00
Jonas Maebe
2e9db26750
* truncate constant shortstrings at the callee side if they are passed
...
to a value parameter with a shorter length, and if they would not be
implicitly passed by reference (if they are passed by reference, then
the callee will perform a shortstring assign which will do the length
truncation). Fixes tarray3 on x86_64
git-svn-id: trunk@9243 -
2007-11-13 20:21:29 +00:00
Jonas Maebe
9f705776c9
* fixed disabling of inlining procedures/functions with nested
...
procedures/functions
git-svn-id: trunk@9232 -
2007-11-13 18:12:25 +00:00
florian
cfed70d698
* removed garbage at the end
...
git-svn-id: trunk@9207 -
2007-11-11 21:26:44 +00:00
florian
246ae7b446
o from Karl-Michael Schindler:
...
* brought german message file up-to-date
git-svn-id: trunk@9206 -
2007-11-11 21:24:55 +00:00
Jonas Maebe
157fc2a3e9
* use -x instead of -s for stripping executables on darwin (-s worked fine on 10.0,
...
was broken on 10.1, fixed in 10.2 and worked fine till 10.4, and has been
deprecated/removed in 10.5; conversely, -x has worked all the time, although it
results in slightly bigger binaries on platforms that also support -s)
git-svn-id: trunk@9204 -
2007-11-11 19:43:41 +00:00
Jonas Maebe
70c0c2ddd9
* all currently supported platforms require that single precision
...
parameters passed as C-style varargs are upgraded to double
precision
git-svn-id: trunk@9201 -
2007-11-11 18:01:29 +00:00
florian
a5ccf16016
+ disp. var. property setting, resolves #10133 and #9134
...
git-svn-id: trunk@9189 -
2007-11-11 14:14:05 +00:00
Jonas Maebe
defe46ef42
* added missing size suffixes for several sse2 opcodes
...
git-svn-id: trunk@9182 -
2007-11-10 19:57:01 +00:00
Jonas Maebe
c9ce918485
* regenerated for darwin/x86_64
...
git-svn-id: trunk@9181 -
2007-11-10 18:37:19 +00:00
Jonas Maebe
032352d98b
+ darwin/x86_64 support
...
git-svn-id: trunk@9180 -
2007-11-10 18:33:09 +00:00
florian
578c18a204
+ support of <variant>.<id1>.<id2> ... resolves #9233 and partly #10133
...
git-svn-id: trunk@9172 -
2007-11-10 10:08:41 +00:00
florian
8075f99ce9
* define for armel fixed
...
git-svn-id: trunk@9164 -
2007-11-08 21:03:46 +00:00
peter
af9e8b489c
* replace : with ; in AddPath
...
git-svn-id: trunk@9161 -
2007-11-08 08:24:07 +00:00
florian
29766e5d81
+ first additions for the arm eabi
...
git-svn-id: trunk@9157 -
2007-11-07 20:48:32 +00:00
florian
8a2ab85bc2
+ armel support with FPC_ARMEL define
...
+ armel linker script
git-svn-id: trunk@9156 -
2007-11-07 20:45:27 +00:00
florian
7a4c469eb2
* more generic definition of abi define
...
git-svn-id: trunk@9155 -
2007-11-07 20:44:33 +00:00
florian
ed75834533
+ eabi and armeb abi constants
...
+ abi2str array
git-svn-id: trunk@9154 -
2007-11-07 20:43:31 +00:00
sekelsenmat
6569d491a1
Added symbian target to the compiler messages
...
git-svn-id: trunk@9149 -
2007-11-07 19:42:55 +00:00
Jonas Maebe
ed7511de58
* safeguard the nf_block_with_exit flag when simplifying blockn and
...
statementn + test
git-svn-id: trunk@9134 -
2007-11-04 18:33:07 +00:00
Károly Balogh
8674e35f45
* removed a_call_reg hack, not needed after peter's latest fix
...
git-svn-id: trunk@9130 -
2007-11-04 15:27:31 +00:00
peter
263b7abc6f
* check register type also for registers in references so we are
...
not mixing addressregisters and intregisters on m68k
git-svn-id: trunk@9128 -
2007-11-04 14:24:36 +00:00
Károly Balogh
14f958682c
+ first attempt to implement a_call_reg
...
+ various other changes
git-svn-id: trunk@9127 -
2007-11-04 01:40:02 +00:00
florian
6ac5ed6a47
* store character constants converted to shortstrings unaligned
...
git-svn-id: trunk@9106 -
2007-11-03 16:07:18 +00:00
yury
40c3092b99
* Fixed compilation.
...
git-svn-id: trunk@9094 -
2007-11-03 09:51:45 +00:00
yury
13d948c07b
* Fixed: import Address Table should contain the same data as Import Lookup Table.
...
* Perform import by name with index as hint, if both import name and import index are specified.
* Fixed import by ordinal when external linker is used.
* Fixed some warnings and notes.
git-svn-id: trunk@9083 -
2007-11-02 23:07:15 +00:00
florian
d9e0f078e1
* continued to play around with package support
...
git-svn-id: trunk@9075 -
2007-11-02 22:26:43 +00:00
florian
965bb41288
* fixed more rex placements
...
git-svn-id: trunk@9069 -
2007-11-02 21:30:43 +00:00
peter
676f477ddb
* remove obsolete scripts
...
git-svn-id: trunk@9068 -
2007-11-02 21:21:56 +00:00
florian
4fed8c4ab5
+ write aliasnames to ppu as well
...
+ ppudump updated
* ppu version increased
git-svn-id: trunk@9064 -
2007-11-02 20:50:01 +00:00
Jonas Maebe
e716ac6b6b
* give ord->formaldef again a higher precedence than ord->floatdef
...
(last convert level that is added, needs a more structural
solution)
git-svn-id: trunk@9057 -
2007-11-02 11:17:11 +00:00
florian
01fd678211
+ basic parsing of package files
...
+ basic implementation of creation of packages
git-svn-id: trunk@9054 -
2007-11-01 23:20:28 +00:00
Károly Balogh
1536e9e65b
+ de-uglified the previous hack
...
+ made Amiga syscalls to save/restore the frame pointer (do we really need a frame pointer?)
+ some disabled debug comments (to asm source)
+ compiler is now able to generate some VERY basic, but working Amiga-m68k executables
git-svn-id: trunk@9051 -
2007-11-01 19:31:58 +00:00
Jonas Maebe
e621b30af8
* remove procedures with var/out parameters which are supposed to
...
be passed a constant expression from the overload candidates
git-svn-id: trunk@9050 -
2007-11-01 16:27:41 +00:00
Károly Balogh
12bcb539e6
+ fix(?) stack return address with an ugly hack...
...
git-svn-id: trunk@9047 -
2007-11-01 16:04:16 +00:00
Károly Balogh
91abb3aeb9
+ first (failed) attempt to have a working stackframe generation
...
git-svn-id: trunk@9040 -
2007-11-01 14:16:17 +00:00
Jonas Maebe
ad5ce1adf4
* fixed a_load_reg_ref: the store size has to depend on the tosize,
...
not on the fromsize (fixes webtbs/tw10072, and hopefully also
resolves mantis #8121 )
git-svn-id: trunk@9037 -
2007-11-01 13:31:23 +00:00
florian
5bdea6b5b3
* avoid generation of __stklen if not necessary
...
git-svn-id: trunk@9029 -
2007-11-01 10:28:49 +00:00
Károly Balogh
8562910185
+ quick hack to have linker support for amiga/m68k (it produces some kind of binary at least)
...
git-svn-id: trunk@9024 -
2007-11-01 00:22:47 +00:00
florian
90af7ebf72
* use only windows exceptions for stack checking on win32/win64, resolves #9166
...
git-svn-id: trunk@9020 -
2007-10-31 23:19:48 +00:00
yury
22c1f6381d
* Fixed cross CPU cycle after changes in rev. 8911.
...
git-svn-id: trunk@9018 -
2007-10-31 22:44:25 +00:00
Károly Balogh
b91c0756c4
+ made m68k to compile system unit again
...
git-svn-id: trunk@9017 -
2007-10-31 22:33:00 +00:00
florian
e3a0f3d303
* updates from Ido Kanner
...
git-svn-id: trunk@9016 -
2007-10-31 19:55:37 +00:00