Jonas Maebe
39e31337f1
* documented -CTthumbinterworking parameter
...
git-svn-id: trunk@23577 -
2013-02-05 23:09:48 +00:00
Jonas Maebe
227bb7d850
* made behaviour of -CT parameters consistent with other parameters: instead
...
of -CTnoTargetSwitch, now you can (and have to) use -CTTargetSwitch- to
disable it
git-svn-id: trunk@23576 -
2013-02-05 23:09:41 +00:00
sergei
d82387ff72
* MIPS: fixed parameter management to properly align records smaller than 32 bits on big-endian targets.
...
* Also changed parameter management to allocate a single LOC_REFERENCE location for any parameter (or part of a parameter) passed on stack. Such locations can now be handled by generic code. As a consequence, TGMIPS.a_load_const_cgpara and a_load_ref_cgpara methods are no longer necessary (moreover they were ignoring parameter shifting).
* a_loadfpu_ref_cgpara patched to handle 64-bit location, which are now possible.
* This change eliminates code generation madness where each word of a record was copied individually, thus passing by value a 32K-word sized record was bloating into 64K instructions, multiply this number by 2 for larger records due to limited immediate offsets, and by another 2 for global record in PIC mode :/
git-svn-id: trunk@23575 -
2013-02-05 22:21:09 +00:00
svenbarth
c6c67dc182
Set the UnicodeCompare functions in the WideString manager also for WinCE and implement the Wide- and UnicodeCompare functions similar to Win32/64 by calling a common DoCompareString function.
...
git-svn-id: trunk@23574 -
2013-02-05 16:33:42 +00:00
pierre
a4e0a4c0f5
Adapt length of tprocinfoopt record string field to longest string
...
git-svn-id: trunk@23573 -
2013-02-04 23:01:36 +00:00
florian
3ca7a5ff8e
- remove switch -Wx for arm thumb interworking, one should use -CTHUMBTINTERWORKING=ON instead
...
git-svn-id: trunk@23572 -
2013-02-04 21:46:27 +00:00
florian
cbf7eaaffc
* copyright year updated
...
git-svn-id: trunk@23571 -
2013-02-04 21:33:23 +00:00
reiniero
33bf805ac1
* sqldb: bufdataset: no longer swallow filter parsing exceptions
...
git-svn-id: trunk@23570 -
2013-02-04 12:18:09 +00:00
florian
4d3df8f518
* stupid typo in TVMTWriter.RedirectToEmpty fixed, resolves #23763
...
git-svn-id: trunk@23569 -
2013-02-03 22:02:02 +00:00
sergei
70c0d680a6
+ MIPS linker: understand R_MIPS_JALR relocation and __gnu_local_gp symbol.
...
git-svn-id: trunk@23568 -
2013-02-03 21:54:37 +00:00
sergei
ef38193043
* MIPS: Once again fixed g_external_wrapper. My initial assumption about .cpload was wrong: it is optimized into position-dependent sequence only if "-KPIC -mno-shared" is passed to GAS command line, without -KPIC it is ignored altogether. Therefore r23566 breaks some non-PIC tests.
...
git-svn-id: trunk@23567 -
2013-02-03 21:53:30 +00:00
sergei
9bc758d62b
* Forgot to set base register to NR_GP
...
git-svn-id: trunk@23566 -
2013-02-03 01:46:49 +00:00
sergei
a0c1e1b07f
* MIPS: fixed a_call_name and a_call_reg methods to workaround a bug in GAS <2.21, see comments in source for details.
...
+ g_external_wrapper method.
git-svn-id: trunk@23565 -
2013-02-02 23:52:58 +00:00
yury
49f9288611
* Due to buggy MySQL query plan optimizer, the existing tests overview query use incorrect execution plan which leads to long execution time. The SQL query has been changed to produce efficient execution plan. Now the overview form works correctly.
...
* Fixed displaying of the test category column.
* Fixed History overview.
* History form: display a error when a test file not found.
* Use MySQL 5.5 connection.
git-svn-id: trunk@23564 -
2013-02-02 16:07:45 +00:00
Jonas Maebe
a51e64bd4d
+ {$targetswitch xxx} directive that enables changing target switches
...
(-CTxxx) in the source code
git-svn-id: trunk@23563 -
2013-02-02 15:22:18 +00:00
Jonas Maebe
4022c29500
* mark each target switch with whether it's global or not, so a compiler
...
directive can be added that enables changing the local ones
git-svn-id: trunk@23562 -
2013-02-02 15:22:13 +00:00
Jonas Maebe
185f71762f
* fixed automatic setter generation if only a setter and no getter prefix
...
has been specified
git-svn-id: trunk@23561 -
2013-02-02 15:21:58 +00:00
pierre
899951577a
Avoid wrong code generation for a_call_name if we create pic code
...
git-svn-id: trunk@23560 -
2013-02-01 21:16:58 +00:00
pierre
f74954dd32
Correct code for shared library start
...
git-svn-id: trunk@23559 -
2013-02-01 21:14:44 +00:00
pierre
6e5be15087
Add PT convinience variable to ba able to debug InitFinalTable
...
git-svn-id: trunk@23558 -
2013-02-01 21:13:55 +00:00
sergei
8bfbee747a
* MIPS: Rewrote g_intf_wrapper method to support instance offsets greater than 32767 and PIC (the latter part untested yet).
...
git-svn-id: trunk@23557 -
2013-02-01 18:28:46 +00:00
sergei
a519741d89
- Revert {$J-} accidentally committed in r23555.
...
git-svn-id: trunk@23556 -
2013-02-01 16:49:46 +00:00
sergei
503b132096
* cgbase.pas: added more MIPS-specific address types, needed to support large GOT model.
...
* cpugas.pas: GetReferenceString: rewritten, it is easier than trying to fix it. Fixes incorrect writing of non-PIC references containing base, symbol and offset together, and some forms of PIC references. Also supports newly introduced address types.
git-svn-id: trunk@23555 -
2013-02-01 16:46:22 +00:00
sergei
6e4f6a64d6
+ MIPS: Allow subset locations for boolean NOT, this appears sufficient to fix all bitpacking-related tests.
...
git-svn-id: trunk@23554 -
2013-01-31 21:52:29 +00:00
sergei
ea36d4996a
+ MIPS: In PIC mode, set $t9 to correct value before exiting SignalToRunError, without it any subsequent access to global variable will repeatedly crash.
...
+ Added alias name to SignalToRunError, to be consistent with other targets.
git-svn-id: trunk@23553 -
2013-01-31 21:44:06 +00:00
marco
81eb59e081
* make ioctl related constants unsigned.
...
git-svn-id: trunk@23552 -
2013-01-31 18:48:32 +00:00
sergei
f5a8f69517
* Fixed handling of ']' character in CDATA sections, when it is not starting a ']]>' delimiter it must be output as-is. Mantis #23794 .
...
git-svn-id: trunk@23551 -
2013-01-31 15:01:00 +00:00
pierre
7e79042d58
Reorganize for better pic support (not yet working completly ...)
...
git-svn-id: trunk@23550 -
2013-01-31 13:35:52 +00:00
pierre
6e2db1a5e5
Use addr_pic_call16 in a_call_name method
...
git-svn-id: trunk@23549 -
2013-01-31 13:34:38 +00:00
pierre
9cb7be4c92
+ Support addr_pic_call16
...
* Add more instructions to is_macro_instruction function
git-svn-id: trunk@23548 -
2013-01-31 13:32:18 +00:00
pierre
493c77bca0
+ Add addr_pic_call16 relocation type for mips
...
git-svn-id: trunk@23547 -
2013-01-31 13:08:49 +00:00
Jonas Maebe
ddc03bdf03
* when automatically generating (s|g)etters, make sure that the visibility of
...
(g|s)etters whose naming convention is already correct is adjusted if
necessary
git-svn-id: trunk@23546 -
2013-01-30 22:36:03 +00:00
Jonas Maebe
8f96ace589
* fixed -CTauto(g|s)etterprefix automatically generated helpers in case they
...
have to wrap an existing (g|s)etter that was marked as "abstract" (don't
mark the helper also as abstract, sicnce it contains code)
git-svn-id: trunk@23545 -
2013-01-30 22:35:59 +00:00
svenbarth
d49b4043ab
Implement DECLARED() for generic symbols. This fixes Mantis #21829 . The syntax is SomeGenericType<> for a generic with only one type parameter and SomeGeneric<,[,]*> for a generic with more than one type parameter. Spaces between the commas or brackets are allowed.
...
scanner.pas, parse_compiler_expr.read_factor:
+ allow "<>" after "declared" (handle "<>" operator specially)
+ count "," to get correct amount of type parameters
+ check together with the count string for symbols
+ correctly handle dummy symbols
+ added tests
git-svn-id: trunk@23544 -
2013-01-30 16:10:15 +00:00
svenbarth
cca897cfd3
Fix a memory leak spotted by Blaise Thorn
...
pdecsub.pas, parse_proc_head.consume_generic_type_parameter:
* avoid a memory leak if there are no generic type parameters following
git-svn-id: trunk@23543 -
2013-01-30 15:29:29 +00:00
florian
9315eba917
* patch by Serg Bormant: fix fmShareCompat handling for win32/win64/nativent, resolves #23725
...
git-svn-id: trunk@23542 -
2013-01-29 21:26:17 +00:00
florian
ef1c848198
* fix constant calculation for the AndAnd2And optimization if the first and is removed, noticed by Nico Erfurth
...
git-svn-id: trunk@23541 -
2013-01-29 20:39:22 +00:00
florian
5af646d1d2
+ add missing it* statements for thumb2 by a modified patch of Jeppe Johansen, resolves #23738
...
git-svn-id: trunk@23540 -
2013-01-29 20:36:38 +00:00
florian
bf57cdf409
+ introduce new define CPUTHUMB2
...
git-svn-id: trunk@23539 -
2013-01-29 20:34:55 +00:00
sergei
08c0c265c9
* MIPS: use correct def to calculate parameter alignment (when parameter is passed by address, its def changes to pointer and the alignment of parameter itself is irrelevant). Fixes at least webtbs/tw7806.
...
git-svn-id: trunk@23538 -
2013-01-29 20:09:41 +00:00
michael
528e231c66
* Strict resolving
...
git-svn-id: trunk@23537 -
2013-01-29 19:01:39 +00:00
michael
e247d1fa1a
* assign name to anonymous string type
...
git-svn-id: trunk@23536 -
2013-01-29 19:00:00 +00:00
florian
d0cbcd419e
* update of the German compiler message file by Karl-Michael Schindler, resolves #23728
...
git-svn-id: trunk@23535 -
2013-01-29 18:34:12 +00:00
sergei
cb51c39dd7
* Forgot to assign result of SwapEndian() into place.
...
git-svn-id: trunk@23534 -
2013-01-29 16:42:47 +00:00
sergei
5e13334467
* Fixed tMIPSELtypeconvnode.second_int_to_bool handling of C booleans, webtbs/tw10233 and webtbs/tw17180 now work.
...
* Reused applicable code from the above mentioned method in tMIPSELnotnode.second_boolean, it is more efficient in handling 64-bit data.
git-svn-id: trunk@23531 -
2013-01-28 21:32:21 +00:00
reiniero
b44353777a
* fcl-db: cosmetic: bufdataset comments: typos, grammar, uniform indentation
...
git-svn-id: trunk@23530 -
2013-01-28 15:49:05 +00:00
svenbarth
bb00325d85
Fix for Mantis #23765 .
...
packages/fcl-base/src/fileinfo.pp, TVersionInfo.Load:
* use PWideChar instead of PChar if "UNICODE" is defined (e.g. on WinCE)
git-svn-id: trunk@23528 -
2013-01-27 21:04:05 +00:00
Jonas Maebe
cb85846507
* fixed typo in jvm record clone implementation comment
...
git-svn-id: trunk@23527 -
2013-01-26 21:28:30 +00:00
Jonas Maebe
fffa2e163a
- removed unused local type in internal jvm record clone implementation
...
git-svn-id: trunk@23526 -
2013-01-26 21:28:26 +00:00
Jonas Maebe
dc7760bda0
* let type conversion nodes handle type checking for if/while/repeat
...
conditions, so that used-defined implicit boolean type conversions are
supported (patch by Peter-Jan Roes, mantis #23568 )
git-svn-id: trunk@23525 -
2013-01-26 21:28:22 +00:00