Commit Graph

51114 Commits

Author SHA1 Message Date
florian
3c72115e30 * basic sparc64 calling convention handling and stack frame handling fixed
git-svn-id: trunk@36518 -
2017-06-18 15:49:21 +00:00
florian
ac16c90357 * linker command for sparc64-linux fixed
git-svn-id: trunk@36517 -
2017-06-18 15:45:32 +00:00
florian
e78dbbccc4 * adaption of some rtl code for sparc64-linux
git-svn-id: trunk@36516 -
2017-06-18 15:44:30 +00:00
florian
c7d4a64ae4 + basic sparc64-linux specific rtl code, based on the sparc-linux one
git-svn-id: trunk@36515 -
2017-06-18 15:44:06 +00:00
florian
a6c2f1660b + sparc64 variants of the cpu specific files used by the rtl
git-svn-id: trunk@36514 -
2017-06-18 15:42:22 +00:00
florian
b8755b6b2c + setjmp/longjmp implementation for sparc64, based on the sparc one
git-svn-id: trunk@36513 -
2017-06-18 15:41:25 +00:00
florian
278d33f611 + first implementation of sparc64-linux startup code, partly dummies
git-svn-id: trunk@36512 -
2017-06-18 15:39:37 +00:00
joost
72f2f400fe * Allow re-directs on downloading files from repositories
git-svn-id: trunk@36511 -
2017-06-18 10:03:03 +00:00
michael
743a000675 * Fix handle leak in case findfirst returns not 0. (bug ID 32012)
git-svn-id: trunk@36510 -
2017-06-18 08:19:34 +00:00
nickysn
f2c23a8407 * yet another go32v2 compilation fix after r36507
git-svn-id: trunk@36509 -
2017-06-18 02:17:50 +00:00
nickysn
279461cb39 * fix go32v2 compilation after r36507
git-svn-id: trunk@36508 -
2017-06-18 01:24:42 +00:00
nickysn
f2587b6061 * updated ptc and ptcgraph to the latest trunk (future 0.99.15 release) from sourceforge
git-svn-id: trunk@36507 -
2017-06-18 00:16:03 +00:00
pierre
8b6563bef2 Generate error if stack size of a procedure/function is bigger than globally allocated stack size
git-svn-id: trunk@36506 -
2017-06-16 07:47:17 +00:00
Károly Balogh
c1187a17cd amiga: call InternalFindClose in InternalFindFirst, if finding the first file fails
git-svn-id: trunk@36505 -
2017-06-15 12:51:06 +00:00
Károly Balogh
f6af4ab25f atari: if FindFirst fails, always call FindClose, just in case
git-svn-id: trunk@36504 -
2017-06-15 12:46:15 +00:00
Károly Balogh
a635f435b9 m68k: replaced fpc_longword_to_double function with a working and branchless version. fixes tcnvint4 test among others with FPU enabled.
git-svn-id: trunk@36503 -
2017-06-15 02:22:49 +00:00
marcus
d4d7778e86 + Linux/m68k test object files
git-svn-id: trunk@36502 -
2017-06-14 20:33:26 +00:00
Károly Balogh
c5222d7199 m68k: map sec_rodata as read-write in the vasm writer, to silence some vlink warnings, when it writes the relocations in a rodata section
git-svn-id: trunk@36501 -
2017-06-14 18:07:36 +00:00
Károly Balogh
3f3c4808ee m68k: add support register calling convention properly in the interface wrapper generation
git-svn-id: trunk@36499 -
2017-06-14 02:26:40 +00:00
nickysn
ab0b07e7c6 * fixed off by one error in fpwidestring.Unicode2AnsiMove, which caused an
extra #0 character to the appended to the result, when converting to UTF-8

git-svn-id: trunk@36498 -
2017-06-13 23:49:28 +00:00
pierre
adfd578659 Correct error in commit 36437: restore interrupt must be $10, not $06
git-svn-id: trunk@36497 -
2017-06-13 21:02:10 +00:00
Károly Balogh
e0cbd48785 m68k: always check the V flag after MUL/DIV overflows, because MUL/DIV never sets the C flag. note that this fix is full 68k only. on CF, MUL doesn't set any of V or C flags
git-svn-id: trunk@36496 -
2017-06-12 23:56:05 +00:00
joost
d2f769c93e * Propagate the reason why a package is broken
git-svn-id: trunk@36495 -
2017-06-12 22:18:18 +00:00
Mattias Gaertner
d039fa9b15 fcl-js: sourcemap: write optional sourcesContent
git-svn-id: trunk@36494 -
2017-06-12 18:43:52 +00:00
Mattias Gaertner
5a008e945b fcl-js: sourcemap: write optional sourcesContent
git-svn-id: trunk@36493 -
2017-06-12 18:42:07 +00:00
Mattias Gaertner
2df7e116e3 fcl-js: added TSourceMap
git-svn-id: trunk@36492 -
2017-06-12 18:23:25 +00:00
Károly Balogh
f91a9c07e7 atari/m68k: enable inlining and compiler mul32to64 in the softfpu
git-svn-id: trunk@36491 -
2017-06-12 13:05:20 +00:00
Károly Balogh
78970fa3c4 linux/m68k: enable inlining and compiler mul32to64 in the softfpu
git-svn-id: trunk@36490 -
2017-06-12 13:05:09 +00:00
Károly Balogh
5ffc833842 amiga/m68k: enable inlining and compiler mul32to64 in the softfpu
git-svn-id: trunk@36489 -
2017-06-12 12:47:07 +00:00
pierre
d68ebf7cfb Disable specific coprocessor int 0x10 handler if possible
git-svn-id: trunk@36488 -
2017-06-12 06:52:35 +00:00
Károly Balogh
903548b21a morphos: added legacy GNU AS support for the ancient AS version, which is still bundled as default in the SDK. switches off named sections support in the assembler generator
git-svn-id: trunk@36487 -
2017-06-11 23:36:40 +00:00
Károly Balogh
177a571af8 morphos/amiga/atari: fixed making vlink default based on the host platform
git-svn-id: trunk@36486 -
2017-06-11 23:33:11 +00:00
Károly Balogh
3deb3fb03b powerpc: indentation and whitespace fixes. no functional changes.
git-svn-id: trunk@36485 -
2017-06-11 13:02:47 +00:00
Károly Balogh
90b1c8e5ed m68k: the previous attempt in r36480 broke more tests than it fixed, so lets revert to previous version and disable MOVE+OP+MOVE optimizations instead
git-svn-id: trunk@36484 -
2017-06-11 11:22:49 +00:00
nickysn
a38046ce73 * fixed accidental unit name change
git-svn-id: trunk@36483 -
2017-06-11 00:11:22 +00:00
nickysn
7a298cd4eb * several parameters and results of functions in the go32 unit, which hold a
32-bit linear or physical address or a 32-bit segment limit changed from
  longint to dword in order to avoid range check errors or returning negative
  values, in case any of these values exceeds 2GB

git-svn-id: trunk@36482 -
2017-06-10 23:35:56 +00:00
nickysn
a1e549e242 * changed the result of go32.set_descriptor_access_right from longint to boolean
git-svn-id: trunk@36481 -
2017-06-10 23:10:20 +00:00
Károly Balogh
40fb45aef6 m68k: attempt to make MOVE+OP+MOVE optmization more robust. this fixes random exceptions in tfmtbcd test among others
git-svn-id: trunk@36480 -
2017-06-10 21:54:48 +00:00
nickysn
d3a47bc6b5 * replace TXIM with PXIM and TXIC and PXIC in all x11 function parameters
(the problem comes from the fact that TXIM and TXIC were converted wrongly
  to an empty record (instead of a _pointer_ to empty record, which is what's
  defined in the C header), and then, instead of fixing the TXIM and TXIC
  definitions, about half of the TXIM/TXIC function parameters were converted to
  PXIM/PXIC. This commit converts the rest of them also)

git-svn-id: trunk@36477 -
2017-06-10 14:01:36 +00:00
florian
34f595b27e + more sparc64 support for tsparcaddnode
git-svn-id: trunk@36476 -
2017-06-10 11:26:10 +00:00
florian
5e969d90cb + SPARC64 cpugas unit
+ support for %gdop_hix22/%gdop_lox22

git-svn-id: trunk@36475 -
2017-06-10 11:24:55 +00:00
joost
c7539f4252 * TPackageHandler.Execute is now a function which returns false in case
of an error. This way it is possible to stop executing follow-up
   commands in case of an error.

git-svn-id: trunk@36474 -
2017-06-10 11:24:26 +00:00
florian
f25c9c0956 * hopefully proper fix for 8 and 16 bit CPUs
git-svn-id: trunk@36473 -
2017-06-09 21:05:52 +00:00
florian
0fe5541459 --- Reverse-merging r36464 through r36463 into 'trnd1.pp':
U    trnd1.pp
--- Recording mergeinfo for reverse merge of r36464 through r36463 into 'trnd1.pp':
 G   trnd1.pp
--- Eliding mergeinfo from 'trnd1.pp':
 U   trnd1.pp

git-svn-id: trunk@36472 -
2017-06-09 20:59:46 +00:00
Mattias Gaertner
64fc72af2a fcl-jssrc: TJSElement.Row renamed to Column
git-svn-id: trunk@36471 -
2017-06-09 17:38:54 +00:00
Károly Balogh
fe0bc52dc6 m68k: fixed some cases where comparing smallsets was broken, because the compare size was hardwired to 32bit
git-svn-id: trunk@36470 -
2017-06-09 17:27:06 +00:00
svenbarth
dffe423b10 * fix for Mantis #31945: two fixes for nested routines inside generic methods
a) correctly determine whether token recording is required or not (nested routines of generic routines don't need it)
  b) correctly determine whether the trailing ";" needs to be parsed (nested routines of generic routines need to)

git-svn-id: trunk@36469 -
2017-06-09 15:46:10 +00:00
svenbarth
eb9b4fb71f * fix for Mantis #31973: resolve dummy symbols earlier and print a nice error message if a generic dummy could not be resolved to an ordinary symbol
+ added test
* adjusted test tw9673 which should have never worked as is (what if TList would have been "of T" instead of "of byte"?)

git-svn-id: trunk@36468 -
2017-06-09 14:41:26 +00:00
svenbarth
68c5f45593 * also add a generic dummy symbol to the current module's dummy symbols after it had been parsed
git-svn-id: trunk@36467 -
2017-06-09 14:31:20 +00:00
svenbarth
06d7e26df0 * move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym()
git-svn-id: trunk@36466 -
2017-06-09 14:30:23 +00:00