Commit Graph

60199 Commits

Author SHA1 Message Date
florian
e718cb985e * replace some longint by ObjpasInt
git-svn-id: trunk@47047 -
2020-10-04 20:50:39 +00:00
Mattias Gaertner
c62d4e117c fcl-passrc: resolver: case EnumRg of end; issue #37860
git-svn-id: trunk@47046 -
2020-10-04 20:33:17 +00:00
Mattias Gaertner
8771856e7a fcl-passrc: comment
git-svn-id: trunk@47044 -
2020-10-03 17:25:47 +00:00
pierre
399552d350 Refactor setting of NoNativeBinaries:
Added NO_NATIVE_COMPILER_CPU_LIST and NO_NATIVE_COMPILER_OS_LIST
  Set NoNativeBinaries if target CPU is different from source CPU 
  and target CPU is in NO_NATIVE_COMPILER_CPU_LIST.
  Set NoNativeBinaries if target OS is different from source OS 
  and target CPU is in NO_NATIVE_COMPILER_CPU_LIST.
  Add FORCE_NATIVE_BINARIES variable to be able to overrule
  default behavior of NoNativeBinaries=1

git-svn-id: trunk@47043 -
2020-10-03 15:27:57 +00:00
florian
963fe73d19 + support all XSAVE instructions, resolves #37864
git-svn-id: trunk@47042 -
2020-10-03 14:51:31 +00:00
pierre
0685319be8 Treat metadata as data in agppcmpw.pas
git-svn-id: trunk@47041 -
2020-10-03 14:23:52 +00:00
Mattias Gaertner
65bcfe36b3 fcl-json: fixed writing boolean lowercase, as expected by reader
git-svn-id: trunk@47040 -
2020-10-03 13:42:43 +00:00
Mattias Gaertner
18f5fab782 fcl-passrc: fixed typecast TList<TBird> to TList<TEagle>
git-svn-id: trunk@47039 -
2020-10-03 13:19:46 +00:00
Mattias Gaertner
fdd3d163ff fcl-passrc: fixed mem leak specialize with param self
git-svn-id: trunk@47038 -
2020-10-03 13:05:15 +00:00
Károly Balogh
bb51a2134a z80-zxspectrum: fix the the linking order in the bss section, so the startup code doesn't crash when linked with vlink
git-svn-id: trunk@47036 -
2020-10-03 01:38:01 +00:00
florian
e47f44234c * AVR: MovMov2Mov 2 optimization
git-svn-id: trunk@47035 -
2020-10-02 20:13:17 +00:00
florian
3463d469bf * set default processor for i386 to Pentium2
git-svn-id: trunk@47034 -
2020-10-02 19:40:09 +00:00
florian
65047cecdb + optimize comparisons of constant pointers
git-svn-id: trunk@47031 -
2020-10-01 20:33:03 +00:00
florian
af20b064ed * make framecount and framebufsize dependent on the pointer size
git-svn-id: trunk@47030 -
2020-10-01 20:33:03 +00:00
florian
1bf58c2a55 + introduce TExitCode
git-svn-id: trunk@47029 -
2020-10-01 20:33:02 +00:00
Mattias Gaertner
43b236a4df fcl-passrc: resolver: mark inherited a:= as assignment, issue #37851
git-svn-id: trunk@47028 -
2020-10-01 19:59:50 +00:00
pierre
7e0c21fa5f Fix NDS RTL compilation for default armv4 CPU, which does not have CLZ instruction
git-svn-id: trunk@47027 -
2020-10-01 08:41:03 +00:00
florian
1e4dc56155 * inlinable frame handling dummies for avr
* inline frame handler if possible

git-svn-id: trunk@47025 -
2020-09-30 21:18:33 +00:00
florian
284aca7348 + x86: FstpFld2Fst optimization (re-enabled for safe cases)
git-svn-id: trunk@47024 -
2020-09-30 19:20:14 +00:00
pierre
58bca9cce1 Various Watcom changes to enable compilation of packages and utils
git-svn-id: trunk@47023 -
2020-09-30 15:38:39 +00:00
pierre
875bb32e0b Add character, fpwidestring, unicodedata and unicodenumtable units to watcom RTL
git-svn-id: trunk@47022 -
2020-09-30 15:22:13 +00:00
michael
52bc9d5d80 * Extra test for case else/else
git-svn-id: trunk@47021 -
2020-09-30 15:01:35 +00:00
michael
8775fac416 * Correct test
git-svn-id: trunk@47020 -
2020-09-30 14:02:29 +00:00
michael
abe463d576 * Fix for bug #37760
git-svn-id: trunk@47019 -
2020-09-30 14:01:00 +00:00
pierre
4a6358bfc1 * Fix NaN for watcom assembler (C000h is considered as a label, use 0xC000 instead)
* Also use ApplyAsmSymbolRestrictions for label names (required for units using embedded '.'
  * Add ':' after a label if there is hp^.next is not assigned

git-svn-id: trunk@47018 -
2020-09-30 13:50:43 +00:00
michael
2fc63a4f17 * Additional test for 37760
git-svn-id: trunk@47017 -
2020-09-30 13:36:24 +00:00
michael
4ad6c98d82 * Test for bug ID #27760
git-svn-id: trunk@47016 -
2020-09-30 13:33:16 +00:00
pierre
d72170f9a3 Fix compilation for watcom RTL
git-svn-id: trunk@47015 -
2020-09-30 12:20:26 +00:00
pierre
fa12dfa7b5 Rename pvmt internal type to lower_pvmt for i386-watcom as watcom assembler is not case sensitive
git-svn-id: trunk@47014 -
2020-09-30 12:18:39 +00:00
pierre
c20b51a806 Use ApplyAsmSymbolRestrictions function and limit label sie to 247 for watcom assembler
git-svn-id: trunk@47013 -
2020-09-30 12:17:24 +00:00
pierre
64da07da48 Add conversion from "$" to "." for i386-watcom target and avoid iteration if no char modification is wanted in ApplyAsmSymbolRestrictions function
git-svn-id: trunk@47012 -
2020-09-30 12:16:21 +00:00
ondrej
192bbc07f5 * simplify TThread.RemoveQueuedEvent - decide what to delete and not what to leave (better corresponds with the docs)
git-svn-id: trunk@47011 -
2020-09-30 06:56:27 +00:00
florian
69fcacc948 * use fld/fst on i386 to copy doubles
git-svn-id: trunk@47009 -
2020-09-29 20:59:29 +00:00
florian
e124b07e86 + evaluate typeinfo(<type1>)=/<>typeinfo(<type2>) at compile time, resolves #30260
git-svn-id: trunk@47008 -
2020-09-29 20:14:27 +00:00
svenbarth
a624348692 * when removing a method from the synchronization queue using TThread.RemoveQueuedEvent then both the Code and the Data need to match (Delphi does the same)
+ added test

git-svn-id: trunk@47007 -
2020-09-29 17:34:26 +00:00
michael
218ce57b5b * More strict behaviour for identifiers, patch by Benito van der Zander (bug ID 37841)
git-svn-id: trunk@47006 -
2020-09-29 15:45:27 +00:00
michael
130d9ccdc3 * Fix more strict handling of numbers (bug ID 37840, patch by Benito van der Zander)
git-svn-id: trunk@47005 -
2020-09-29 15:33:59 +00:00
florian
1a2b99bc09 * correctly reset fpu on x86_64-linux after a floating point exception, resolves second part of #37468
git-svn-id: trunk@46992 -
2020-09-28 20:50:25 +00:00
michael
202976b457 * Fix windows compilation
git-svn-id: trunk@46991 -
2020-09-28 14:05:12 +00:00
Jonas Maebe
322d04cdee * regenerated after adding unixtype dependencies
git-svn-id: trunk@46990 -
2020-09-28 14:02:03 +00:00
Jonas Maebe
de095258a7 * add missing unixtype dependencies
git-svn-id: trunk@46989 -
2020-09-28 14:02:00 +00:00
Jonas Maebe
f3e140fc50 * test for mantis #34543 (already fixed)
git-svn-id: trunk@46988 -
2020-09-28 14:01:55 +00:00
michael
ce3335affe * LibreSSL support
git-svn-id: trunk@46987 -
2020-09-28 13:23:43 +00:00
Mattias Gaertner
a66b6cd7c7 pastojs: classname=typeinfoname
git-svn-id: trunk@46986 -
2020-09-28 09:39:24 +00:00
michael
7c238c24e8 * Fix bug ID #37824
git-svn-id: trunk@46985 -
2020-09-28 07:55:27 +00:00
michael
b9158ed311 * Fix bug #37830, always append dot even if signature empty
git-svn-id: trunk@46984 -
2020-09-28 07:50:08 +00:00
Károly Balogh
9f8417ba52 z80: added handling of sections provided by the startup code to the vlink linker script. this fixes executable building, but the resulting executables still don't work at this point
git-svn-id: trunk@46980 -
2020-09-27 22:58:01 +00:00
Károly Balogh
aa745e0319 z80: re-enabled af_smartlink_sections for vasm which is required for the vasm + vlink combo, partially reverting r46916
git-svn-id: trunk@46979 -
2020-09-27 22:55:59 +00:00
Károly Balogh
7c195d2062 z80: cleaned up some tabs vs. spaces indentation mess in the vasm writer. no functional change.
git-svn-id: trunk@46978 -
2020-09-27 22:52:06 +00:00
florian
bb92fbafa0 patch by J. Gareth Moreton: GetNextInstructionUsingReg drops out earlier, second part of #37526
git-svn-id: trunk@46976 -
2020-09-27 21:05:43 +00:00