Commit Graph

566 Commits

Author SHA1 Message Date
Nikolay Nikolov
c515d45026 + added new target to the compiler: wasm32-wasip2. Not working, yet. 2025-03-10 21:53:40 +02:00
Michaël Van Canneyt
0ebb98da7b * Remove debug output 2025-03-03 15:22:32 +01:00
Michaël Van Canneyt
aeef060a0b * Enlarge target os/full variable for wasip1threads 2025-03-03 15:21:13 +01:00
Michaël Van Canneyt
aaf0bf7e19 * wasip1threads needs 14 characters 2025-03-03 14:59:49 +01:00
Nikolay Nikolov
51035eb0f4 + added system_wasm32_wasip1threads to systems_internal_sysinit 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
698e16a12d + added system_wasm32_wasip1threads to systems_wasm 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
55d3d1447c * increased string size of tsysteminfo.shortname in order to fit 'wasip1threads' 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
4340d03ba9 + compiler support for a new target: wasip1threads 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
2bc965ee28 * the name string of the WASI target changed from 'The WebAssembly System Interface (WASI)' to 'The WebAssembly System Interface Preview 1 (WASI 0.1)' 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 2025-02-28 15:12:19 +02:00
Kirill Kranz
dad75d4472 clearing the bss section on startup
this allows smart linking
2024-11-09 09:27:27 +00:00
Kirill Kranz
66f73d466b psy-q-sdk lib duplicate named *.o files excluded from link 2024-09-29 16:59:02 +03:00
Kirill Kranz
63d9c1f077 random new lines removed 2024-09-29 16:58:12 +03:00
Kirill Kranz
52651a7ede First compiler Build 2024-09-29 16:56:18 +03:00
J. Gareth "Curious Kit" Moreton
677fd4fb00 * Added missing i386-win32 target selection 2024-09-09 14:24:05 +01:00
Rika Ichinose
ce5a632432 Remove the rest of the VER3_0 conditionals. 2024-09-01 17:13:39 +00:00
Nikolay Nikolov
a76ca8f60e + pass '--no-type-check' to llvm-mc-13, because its type checking is broken 2024-09-01 20:03:29 +03:00
Sven/Sarah Barth
f584c559fd * fold the MIPS tabitype into tabi as the former wasn't really used or hooked up anyway; this way the ABI can be set using -Ca<abi> 2024-06-04 23:45:46 +02:00
Pierre Muller
291532e740 Do not set default target to system_sparc64_solaris on solaris OS for sparc64 compiler as this target is not yet supported 2024-05-14 06:44:39 +00:00
Karoly Balogh
ba773e3385 human68k: this system has internal sysinit 2023-11-30 23:43:27 +00:00
Pierre Muller
31c8e78581 Default to external assembler
in cross-endian configuration.

  Add note about reason of switching to external assembler.
2023-11-12 17:26:19 +00:00
Nikolay Nikolov
48556ab039 + enable the reference types extension in llvm-mc via a command line option 2023-06-07 03:30:40 +03:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
florian
67864b662a * fix systems_freertos 2023-02-11 20:49:52 +01:00
florian
87ec3d6fad + completed identifiers for RiscV ABIs 2023-02-08 22:26:58 +01:00
Jinyang He
92e60d2107 add loongarch64 linux rtl support 2023-02-05 19:18:48 +00:00
Jinyang He
3d2c96ebbf Add loongarch64 linux support to compiler 2023-02-05 19:18:48 +00:00
Jinyang He
12c4290ffe Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
Jonas Maebe
e62cf5b9e7 systems_iphonesym -> systems_iphonesim
It's a simulator, not a symbolator
2022-10-30 21:57:18 +01:00
Karoly Balogh
3695bb5da5 powerpc-morphos: enable 'section' keyword support, and force the startup code to be in the .text section, to fix linking external objects with unnamed sections on this platform 2022-08-27 19:19:42 +02:00
Nikolay Nikolov
55482bd876 + allow the 'section' directive for the WebAssembly platforms 2022-07-25 01:09:09 +03:00
Pierre Muller
eed6effe27 Put systems_bsd into systems_weak_linking to fix heaptrc compilation failure for netbsd and dragonfly target OS introduced by commit ae346a87 2022-06-16 21:49:50 +00:00
Jonas Maebe
16cb409fbf LLVM: separate as_clang_llvm_darwin
The Darwin local label prefix ('L') is different from that on most other
platforms ('.L). While LLVM generally handles that for us, for inline
assembly it's still FPC's job to adhere to the target conventions.
2022-05-14 22:38:49 +02:00
Jonas Maebe
d294731542 LLVM: enable DWARF debug info generation 2022-05-13 22:49:02 +02:00
Nikolay Nikolov
ddab39dbdc + enable the atomics extension on the llvm-mc command line (extension appears
to be recognized since LLVM 8.0, so it should be safe to always enable this
  from the llvm-mc command line)
2022-05-13 21:15:54 +03:00
ccrause
738a0a35de Add section directive for subroutines for embedded and freertos systems. 2022-02-22 20:51:32 +00:00
Jonas Maebe
14289173bb PPC64: fix wrong ifdef for SYSV ABI
The TOC is used by PPC64, not by PPC32. Resolves #39571
2022-02-12 15:26:49 +01:00
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
Jonas Maebe
629c1de460 TOC handling: clean up
Also fix on 32 bits PowerPC
2022-02-06 22:10:06 +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
c1ef094457 + startup code skeleton for MIPS64 2022-02-06 13:50:32 +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
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00:00
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