nickysn
d3c3f2742c
+ added class TNewExeOutput. Not functional yet.
...
git-svn-id: trunk@42225 -
2019-06-14 16:23:23 +00:00
nickysn
7871ccd054
+ initialize some defaults in the TNewExeHeader constructor
...
git-svn-id: trunk@42224 -
2019-06-14 15:51:25 +00:00
nickysn
1474db42e4
+ added class TNewExeHeader that encapsulates a NewExe header and allows writing it to a file
...
git-svn-id: trunk@42223 -
2019-06-14 14:16:22 +00:00
svenbarth
746756cada
* add typecast to PTypeInfo to be on the safe side
...
git-svn-id: trunk@42222 -
2019-06-13 21:08:48 +00:00
svenbarth
253f65c5b2
* fix for Mantis #35687 : implement TValue.FromOrdinal()
...
+ added tests
git-svn-id: trunk@42221 -
2019-06-13 21:08:44 +00:00
svenbarth
34569080be
* correctly handle both Ansi- and WideChar in TValue
...
+ added tests
git-svn-id: trunk@42220 -
2019-06-13 21:08:41 +00:00
svenbarth
a2a403e2e5
* fix for Mantis #35693 : IsOrdinal also needs to return true for enums (with that AsOrdinal will work correctly as well)
...
* extended RTTI test by a test for enums
git-svn-id: trunk@42219 -
2019-06-13 21:08:38 +00:00
Mattias Gaertner
d1830fc589
pastojs: fixed var a: somearray = nil
...
git-svn-id: trunk@42218 -
2019-06-13 08:05:28 +00:00
Mattias Gaertner
a889888f2a
fcl-passrc: added test local var inits
...
git-svn-id: trunk@42217 -
2019-06-13 08:04:18 +00:00
Legolas
a9b015911d
* Updated Wii port to libogc 1.8.22
...
git-svn-id: trunk@42216 -
2019-06-12 16:35:25 +00:00
florian
73c8861929
* suppress warning for targets without MM registers
...
git-svn-id: trunk@42214 -
2019-06-11 20:03:47 +00:00
nickysn
dec03b5ac7
+ added the asmmodes_x86_att set constant - similar to asmmode_x86_intel, but for AT&T asm syntax
...
git-svn-id: trunk@42212 -
2019-06-11 15:51:40 +00:00
nickysn
697f2fcf75
* prettify the "Use of -offset(%esp), access may cause a crash or value may be
...
lost" warning by showing the exact register used (esp or rsp) and using the
asm syntax (Intel or AT&T) used originally in the code
git-svn-id: trunk@42211 -
2019-06-10 16:19:06 +00:00
nickysn
d2b3da1f14
+ add asmmode_standard to the asmmodes_x86_intel set on i8086, because i8086 defaults to intel syntax
...
git-svn-id: trunk@42210 -
2019-06-10 15:58:16 +00:00
nickysn
ce8ec3ab5d
+ introduced the asmmodes_x86_intel constant set
...
git-svn-id: trunk@42209 -
2019-06-10 15:44:19 +00:00
nickysn
4f2ab3fb11
* prettify the "Use of -offset(%ebp) is not recommended for local variable
...
access" warning by showing the exact register used (bp, ebp or rbp) and using
the original asm syntax
git-svn-id: trunk@42208 -
2019-06-10 15:26:46 +00:00
nickysn
1e07606cbf
* prettify the "Use of +offset(%ebp) is not compatible with regcall convention"
...
and "Use of +offset(%ebp) for parameters invalid here" warning messages by
showing the exact register used (bp, ebp or rbp) and using the original asm
syntax (Intel: [EBP+offset]; AT&T: +offset(%ebp) )
git-svn-id: trunk@42207 -
2019-06-10 15:08:46 +00:00
pierre
49fed0c710
Fix error in commit #42199
...
git-svn-id: trunk@42206 -
2019-06-10 13:55:59 +00:00
Jeppe Johansen
0d97dc7965
avr: Fixed some inconsistencies.
...
git-svn-id: trunk@42204 -
2019-06-10 13:35:38 +00:00
nickysn
2487fa7605
+ added set TNewExeSegmentFlags
...
git-svn-id: trunk@42203 -
2019-06-10 13:06:58 +00:00
Legolas
7c02f2b531
* Nintendo DS port updated to libnds ver.1.7.3
...
git-svn-id: trunk@42202 -
2019-06-10 06:39:46 +00:00
Legolas
4239742b35
* GBA port updated
...
git-svn-id: trunk@42201 -
2019-06-09 22:27:16 +00:00
florian
f92b8d1681
* changes shift parameter of shift helpers into ALUUInt, as there is an "and" used anyways, this does not change semantics but reduces register pressure on 8 bit targets
...
git-svn-id: trunk@42200 -
2019-06-09 21:44:18 +00:00
pierre
14b9032ef2
Use use_tag_types everywhere to get consistent results for 'Tt' versus 't' for stabs for string definitions
...
git-svn-id: trunk@42199 -
2019-06-09 20:59:06 +00:00
florian
fe99252a9b
* lazarus version update
...
git-svn-id: trunk@42198 -
2019-06-09 20:08:09 +00:00
florian
17c48694a5
* fix bootstrapping with 3.0.x and -O3
...
git-svn-id: trunk@42197 -
2019-06-09 20:05:21 +00:00
michael
44987e376d
* Unicode string assertequal (removed doubles)
...
git-svn-id: trunk@42192 -
2019-06-08 14:43:39 +00:00
michael
b3493d1f07
* Unicode string assertequal
...
git-svn-id: trunk@42191 -
2019-06-08 14:41:09 +00:00
Jonas Maebe
1dee4c41dd
- removed "cmp 0/1, pasbool1" optimization for llvm because this discards
...
the upper 7 bits of the boolean, while other platforms take it into
account (even though they're technically always required to be 0, and
the value is undefined if they're not)
git-svn-id: trunk@42189 -
2019-06-07 18:17:55 +00:00
nickysn
465e8a99e0
+ added type TNewExeAdditionalHeaderFlags
...
git-svn-id: trunk@42188 -
2019-06-07 14:15:07 +00:00
nickysn
ded3dec22a
+ added enum TNewExeTargetOS
...
git-svn-id: trunk@42187 -
2019-06-07 13:09:35 +00:00
pierre
471cb73c5f
Add {$goto on} if FPC macro is defined
...
git-svn-id: trunk@42186 -
2019-06-07 07:55:40 +00:00
svenbarth
fb0f2fbd35
* enable method implementation tests for i386 (interface tests will be ignored however as stdcall/cdecl are not yet provided without an external manager)
...
git-svn-id: trunk@42185 -
2019-06-06 20:51:57 +00:00
svenbarth
6b7ba589b9
* change fallback implementation of the RTTI memory functions to do nothing so that new platforms are easily detected
...
git-svn-id: trunk@42184 -
2019-06-06 20:50:46 +00:00
svenbarth
c008adb658
* implement memory allocation functions for Unix platforms using mmap/mprotect/munmap
...
git-svn-id: trunk@42183 -
2019-06-06 20:49:30 +00:00
svenbarth
f17c689829
+ add a size parameter to FreeMemory() as some platforms might need that
...
git-svn-id: trunk@42182 -
2019-06-06 20:48:30 +00:00
svenbarth
90278f4859
+ add fpmprotect function to complete fpmmap/fpmunmap
...
git-svn-id: trunk@42181 -
2019-06-06 20:46:01 +00:00
svenbarth
1b1f7c60ce
+ add FreeBSD syscall number for mprotect
...
git-svn-id: trunk@42180 -
2019-06-06 20:43:53 +00:00
nickysn
4dbccce43c
+ added TNewExeHeaderFlags type, describing the flags in the header of win16 executables
...
git-svn-id: trunk@42179 -
2019-06-06 16:00:29 +00:00
Mattias Gaertner
180576d17c
fcl-pssrc, pastojs: fixed anonymous proc inside for-loop
...
git-svn-id: trunk@42177 -
2019-06-06 09:48:04 +00:00
nickysn
914426e703
* fixed an i8086 inline assembler bug, where 'call word ptr [label]' (an
...
indirect call) was assembled as 'call near label' (direct call) instead of
'call near [label]' and 'call dword ptr [label]' was assembled as
'call near label' instead of 'call far [label]'
git-svn-id: trunk@42176 -
2019-06-05 15:49:39 +00:00
pierre
8e5e877417
Fix compilation with release 3.0.4 ppcarm
...
git-svn-id: trunk@42175 -
2019-06-05 12:00:53 +00:00
michael
109abf3d99
* Fix bug ID #35674 , do not create filestream for directories
...
git-svn-id: trunk@42174 -
2019-06-05 11:42:40 +00:00
michael
a4bf16e176
Fix bug ID #0035672
...
git-svn-id: trunk@42173 -
2019-06-04 08:31:39 +00:00
michael
b2e47cceb2
* Added constant for new error message in stringlist
...
git-svn-id: trunk@42172 -
2019-06-04 07:29:53 +00:00
michael
4d1e2c6aa5
* Sort public properties/methods in stringlist
...
git-svn-id: trunk@42171 -
2019-06-04 07:08:45 +00:00
michael
7c36912eb0
* Better fix for 35660: Introduced TMissingNameValueSeparatorAction
...
git-svn-id: trunk@42170 -
2019-06-04 07:00:48 +00:00
Jeppe Johansen
750567f8e3
Added T2 form of LDR/STR for SP relative forms.
...
git-svn-id: trunk@42169 -
2019-06-03 22:10:49 +00:00
michael
de30f7852d
* Changed String.Split to conform to behaviour in Delphi Rio (bug ID 35669)
...
git-svn-id: trunk@42168 -
2019-06-03 06:27:37 +00:00
Jonas Maebe
eab079c7bd
* fixed cbool "and" with full boolean evaluation, and cbool "xor"
...
(mantis #35272 )
git-svn-id: trunk@42167 -
2019-06-02 20:04:06 +00:00