Jonas Maebe
2ee45c7ed8
PowerPC32 SysV: fix abis_ppc_toc declaration
...
No TOC on those platforms (as mentioned in tcgppcgen.get_rtoc_offset), so also
exclude from this constant
2022-02-07 20:31:46 +01:00
Michaël Van Canneyt
c8403ad49e
* Test for const list
2022-02-07 16:30:28 +01:00
Michaël Van Canneyt
cb03124cc5
* Added DetectBOM to TCSVDocument
2022-02-07 16:30:06 +01:00
mattias
e5ac07db13
pastojs: started test TPas2JSUseAnalyzer
2022-02-07 14:37:44 +01:00
mattias
dc7a8fa9e5
pastojs: comment
2022-02-07 12:46:13 +01:00
mattias
93b8707ed3
fcl-js: fixed comment
2022-02-07 12:45:54 +01:00
Jonas Maebe
629c1de460
TOC handling: clean up
...
Also fix on 32 bits PowerPC
2022-02-06 22:10:06 +01:00
florian
d42f577a3f
+ additional skeleton files for mips64
2022-02-06 21:57:01 +01:00
florian
28964711d7
* sorted defines in the compiler: mips64 is defined on all 64 Bit mips platforms, mips64el for little endian, misp64eb for big endian
2022-02-06 21:57:01 +01:00
florian
f56b6728a5
+ skeletons for mips64el specific files
2022-02-06 20:32:43 +01:00
Florian Klämpfl
a6d6f93887
* revert accidently committed code
2022-02-06 20:15:00 +01:00
Florian Klämpfl
9348f58e70
* cosmetics
2022-02-06 20:13:51 +01:00
mattias
621dcbeaf2
pastojs: library added rtl.run, moved exports behind rtl.run, fixed export unit symbols
2022-02-06 19:16:48 +01:00
Karoly Balogh
568d4de77e
* aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental)
2022-02-06 16:30:04 +01:00
mattias
4f3093657e
pastojs: export from units
2022-02-06 14:37:13 +01:00
florian
a1f865ae45
* updated
2022-02-06 13:51:05 +01:00
florian
c1ef094457
+ startup code skeleton for MIPS64
2022-02-06 13:50:32 +01:00
florian
bd82ad0d41
* register MIPS64 targets properly
2022-02-06 10:50:57 +01:00
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