Commit Graph

69113 Commits

Author SHA1 Message Date
marcoonthegit
66520ad5ab * add dragonfly and openbsd to cnetdb target list 2024-01-08 15:29:21 +01:00
Karoly Balogh
020ca55e25 m68k: add more cases, where TST instructions can beoptimized away, because the previous instruction already sets all the required flags 2024-01-08 15:06:38 +01:00
Karoly Balogh
3c57eb42f9 do not display the changing assembler note, if the internal and the external assemblers are the same, or there's no internal assembler defined 2024-01-08 14:19:20 +01:00
Karoly Balogh
db137d0528 tabs to spaces cosmetics, no functional change 2024-01-08 14:19:20 +01:00
Pierre Muller
e429be38e8 Fix compilation of fcl-process for wince target OS, FIXME: untested :-( 2024-01-08 11:28:20 +01:00
Karoly Balogh
6ef3aef5f2 m68k-sinclairql: regenerated Makefile 2024-01-08 02:22:15 +01:00
Karoly Balogh
21156bc5d3 m68k-sinclairql: fixed the installation of many units that are otherwise built 2024-01-08 02:22:15 +01:00
Karoly Balogh
a1863d8dc8 m68k-sinclairql: also build the various softfpu flavors for the QL 2024-01-08 02:22:15 +01:00
Karoly Balogh
be4e5f240c m68k-sinclairql: make heaptrc compile for the QL 2024-01-08 02:22:15 +01:00
Karoly Balogh
3b7a347169 m68k-human68k: regenerated Makefile 2024-01-08 02:22:15 +01:00
Karoly Balogh
919b556049 m68k-human68k: fix installation of sysconts and heaptrc units 2024-01-08 02:22:15 +01:00
Nikolay Nikolov
fbcd90f286 + generate DWARF debug info for WebAssembly locals 2024-01-08 01:18:35 +02:00
Pierre Muller
3edd92dab1 Examinc OPT and CROSSOPT instead of FPCOPT in [prerules] to check if syscall unit needs objpas dependency 2024-01-07 23:23:49 +01:00
Michaël Van Canneyt
82ac429954 * Fix missing escape for dollar sign 2024-01-07 20:19:38 +01:00
Sven/Sarah Barth
170c05592b * ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64) 2024-01-07 18:09:51 +01:00
Sven/Sarah Barth
98a25439c3 + add a test that checks for correct working of the legacy method table 2024-01-07 18:09:51 +01:00
Sven/Sarah Barth
7163a893e9 * search using the real package name instead of the uppercased one so that an as-is cased package will be found as well 2024-01-07 18:09:50 +01:00
florian
7bb9638094 * copyright year updated 2024-01-07 17:58:52 +01:00
florian
f7bfa0e426 * range checking is already performed in pass_typecheck 2024-01-07 17:51:35 +01:00
florian
dbf6527508 * factor out pointer_dec 2024-01-07 17:32:50 +01:00
J. Gareth "Curious Kit" Moreton
1f178d381f * x86: PostPeepholeOptMov attempts to convert mov $0,%reg to
xor %reg,%reg and mov $-1,%reg to or $-1,%reg under
	 -Os even if the flags are in use by looking ahead.
2024-01-07 14:29:42 +00:00
J. Gareth "Curious Kit" Moreton
63879e74cd * x86: Additional TEST/CMP optimisations to optimise CMOV blocks
that aren't optimal due to register pressure
2024-01-07 14:29:42 +00:00
J. Gareth "Curious Kit" Moreton
0b6faeba68 * x86: CMOV block optimisation overhauled 2024-01-07 14:29:42 +00:00
Pierre Muller
9dc75c3005 Avoid double declaration of seterrno 2024-01-07 14:40:04 +01:00
Pierre Muller
b1e1a107d3 Fix compilation of syscall unit for i386-beos target 2024-01-07 14:13:03 +01:00
Michaël Van Canneyt
859fa9fe8f * Some fixes in code generation 2024-01-07 14:02:53 +01:00
mattias
c90503812a fcl-js: fixed TBufferWriter on nodejs 2024-01-07 13:48:46 +01:00
mattias
20ac72e7aa pastojs: fixed parsing multi line comment 2024-01-07 12:53:48 +01:00
mattias
03d7518b9b pas2js: updated nodepas2js and compile with ecmascript6 2024-01-07 12:53:20 +01:00
Nikolay Nikolov
e3f4bad164 * fixed internal linker crash if no tags are defined (i.e. no WASM native exceptions used) 2024-01-07 03:29:32 +02:00
Nikolay Nikolov
9681378d37 + enable the WASI internal linker 2024-01-07 03:17:07 +02:00
Nikolay Nikolov
93365f7e38 * wasm internal linker: produce an internal error on unknown relocations 2024-01-07 02:41:53 +02:00
Nikolay Nikolov
cd72a8910e + wasm internal linker: implemented RELOC_TAG_INDEX_LEB relocations 2024-01-07 02:39:57 +02:00
Nikolay Nikolov
4084da63ab + wasm internal linker: create the tag section (if not empty) 2024-01-07 02:35:35 +02:00
Nikolay Nikolov
033a2ae2e7 * wasm internal linker: set mempos of the .wasm_tags (and .wasm_globals) section to 0 2024-01-07 02:12:49 +02:00
Nikolay Nikolov
6b47a03cc9 * wasm internal object reader: handle tag symbol flags properly (support weak and local symbols) 2024-01-07 02:08:32 +02:00
Nikolay Nikolov
59c88f4c79 + WASI internal linker: added the .wasm_tags exe section to the linker script 2024-01-07 01:56:34 +02:00
Nikolay Nikolov
1d48cd7eba * wasm internal linker: treat exception symbols as AB_COMMON 2024-01-07 01:50:16 +02:00
Nikolay Nikolov
07677f4214 * wasm internal object reader: convert R_WASM_TAG_INDEX_LEB relocations to relocation objects 2024-01-07 01:45:27 +02:00
Nikolay Nikolov
3121f3f8a0 * wasm internal object reader: validate that R_WASM_TAG_INDEX_LEB relocations point to a SYMTAB_EVENT symbol 2024-01-07 01:43:47 +02:00
Nikolay Nikolov
962b36a6e8 + wasm internal object reader: create symbols for SYMTAB_EVENT entries in the symbol table 2024-01-07 01:42:12 +02:00
Nikolay Nikolov
09accffd28 + wasm internal object reader: range check event symbols against the tag index space (imports + tag section) 2024-01-07 01:33:00 +02:00
Nikolay Nikolov
02b7cc0e56 + wasm internal object reader: read tags from the export section 2024-01-07 01:29:10 +02:00
Nikolay Nikolov
79d739baa6 + wasm internal object reader: bounds check the tag type index against the types table 2024-01-07 01:25:48 +02:00
Nikolay Nikolov
2de0bcb8d0 + wasm internal object reader: store the tags from the tag section in the TagTypes array 2024-01-07 01:23:05 +02:00
Nikolay Nikolov
55002d1905 + wasm internal object reader: read tag imports 2024-01-07 01:15:13 +02:00
Nikolay Nikolov
c527437594 + wasm internal object reader: parse the tag section 2024-01-07 01:06:04 +02:00
Nikolay Nikolov
7f3ed9e85c * wasm internal linker: skip the element section when reading object files. This fixes linking with object modules, produced by the external assembler. 2024-01-07 00:11:59 +02:00
Nikolay Nikolov
6a9376cb9e * wasm internal linker: fixed the relocation of imported function symbol aliases 2024-01-06 23:53:15 +02:00
Nikolay Nikolov
b8db469c48 + WASI internal linker: simplify linker script generation for the .text, .rodata, .data and .bss sections via the use of ScriptAddGenericSections 2024-01-06 23:26:14 +02:00