Commit Graph

64628 Commits

Author SHA1 Message Date
Karoly Balogh
c9ec57bd73 * rtl/atari: add the standalone softfpu units to the Atari build. this fixes the Atari native compiler build after recent changes 2022-02-06 00:05:37 +01:00
florian
e9e8013316 + some basic stuff for MIPS64 2022-02-05 23:25:31 +01:00
Jonas Maebe
68b5ca633c ppc platforms: fix missing TOC restoration room
PPC platforms that use a TOC can never use a tail call to call a different
routine that potentially accesses globals, as it may use a different TOC and
then the linker must be able to insert an instruction after the branch to
restore the original TOC register value on "return". Even if FPC code itself
does not use the TOC register, it's still required since
  1) the linker does not know this, and
  2) the FPC code might still be called from other code that does use it
2022-02-05 21:36:41 +01:00
Jonas Maebe
83c18df69a ppc64: fix rtoc handling
Save on procedure entry if it performs a call, rather than (only) before every
indirect call
2022-02-05 17:36:08 +01:00
Michaël Van Canneyt
6dd5b63e2d * Shorter version of libimports 2022-02-05 16:58:08 +01:00
Michaël Van Canneyt
396b516a85 * dts2pas added for next pas2js release 2022-02-05 16:35:04 +01:00
Michaël Van Canneyt
bf86e57cfe * Need pas.$libimports 2022-02-05 16:17:39 +01:00
Pierre Muller
a9c67f22fd Add use of SD instruction in tcgmips.a_load_reg_ref method 2022-02-04 22:54:58 +00:00
florian
ed2b73eee6 * sorted MIPS defines 2022-02-04 23:07:25 +01:00
FPK
d54d787df2 + use linux tag in gitlab-ci.yml 2022-02-04 22:18:33 +01:00
Pierre Muller
fbed068048 Set float type information in system interface part for mips64 and mips64el CPUs 2022-02-04 20:00:40 +00:00
Pierre Muller
4db332fecf Add default macros inoptions unit for mips64 and mips64el CPUs 2022-02-04 19:59:26 +00:00
Pierre Muller
65880e6631 Also set mipseb or mipsel macro for 64-bit mips CPU 2022-02-04 19:57:42 +00:00
Pierre Muller
c2ffd51c63 Fix compilation from 32-bit CPU by avoiding use of aint variable in for loop 2022-02-04 18:32:49 +00:00
Pierre Muller
ea812d1c2e mips64 define must also set mips 2022-02-04 18:31:53 +00:00
mattias
e8f9ffdb5e pastojs: calling constructor of nested external class, issue 38858 2022-02-04 15:59:38 +01:00
mattias
953d15a939 pastojs: consistent error message on custom js file not found, issue 38978 2022-02-04 15:14:34 +01:00
mattias
664a96c584 pastojs: fixed await() as aclass, issue 39028 2022-02-04 14:48:05 +01:00
mattias
9bf4f9e2ce fcl-passrc: fixed attributes of interface types issue 39198 2022-02-04 13:09:56 +01:00
mattias
3713784e40 fcl-passrc: comment 2022-02-04 12:48:50 +01:00
Karoly Balogh
a4e2d74626 * rtl/atari: fix haltproc external name. apparently the atari target uses a different Cprefix in the compiler, so copy-pasting this stuff from the Amiga port don't work 1:1 2022-02-04 12:22:40 +01:00
Karoly Balogh
93494bf8bf * rtl/atari: use the haltproc declared in the startup code instead of calling pterm in the system unit directly. 2022-02-04 11:58:16 +01:00
Karoly Balogh
b30a1bf447 * rtl/atari: naming: gemdos_free is actually gemdos_mfree. no functional change. 2022-02-04 11:43:49 +01:00
Karoly Balogh
b56e1b0cd8 * tosunits: add {$PACKRECORDS 2} everywhere, just in case 2022-02-04 02:12:11 +01:00
Karoly Balogh
5ff82c14cf * tosunits: tabs 2 spaces fix in MetaDOS 2022-02-04 02:11:09 +01:00
Karoly Balogh
e8e1a6e874 * tosunits: remove the sysutils dependency from TOS unit, it's no longer needed 2022-02-04 02:04:42 +01:00
Karoly Balogh
98f767efbf * tosunits: do not use functions which convert between shortstring and a char array via an AnsiString in TOS unit 2022-02-04 02:04:42 +01:00
Karoly Balogh
ee5e89733f * tosunits: add some required defines about compiler mode, strings, alignment in the TOS unit 2022-02-04 02:04:42 +01:00
Karoly Balogh
4a85ab9cb9 * tosunits: tabs 2 spaces fix in the TOS unit 2022-02-04 02:04:42 +01:00
florian
b2e553d3c4 * mips64el compiler can be compiled 2022-02-03 23:15:34 +01:00
J. Gareth "Curious Kit" Moreton
c4ea01cf3d Improved JccMov1JmpMov0Jmp -> SETcc optimisation 2022-02-03 21:38:52 +00:00
mattias
89e0282856 pastojs: write sourceMappingURL only if map file enabled, issue 39210 2022-02-03 15:20:54 +01:00
mattias
f0f9818824 pastojs: fixed Setlength(unicodestring) issue 39208 2022-02-03 15:15:34 +01:00
mattias
672c9b1466 pastojs: debug log for pas2jslib 2022-02-03 11:11:06 +01:00
mattias
859755ac85 pastojs: less hints 2022-02-03 11:10:33 +01:00
mattias
5e082c9d90 pastojs: less hints 2022-02-03 11:10:13 +01:00
Thorsten Otto
f10fe0985a atari: add missing bios/xbios/gemdos functions
todo: Some newer MiNT functions
2022-02-02 21:34:32 +00:00
Thorsten Otto
073b48de82 atari: add -Wt<x> option to allow specifying the executable format
This is useful to create aoutmint format binaries using vlink,
which have a symbol table that has no limit for the name length.
2022-02-02 21:34:32 +00:00
Thorsten Otto
a2b66ea061 atari: implement environment functions 2022-02-02 21:34:32 +00:00
Thorsten Otto
fecb72fea3 atari: implement ARGV protocol for runtime startup 2022-02-02 21:34:32 +00:00
Thorsten Otto
41d4e181ea atari: pass tos exe flags also to ld 2022-02-02 21:34:32 +00:00
florian
b2eaa4e701 + some MIPS64 stuff added to the Makefiles 2022-02-02 22:14:43 +01:00
Michaël Van Canneyt
abac7a02bd * Fix pas2js issue 39212 2022-02-02 21:58:48 +01:00
Yuri Silver
4e51973dba In case of incorrect shutdown of the client. The buffer may return =0. There will be an exception. 2022-02-01 22:36:16 +03:00
Michaël Van Canneyt
6faa3872fc * Restored test unit 2022-02-01 15:12:01 +01:00
mattias
a0a23a8968 pastojs: less string warnings 2022-02-01 14:47:54 +01:00
mattias
85928a738d pastojs: using TJSVariableStatement.VarDecl 2022-02-01 14:43:30 +01:00
mattias
c6ce763336 fcl-passrc: fixed sourcepos of member const 2022-02-01 14:31:19 +01:00
mattias
edeb5909da pastojs: switched to TypedParams 2022-02-01 14:25:39 +01:00
mattias
ced452e2ef fcl-js: switched to TypedParams 2022-02-01 14:22:22 +01:00