Jonas Maebe
0ac6e82c1f
* fixed handling of directories with spaces for LdSupportsNoResponseFile-
...
targets (a.o. darwin) in case no ppas.sh is generated (need to generate
a temporary script in that case as well to use the IFS trick)
* fixed exit code checking of ld when using IFS trick (have to check it
before restoring IFS, otherwise we check the "error result" of this
restoration, which will always be 0)
git-svn-id: trunk@9325 -
2007-11-24 18:06:01 +00:00
Jonas Maebe
d8d393e802
- no longer pass "-read_only_relocs suppress" to the darwin linker when
...
compiling shared libraries as we no longer generate relocations in
read-only sections
git-svn-id: trunk@9323 -
2007-11-24 16:43:47 +00:00
florian
f6e9d133ab
+ x86_64 units for lazarus
...
git-svn-id: trunk@9321 -
2007-11-24 09:21:25 +00:00
Jonas Maebe
b4b069908f
- removed some unnecessary cg. prefixes when calling tcg methods
...
from inside other tcg methods
git-svn-id: trunk@9315 -
2007-11-22 09:03:35 +00:00
Jonas Maebe
80b8494b5c
* fixed wrong unaligned() changes
...
git-svn-id: trunk@9303 -
2007-11-20 12:15:47 +00:00
Jonas Maebe
3b4eba9f86
* fixed handling of unaligned in assignments
...
git-svn-id: trunk@9302 -
2007-11-20 11:59:15 +00:00
peter
cc77ccb52e
* don't use readdata for getbyte/getword/getlongint
...
git-svn-id: trunk@9300 -
2007-11-19 22:52:58 +00:00
peter
241c65d5ec
* optimize fixpath, findfile to not require temp ansistrings
...
* check for verbosity for V_Tried level messages, patches from Sergei Gorelkin
git-svn-id: trunk@9297 -
2007-11-19 22:24:52 +00:00
peter
cb24c78d4d
* typecast to tenumreg before updating usedregs to prevent varset usage, patch from Sergei Gorelkin
...
git-svn-id: trunk@9296 -
2007-11-19 22:22:25 +00:00
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