Jonas Maebe
09c8c5eba0
* adjusted comment after previous commit
...
git-svn-id: trunk@32297 -
2015-11-12 20:58:50 +00:00
Jonas Maebe
a32605bd38
* don't force setelementn's into a 32 bit modifiable register if they were
...
already in a register, as this changes the result location into a size
different from what resultdef says (and only in that specific case)
o modified the ppc code so that it always forces a setelementn to uinttype,
as that is the size that is expected by the operations later on
git-svn-id: trunk@32296 -
2015-11-12 20:55:33 +00:00
nickysn
b744c83581
+ implemented support for omf fixup records with target group other than 'DGROUP' in the i8086-msdos internal linker
...
git-svn-id: trunk@32294 -
2015-11-12 16:40:17 +00:00
Jonas Maebe
175f4376bc
* give an internalerror if a setelementn is range in pass_generate_code,
...
as those constructs should have been converted to calls to
fpc_varset_set_range by the parent addn
git-svn-id: trunk@32293 -
2015-11-11 20:46:49 +00:00
Jonas Maebe
3e917f5889
* fixed llvm a_load_reg_ref() when storing a register to a record reference
...
of 3/5/6/7 bytes
git-svn-id: trunk@32292 -
2015-11-11 20:46:46 +00:00
michael
bc1248ceb7
* Non-Options, multiple identical options support (corrected)
...
git-svn-id: trunk@32291 -
2015-11-11 16:39:30 +00:00
nickysn
8046826e4e
+ also allow x86 call ref for references that contain only non-imaginary registers (no infinite spilling problems there either)
...
git-svn-id: trunk@32290 -
2015-11-11 16:33:48 +00:00
michael
8e063b5cef
* Undid last (wrong) patch
...
git-svn-id: trunk@32289 -
2015-11-11 16:33:03 +00:00
michael
60e0627704
* Non-Options, multiple identical options support
...
git-svn-id: trunk@32288 -
2015-11-11 16:28:04 +00:00
michael
f7cab410c5
* Single instance functionality by Ondrej Pokorny
...
git-svn-id: trunk@32287 -
2015-11-11 16:26:19 +00:00
nickysn
9de7830c8c
+ allow call ref on x86 for references that don't contain any registers, as the register allocator doesn't fail on them, if all registers are allocated
...
git-svn-id: trunk@32286 -
2015-11-11 15:58:10 +00:00
nickysn
ef2c6065b6
+ added support for word/smallint typed constants, initialized with ofs() on i8086
...
git-svn-id: trunk@32285 -
2015-11-11 15:01:08 +00:00
nickysn
1e7a0838d7
+ added test for the 'SEG @CODE' and 'SEG @DATA' i8086 inline assembler directives
...
git-svn-id: trunk@32284 -
2015-11-10 21:21:17 +00:00
nickysn
a553b15a1c
+ handle properly inline asm segment constants different than word:
...
o 'DB SEG symbol' produces an error
o 'DD SEG symbol' (and anything larger than DW, like DQ) adds extra high zeros
to the segment constant (this is Turbo Pascal 7 compatible)
git-svn-id: trunk@32283 -
2015-11-10 21:18:34 +00:00
nickysn
606b64a7f1
* fixed indentation
...
git-svn-id: trunk@32282 -
2015-11-10 20:57:52 +00:00
nickysn
3b80ca4376
+ implemented the 'SEG @CODE' inline assembler directive for i8086
...
git-svn-id: trunk@32281 -
2015-11-10 18:02:10 +00:00
nickysn
995ca4fb12
+ implemented the 'SEG @DATA' inline assembler directive for i8086
...
git-svn-id: trunk@32280 -
2015-11-10 17:26:21 +00:00
nickysn
43dabca8ab
* moved the handling of the @Code and @Data inline assembler symbols to new methods Tx86operand.SetupCode and .SetupData
...
git-svn-id: trunk@32279 -
2015-11-10 14:04:40 +00:00
michael
aa7058e82d
* Patch from Ondrej Pokorny to fix broken compilation after 32275
...
git-svn-id: trunk@32278 -
2015-11-09 07:36:01 +00:00
michael
e838317177
* Fix bug #0028980
...
git-svn-id: trunk@32277 -
2015-11-08 21:35:12 +00:00
nickysn
7d41d19150
+ added an error message when trying to compile a tiny model DOS .COM file with
...
segment relocations
git-svn-id: trunk@32276 -
2015-11-08 21:13:16 +00:00
Jonas Maebe
21a4a9034d
* commented out all untested (and on non-Win32: unimplemened) TCompareOption
...
flags
git-svn-id: trunk@32275 -
2015-11-08 19:43:26 +00:00
joost
37c1c88f89
* Re-generated src/fpmkunitsrc.inc
...
git-svn-id: trunk@32274 -
2015-11-08 19:06:37 +00:00
michael
dd87c4f34f
* Fix for bug ID #0028976
...
git-svn-id: trunk@32271 -
2015-11-08 10:15:50 +00:00
Tomas Hajny
2c566ffcb9
* fix compilation failure after r32262
...
git-svn-id: trunk@32270 -
2015-11-08 00:41:00 +00:00
svenbarth
0ff87336aa
Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls.
...
pexpr.pas:
+ new enum texprflag and corresponding set texprflags
* comp_expr: replace accept_equal and typeonly with texprflags parameter
* factor: replace typeonly and hadspecialize with texprflags parameter
* sub_expr: replace accept_equal and typeonly with texprflags parameter
* adjust calls to comp_expr(), factor() and sub_expr()
other units:
* adjust calls to comp_expr(), factor() and sub_expr()
git-svn-id: trunk@32269 -
2015-11-07 21:45:03 +00:00
nickysn
4edbd27774
* support writing omf libraries with size greater than 251 blocks
...
git-svn-id: trunk@32268 -
2015-11-07 16:54:23 +00:00
nickysn
e498bfc1ba
* changed an internal error number to ensure it's unique
...
git-svn-id: trunk@32267 -
2015-11-07 13:41:00 +00:00
michael
745c1499df
* Mark forgotten implementations with runerror 219
...
git-svn-id: trunk@32266 -
2015-11-07 12:36:32 +00:00
michael
6955106a13
* Fix TStringSplitOptions
...
git-svn-id: trunk@32265 -
2015-11-07 12:36:10 +00:00
michael
b86ef67a54
* Resolved conflict with none in TStringSplitoptions
...
git-svn-id: trunk@32264 -
2015-11-07 10:08:28 +00:00
michael
4a32135563
* no type helpers in version 2.6.*
...
git-svn-id: trunk@32263 -
2015-11-07 09:54:43 +00:00
michael
fde42ca8ef
* Type helpers, compatible to Delphi XE 8
...
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
florian
094a3c4350
* fixes masm code generation for rep mov*
...
git-svn-id: trunk@32259 -
2015-11-06 19:06:57 +00:00
marco
a9ac2abc77
* fixed #28908 (add alias for ADDRINUSE to sockets) for win,os2,unix
...
git-svn-id: trunk@32258 -
2015-11-06 16:07:33 +00:00
marco
d95b95e648
* fix for #28940 also add PSizeUint
...
git-svn-id: trunk@32257 -
2015-11-06 15:54:54 +00:00
nickysn
ca24b006ef
+ support 'dw SEG symbol' in the inline assembler on i8086
...
git-svn-id: trunk@32256 -
2015-11-06 15:35:20 +00:00
marco
266ebc351b
* remove some deprecated functions. Most have alternatives since at least 2.4, and more often 2.2
...
I left getdomainname in "unix" for now, I don't know the exact status.
git-svn-id: trunk@32255 -
2015-11-06 14:55:38 +00:00
marco
4484f793e7
* avoid deprecated warning.
...
git-svn-id: trunk@32254 -
2015-11-06 14:54:43 +00:00
marco
a441becb11
* enable mysql 5.7
...
git-svn-id: trunk@32253 -
2015-11-06 10:59:53 +00:00
nickysn
bb47eb4a2a
+ support aitconst_seg in the i8086 internal assembler as well
...
git-svn-id: trunk@32252 -
2015-11-05 16:38:04 +00:00
nickysn
ac97d20249
+ added support for typed word/smallint constants, initialized with Seg(symbol) on the i8086
...
git-svn-id: trunk@32251 -
2015-11-05 16:18:47 +00:00
nickysn
44b04e250e
+ implemented support for aitconst_seg (emits a 'DW SEG symbol') in the nasm assembler writer for i8086
...
git-svn-id: trunk@32250 -
2015-11-05 16:05:22 +00:00
nickysn
8c81e93a96
* replaced setintvec(x,@proc) in i8086 tests with the memory model independent version setintvec(x,ptr(seg(proc),ofs(proc)))
...
git-svn-id: trunk@32249 -
2015-11-05 14:18:55 +00:00
Jonas Maebe
4f54f8b3bd
* fixed expectloc for llvm bool_2_int typeconversions where the location
...
doesn't change
git-svn-id: trunk@32248 -
2015-11-04 22:23:50 +00:00
Jonas Maebe
69b832c1d0
* added in_sqr_x support for llvm
...
git-svn-id: trunk@32247 -
2015-11-04 22:23:47 +00:00
Jonas Maebe
98c08dee1a
* fixed indentation
...
git-svn-id: trunk@32246 -
2015-11-04 22:23:44 +00:00
Jonas Maebe
22d8b273bd
* the type of tvarrec fields that are passed by address is already a pointer
...
-> don't make a double pointer
git-svn-id: trunk@32245 -
2015-11-04 22:23:41 +00:00
pierre
f4cf58739f
Add poWaitOnExit option to TProcess inside GetCompilerInfo
...
git-svn-id: trunk@32244 -
2015-11-04 21:51:14 +00:00
Jonas Maebe
fa3b0ca312
* support marking defs created via the getreusable*() class methods as
...
"don't free even if not registered"; use for defs that may not be written
to a ppu file, but that must nevertheless survive the compilation of the
current module
* mark all defs created for para locations as "don't free even if not
registered", because we don't discard and recalculate all para locations
after a module has been compiled (since that's not needed)
o solves issues if the paralocations for a routine in the interface of
unit A are calculated while the implementation of unit B gets
compiled, and a new reusable type is allocated at that point which
is not used anywhere else (after r32160)
git-svn-id: trunk@32235 -
2015-11-04 20:46:18 +00:00