Commit Graph

60609 Commits

Author SHA1 Message Date
nickysn
233cf7ab62 * synchronized with trunk
git-svn-id: branches/wasm@47032 -
2020-10-01 21:09:28 +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
nickysn
22f082c18f * synchronized with trunk
git-svn-id: branches/wasm@47026 -
2020-09-30 21:30:37 +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
nickysn
23c1ed57d2 * synchronized with trunk
git-svn-id: branches/wasm@47010 -
2020-09-29 21:12:28 +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
nickysn
8ba562a41e * also create the PASCALMAIN alias for WASI programs, now that function aliases work
git-svn-id: branches/wasm@47003 -
2020-09-29 12:19:31 +00:00
nickysn
b230e295fa + emit .type directives for ait_symbolpair on targets that have tf_needs_symbol_type
git-svn-id: branches/wasm@47002 -
2020-09-29 12:18:34 +00:00
nickysn
da5c9a978e + write procdef for imports
git-svn-id: branches/wasm@47001 -
2020-09-29 00:16:10 +00:00
nickysn
fe4f041436 * procdef directive code generation moved to a separate method
git-svn-id: branches/wasm@47000 -
2020-09-29 00:11:11 +00:00
nickysn
8fee0f6130 + partial implementation of imports
git-svn-id: branches/wasm@46999 -
2020-09-29 00:05:14 +00:00
nickysn
1da89c6259 - removed the --export-dynamic linker option
git-svn-id: branches/wasm@46998 -
2020-09-28 23:37:30 +00:00
nickysn
0a5655955c + declare the stack pointer global type
git-svn-id: branches/wasm@46997 -
2020-09-28 23:23:42 +00:00
nickysn
e5b0d9cf32 * __stack_top renamed __stack_pointer (which seems to follow the C ABI correctly)
git-svn-id: branches/wasm@46996 -
2020-09-28 23:20:33 +00:00
nickysn
e96faf0a76 + readded the --no-entry option when linking wasi executables
git-svn-id: branches/wasm@46995 -
2020-09-28 23:17:32 +00:00
nickysn
ceeb614473 + handle exports in the llvm-mc wasm32 assembler writer
git-svn-id: branches/wasm@46994 -
2020-09-28 23:13:51 +00:00
nickysn
697bd6d586 * synchronized with trunk
git-svn-id: branches/wasm@46993 -
2020-09-28 22:19:56 +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
nickysn
b9375d2d76 + allow exports from programs for wasm targets
git-svn-id: branches/wasm@46983 -
2020-09-28 02:58:47 +00:00
nickysn
60762dbfee * use the .set directive for procedure aliases
git-svn-id: branches/wasm@46982 -
2020-09-28 02:54:37 +00:00