Commit Graph

522 Commits

Author SHA1 Message Date
Nikolay Nikolov
020a58b075 + added system_wasm32_embedded to systems_embedded 2021-10-02 23:14:24 +03:00
Nikolay Nikolov
026d23632a + added the memory.copy and memory.fill WebAssembly instructions 2021-10-02 19:35:26 +03:00
ccrause
e310be017e + Add support for -Adefault.
* Move help message for option -sT to the correct group of messages. 
  * Use shorter message to indicate switch to external asm. 
  * Adapted -sX messages because -sT doesn't force external assembler writer.
2021-09-01 09:31:14 +02:00
Károly Balogh
f0cc2c38b8 sinclairql: enable weak linking support for the Sinclair QL
git-svn-id: trunk@49363 -
2021-05-14 14:49:14 +00:00
Jonas Maebe
d8021a1102 + FreeBSD/AArch64 support (patch by Mikaël Urankar, mantis #38441)
git-svn-id: trunk@49157 -
2021-04-10 07:57:28 +00:00
Jonas Maebe
ca399f3c71 * don't generate high-level CFI statements when the selected assembler
does not support them, even if the target normally uses them
   o fixes assembling with -Aas-darwin for i386/arm/x86-64 (on OS
     versions that used those)

git-svn-id: trunk@49138 -
2021-04-08 19:50:27 +00:00
svenbarth
e53d18d876 * Windows on ARM64 adheres to the usual Aarch64 ABI, thus references need to be copied on the caller side as well
git-svn-id: trunk@49103 -
2021-04-02 15:25:05 +00:00
nickysn
64bb0359d2 * synchronized with trunk
git-svn-id: branches/wasm@48412 -
2021-01-24 23:38:35 +00:00
florian
1f49e633b6 + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file
git-svn-id: trunk@48394 -
2021-01-24 14:21:03 +00:00
nickysn
807c743e35 * system identifier system_wasm32_wasm renamed system_wasm32_embedded
git-svn-id: branches/wasm@48362 -
2021-01-24 01:01:39 +00:00
nickysn
f5f15e3dbf + added startup code for WASI
git-svn-id: branches/wasm@48304 -
2021-01-22 00:41:51 +00:00
nickysn
4ea7d8dffb + enable the sign extension wasm32 instructions
git-svn-id: branches/wasm@47975 -
2021-01-02 15:07:38 +00:00
nickysn
509821260e * synchronized with trunk
git-svn-id: branches/wasm@47448 -
2020-11-19 01:12:38 +00:00
pierre
f0b22a1569 Revert commit #47257, Disable use of cmov instructions in alignment patterns for some i386 targets (it prevents use of some emulators)
Replace it by a new set of i386 targets, for which the default cpu is set to i80486 instead of pentium2
  to avoid (for default configuration) use of CMOVxx or PREFETCHyyy instructions, not supported by some emulators.

git-svn-id: trunk@47433 -
2020-11-16 17:04:46 +00:00
nickysn
d3d51d2f7e * synchronized with trunk
git-svn-id: branches/wasm@47338 -
2020-11-07 22:40:43 +00:00
Károly Balogh
519701960c m68k: initial commit to add the Sinclair QL as a compiler target
git-svn-id: trunk@47307 -
2020-11-04 14:20:28 +00:00
pierre
f674ed0324 Disable use of cmov instructions in alignment patterns for some i386 targets (it prevents use of some emulators)
git-svn-id: trunk@47257 -
2020-10-30 16:12:47 +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
f17af139d3 + defined systems_wasm (the set of all WebAssembly systems)
git-svn-id: branches/wasm@46981 -
2020-09-28 02:48:53 +00:00
nickysn
78ad7b7dfa * synchronized with trunk
git-svn-id: branches/wasm@46466 -
2020-08-16 23:43:13 +00:00
yury
324deca817 * wlib: Explicitly specify the smallest possible record align to reduce the size of .a files.
git-svn-id: trunk@46462 -
2020-08-16 17:08:00 +00:00
nickysn
f0aca344dc * synchronized with trunk
git-svn-id: branches/wasm@46418 -
2020-08-14 02:04:01 +00:00
svenbarth
dc4637862f + add a constant that describes all internal COFF writers (be it PE/COFF or not)
git-svn-id: trunk@46409 -
2020-08-13 05:42:36 +00:00
nickysn
896efa4d77 * set exe ext of the WASI target to .wasm
git-svn-id: branches/wasm@46289 -
2020-08-06 14:33:11 +00:00
nickysn
0c04e99211 * increased shortstring length to accomodate the WASI long name
git-svn-id: branches/wasm@46263 -
2020-08-05 16:11:12 +00:00
nickysn
080aa1ca74 + added target WASI, clone of the 'WASM' target
git-svn-id: branches/wasm@46259 -
2020-08-05 15:36:08 +00:00
nickysn
c210f63105 * ifdef changed to wasm32
git-svn-id: branches/wasm@46258 -
2020-08-05 15:26:34 +00:00
nickysn
92f6840721 * more wasm -> wasm32 renames
git-svn-id: branches/wasm@46257 -
2020-08-05 14:44:34 +00:00
nickysn
4a74238a0d * system_wasm_wasm32 renamed system_wasm32_wasm
git-svn-id: branches/wasm@46256 -
2020-08-05 14:32:41 +00:00
nickysn
62cb7c2d12 * synchronized with trunk
git-svn-id: branches/wasm@46214 -
2020-08-03 21:15:39 +00:00
nickysn
a893f06813 [PATCH 55/83] minor fixes and cleanups for the wasm target (#1)
* wasm: add support to the Makefile.fpc files. Makefiles needs to be regen'd

* wasm: include fpcdefs.inc in all units

* wasm: one more missing fpcdefs.inc

* wasm: define some system macro defaults

* + increase the size of some tsysteminfo fields, as wasm uses longer names, this fixes some warnings

* wasm: fixed mkwasmreg program name

* wasm: don't override MakeCmdLine, the inherited function serves us just fine, as it also replaces . Also fixes a warning about result being uninitialized

From 3f1ed3fd157d3ed217ef8845ade8e3e3630f424b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?K=C3=A1roly=20Balogh?= <charlie@amigaspirit.hu>
Date: Mon, 23 Sep 2019 04:08:46 +0200

git-svn-id: branches/wasm@45932 -
2020-07-29 19:02:27 +00:00
Jonas Maebe
eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm
+ added support for constructing target triplets
  * pass "-target triplet" when using an LLVM assembler
   o removed no longer needed $DARWINVERSION and $ARCH parameters
  * consistently use as_clang_gas when clang is used to assembler GAS-style
    assembly, and rename as_llcm_clang to as_clang_llvm (for consistency)
  * support pipe assembling when using clang on *nix in all cases

git-svn-id: trunk@45807 -
2020-07-19 14:30:35 +00:00
pierre
509cf3f1ae Adapt tsysteminfo.shortname string field length to MacOSclassic
git-svn-id: trunk@45763 -
2020-07-10 23:23:56 +00:00
Jonas Maebe
e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS
* rename the m68k/PowerPC-MacOS targets to m68k/PowerPC-MacOSClassic
  * repurpose the AArch64/Darwin target for AArch64/macOS
   o make AArch64-Darwin default target for a hosted AArch64-Darwin compiler

git-svn-id: trunk@45758 -
2020-07-10 21:52:24 +00:00
pierre
12cb72893d Obsolete system_mips_embedded, as it is a duplicate of system_mipseb_embedded
git-svn-id: trunk@45720 -
2020-07-02 16:26:13 +00:00
svenbarth
921e73ab0c + add compiler support for the Z80 MSX-DOS target
git-svn-id: trunk@45596 -
2020-06-06 17:16:20 +00:00
Károly Balogh
695a260ff8 zxspectrum: added support for linking via vlink, and for pascal sysinit code. also some cleanup in the linker code
git-svn-id: trunk@45169 -
2020-04-29 01:32:48 +00:00
nickysn
6f6598712f * synchronized with trunk
git-svn-id: branches/z80@45131 -
2020-04-26 22:33:58 +00:00
florian
db9a284d60 * simplify xtensa-linux building
git-svn-id: trunk@45124 -
2020-04-26 20:54:22 +00:00
nickysn
3e38e3acc5 + added system_z80_embedded to systems_embedded
git-svn-id: branches/z80@45101 -
2020-04-26 14:45:31 +00:00
nickysn
8bd38e0e29 + added new ar - sdcc-sdar
git-svn-id: branches/z80@45072 -
2020-04-25 15:28:35 +00:00
nickysn
a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the
output label to that length

git-svn-id: branches/z80@45066 -
2020-04-25 12:59:25 +00:00
nickysn
86643f8a34 * synchronized with trunk
git-svn-id: branches/z80@44981 -
2020-04-21 23:36:44 +00:00
svenbarth
3af74d2fd2 + implement initial compiler support for Win64 on Aarch64
git-svn-id: trunk@44914 -
2020-04-21 06:04:22 +00:00
svenbarth
3e29742fd9 * for PE+ specific checks use a constant in systems.pas instead of an explicit list (easier to extend this way)
git-svn-id: trunk@44912 -
2020-04-21 06:04:10 +00:00
nickysn
2f68090dd6 * synchronized with trunk
git-svn-id: branches/z80@44898 -
2020-04-20 22:42:08 +00:00
florian
8ac8c79a71 + initial support for arm-freertos largely based on patch by Michael Ring
git-svn-id: trunk@44871 -
2020-04-19 20:59:52 +00:00
nickysn
492b073e86 + increased max string length tsysteminfo.shortname, so 'zxspectrum' fits
git-svn-id: branches/z80@44817 -
2020-04-19 01:25:39 +00:00
nickysn
d2c32efb7b * synchronized with trunk
git-svn-id: branches/z80@44809 -
2020-04-18 23:47:30 +00:00
Jonas Maebe
ea2e516b4e + -ib parameter to print the code generator backend type: FPC or LLVM
* some cleanups related to -i printing

git-svn-id: trunk@44787 -
2020-04-18 15:44:42 +00:00