Jonas Maebe
a8191abd16
* fixed parsing of "rcl/rcr rm,imm" (mantis #9025 )
...
git-svn-id: trunk@8272 -
2007-08-12 13:50:52 +00:00
Jonas Maebe
12791bf4f1
* avoid spurious uninitialised warnings about array elements used as
...
for-loop counters
git-svn-id: trunk@8270 -
2007-08-12 13:19:30 +00:00
Jonas Maebe
097c2db374
* make sure warnings/hints in set_varstate are always given at the
...
correct position
git-svn-id: trunk@8269 -
2007-08-12 13:18:39 +00:00
Jonas Maebe
3f701c96d4
* explicitly check for stringconstn next to stringdef in nadd, because
...
a stringconstn is often an arraydef. The result is that they again
get the same typeconversion behaviour as string variables, which is
important in case of overloaded operators (#9021/#9026)
git-svn-id: trunk@8268 -
2007-08-12 11:31:19 +00:00
Jonas Maebe
9c90a93932
* fixed bug which caused SSA to be less effective for integer
...
registers on 64 bit cpus
git-svn-id: trunk@8253 -
2007-08-09 11:57:52 +00:00
yury
e7ef9757c9
* Corrected comment.
...
git-svn-id: trunk@8252 -
2007-08-09 10:33:18 +00:00
Jonas Maebe
e205481027
* fixed sparc bootstrap
...
* use -Av9 assembler option so it accepts the memory barrier opcodes
git-svn-id: trunk@8244 -
2007-08-08 09:48:37 +00:00
Jonas Maebe
98ad33a0c7
+ added lwsync instruction to the compiler
...
* fixed compilation of ReadDependencyBarrier
git-svn-id: trunk@8243 -
2007-08-08 09:15:48 +00:00
micha
d95b9082bb
* add memory barrier prototypes + implementation for i386 and sparc + use lwsync for powerpc64
...
git-svn-id: trunk@8240 -
2007-08-07 20:37:08 +00:00
peter
2e9968d46c
* arrays always by addr
...
git-svn-id: trunk@8232 -
2007-08-06 19:44:25 +00:00
peter
f5d5e377d2
* fix linux x86_64 for records and arrays
...
git-svn-id: trunk@8224 -
2007-08-05 19:38:21 +00:00
Jonas Maebe
881f884f4c
* also pass -arch parameter when creating bundles
...
git-svn-id: trunk@8223 -
2007-08-05 11:05:20 +00:00
Jonas Maebe
4cdd590091
* use app_type instead of RelocSection for creating bundles, as
...
RelocSection is automatically set for all shared libraries
git-svn-id: trunk@8219 -
2007-08-04 09:13:34 +00:00
Jonas Maebe
84ddacd017
+ support for creating a bundle instead of a library on Darwin (-Wb)
...
git-svn-id: trunk@8217 -
2007-08-03 12:42:49 +00:00
Jonas Maebe
f1f1299e97
* generalised -W description to "target-specific options"
...
* mention for each -W option to which targets it applies
* show all available -W options for all target architectures they apply to
* reworded some option descriptions
* all option descriptions now start with a capital for consistency
git-svn-id: trunk@8216 -
2007-08-03 12:13:27 +00:00
peter
4e6c57b9ee
* cleanup x86_64 structures in registers
...
git-svn-id: trunk@8214 -
2007-08-02 20:46:48 +00:00
Jonas Maebe
fc70aa545c
* changed boolean fields in ttempinfo to a set for easier
...
extensibility without increasing the size of the record
git-svn-id: trunk@8199 -
2007-07-29 19:37:06 +00:00
Jonas Maebe
70886d0152
* now also disable use8byteconcatcopy by default
...
git-svn-id: trunk@8197 -
2007-07-29 19:09:12 +00:00
florian
70b0bd1c5d
* throw better error when variable values are used as typed consts, resolves #9333
...
git-svn-id: trunk@8188 -
2007-07-29 14:29:19 +00:00
Jonas Maebe
ceeac6e8e4
* don't use 8 byte copies in concatcopy by default, because
...
a misaligned 8 byte load/store is much more expensive than
a misaligned 4 byte load/store
git-svn-id: trunk@8182 -
2007-07-28 15:47:04 +00:00
Jonas Maebe
661c2eba37
* clean up of previous fix
...
git-svn-id: trunk@8177 -
2007-07-28 10:48:12 +00:00
Jonas Maebe
4b62d5e43d
* only create PASCALFINALIZE for programs and libraries
...
git-svn-id: trunk@8176 -
2007-07-28 10:47:31 +00:00
marco
727b68c9b0
* small fix for OS X related typo.
...
git-svn-id: trunk@8175 -
2007-07-28 10:09:23 +00:00
florian
4151029ee5
+ .fini section support
...
git-svn-id: trunk@8174 -
2007-07-28 08:40:10 +00:00
tom_at_work
5428135ca7
* always use the non-dotted name for function calls and disable putting constants into the got (should be: toc) for now; fixing cycle with "-Cg"
...
git-svn-id: trunk@8172 -
2007-07-27 20:28:08 +00:00
Jonas Maebe
62c4f85eb5
* renamed opd section (linux/ppc64) to .opd (same as used by gcc)
...
git-svn-id: trunk@8171 -
2007-07-27 17:32:39 +00:00
florian
c00b667201
* update from Karl-Michael Schindler
...
git-svn-id: trunk@8170 -
2007-07-27 14:17:06 +00:00
Jonas Maebe
9c69c9dcf8
* fixed handling of paths/files with spaces in their name in link.res
...
on platforms where the `cat link.res` trick is used. Those must
/not/ be quoted, because otherwise the shell assumes those quotes
are part of the filename, and will escape the quotes themselves.
Instead, write everything out without quotes, but set IFS to
<newline> before doing the cat, so that only a new line is seen
as a separator between items. The shell will then insert the
necessary quotes to escape the spaces. One disadvantage: this
means that other options, such as e.g. "-arch ppc" under Darwin,
must now be written split over two lines to avoid the shell
passing such parameters (which consist of two separate strings)
as one single parameter (with an escaped space) to ld.
git-svn-id: trunk@8166 -
2007-07-25 16:25:14 +00:00
Jonas Maebe
a3c9dc5ec6
+ support for {$linkframework x} to link to framework x (Darwin only)
...
+ support for {$frameworkpath x} and -Ffx to add x to the directories to
search for frameworks (Darwin only)
git-svn-id: trunk@8165 -
2007-07-25 15:42:30 +00:00
michael
bedf0151cc
* Implemented support for custom RC compiler and .RES linker
...
git-svn-id: trunk@8164 -
2007-07-25 12:06:57 +00:00
peter
c020d709b4
* default widestring-ansistring conversion needs to use the same algorithm
...
as the rtl to behave the same on compile time and runtime
git-svn-id: trunk@8161 -
2007-07-23 21:57:48 +00:00
peter
1249bf70ff
* shorten mangledname names much quicker for nested procedures
...
git-svn-id: trunk@8160 -
2007-07-23 21:36:16 +00:00
peter
1dd62b8686
* write also asmblocklabel for a connected labelsym
...
git-svn-id: trunk@8159 -
2007-07-23 21:01:32 +00:00
peter
0fc65c5eec
* for tp mode don't allow unitname reuse
...
git-svn-id: trunk@8158 -
2007-07-23 20:38:05 +00:00
florian
5e60b52f28
* ignore pic directive/switch if the platform doesn't support pic, resolves #9281
...
git-svn-id: trunk@8157 -
2007-07-23 20:25:04 +00:00
florian
8b11f99765
* let the dfa do the detection of unset function results if possible
...
git-svn-id: trunk@8156 -
2007-07-23 20:23:50 +00:00
florian
a2ac6c698d
* fixed dfa for raise nodes
...
git-svn-id: trunk@8155 -
2007-07-23 20:22:36 +00:00
peter
89eddc7504
* check for valid reference before parsing extra constant values
...
git-svn-id: trunk@8154 -
2007-07-23 20:16:23 +00:00
peter
703b8855cc
* allow local procsym in delphi mode
...
git-svn-id: trunk@8148 -
2007-07-23 09:15:32 +00:00
florian
b6cca14944
* proper handling of dummy result node in dfa, resolves #8717 and #8079
...
+ tests
git-svn-id: trunk@8147 -
2007-07-23 08:57:31 +00:00
peter
ad4846a50e
* don't allow generics as parent classes
...
git-svn-id: trunk@8144 -
2007-07-22 23:10:24 +00:00
peter
8bd95f4dd4
* keep signess of orginal variable in shl/shr operation
...
git-svn-id: trunk@8143 -
2007-07-22 22:56:35 +00:00
peter
725f1d7176
* remove wrong $esle x86_64 causing uninitialized variable
...
git-svn-id: trunk@8141 -
2007-07-22 20:57:05 +00:00
peter
67e16340be
* revert r8118
...
git-svn-id: trunk@8139 -
2007-07-22 19:59:00 +00:00
peter
5e36a73b80
* create a new vmt entry also if return type differs
...
* search all parent classes for matching interface implementations
git-svn-id: trunk@8138 -
2007-07-22 19:47:55 +00:00
peter
98cc116dd2
* fix passing string to open array of string
...
git-svn-id: trunk@8137 -
2007-07-22 19:44:56 +00:00
florian
be6d2dd0f9
* reverted wrong commit in r8133
...
git-svn-id: trunk@8135 -
2007-07-22 17:00:51 +00:00
florian
447276c5bb
* Jcc reads the flags, this was not in the dat yet, resolves #9278
...
* disabled 4 ops variant of insertq for now
git-svn-id: trunk@8133 -
2007-07-22 16:40:44 +00:00
peter
f70a4a64a0
* swapendian for 2.0.x
...
git-svn-id: trunk@8132 -
2007-07-22 16:13:43 +00:00
daniel
5add416dab
* Fix mul opsize
...
git-svn-id: trunk@8131 -
2007-07-22 11:48:10 +00:00