Commit Graph

901 Commits

Author SHA1 Message Date
Nikolay Nikolov
8ac46ed38c Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-20 13:31:32 +03:00
Michael VAN CANNEYT
a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols
(cherry picked from commit 9e5ee68887)
2023-06-19 15:33:15 +02:00
Michael VAN CANNEYT
5605cebd46 * Implement -t and -x options
* Fix spurious warning of already specified -t
* If no subtarget file found, error out instead of hint/warn
* Globals needs subtarget for macro substitution
2023-06-19 07:04:50 +00:00
Nikolay Nikolov
8acf2e3ff3 + print a proper error message if a suspending external is used on a non-WebAssembly platform 2023-06-17 12:46:44 +03:00
Nikolay Nikolov
f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform 2023-06-16 15:44:58 +03:00
Nikolay Nikolov
f670ebbb28 * disallow WebAssembly reference types to be declared as var, constref or out parameters 2023-06-11 08:17:06 +03:00
Nikolay Nikolov
8743f72f11 + disallow taking the address of WebAssembly externref type 2023-06-11 04:01:58 +03:00
Michaël Van Canneyt
0515be62b4 * Add option to allow emitting comments in RTTI info 2023-05-29 13:41:25 +00:00
florian
8ae016fb85 * clearified message is mentioned in documentation issue 39349 2023-05-21 15:38:21 +02:00
florian
d06852e6e9 + exec_e_cant_call_linker shows now the error message 2023-02-11 21:07:01 +01:00
Tomas Hajny
1bb4003984 * messages regenerated after fixing #40008 2022-12-31 17:31:31 +01:00
Ondrej Pokorny
55629aeb19 do not publish enums with jumps 2022-08-16 20:47:44 +02:00
Jonas Maebe
7bad177139 msg files: regenerated 2022-07-06 22:26:13 +02:00
Nikolay Nikolov
14dc066d6b + added check whether PPU and program are compiled in the same WebAssembly
exceptions mode (either both are turned on, or both are turned off)
2022-06-21 23:12:28 +03:00
Jonas Maebe
49ad3b0d2c msg*.inc: regenerated 2022-06-04 10:23:28 +02:00
Sven/Sarah Barth
2688834265 * regenerate msg{idx,txt}.inc 2022-05-31 22:50:14 +02:00
Nikolay Nikolov
1fce5121f3 + added the 'wasmthreads' target switch (enabled via -CTwasmthreads) 2022-05-28 01:18:55 +03:00
Sven/Sarah Barth
0e0739a64f * regenerate msg{idx,txt}.inc 2022-05-26 21:44:22 +02:00
Sven/Sarah Barth
1d4c28fb35 * regenerate msg{idx,txt}.inc after message change in last commit 2022-05-26 21:43:35 +02:00
Nikolay Nikolov
6ee4ee960e + added "(experimental)" to the compiler help screen for the WebAssembly compiler options that are still unstable/experimental 2022-05-26 18:20:07 +03:00
Nikolay Nikolov
66b471e516 + support different versions of llvm-mc (version 10 seems to be the earliest that works) 2022-05-26 15:06:35 +03:00
Nikolay Nikolov
3994626cb1 * fixed the message in the previous commit 2022-05-26 14:14:46 +03:00
Nikolay Nikolov
0c6287894b * the WebAssembly internal assembler renamed WASM (previously it was OMF, which was the ID of the MS-DOS .obj writer, which I forgot to rename) 2022-05-26 14:12:10 +03:00
Pierre Muller
e0de75224b Add help for -Aomf option for wasm32 CPU and new message for ogwasm binary writer 2022-05-26 00:28:47 +02:00
florian
6556d18bed * better fix for #39634 which avoids breaking existing code 2022-04-22 22:08:46 +02:00
florian
559fcdf736 * forbid cyclic pointer definitions, resolves #39634 2022-04-21 20:03:05 +02:00
Pierre Muller
85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 2022-04-11 22:10:48 +00:00
florian
4718029fe0 * do not throw an error if syscall is used with a syntax not applicable for the current
target, resolves #39640
2022-03-30 23:07:34 +02:00
Karoly Balogh
e9dc638a76 * regenerated message files after CPC naming fix 2022-03-09 13:41:06 +01:00
Karoly Balogh
61f9bc35e9 * regenerated message files after adding the z80-amstradcpc target files 2022-03-06 22:08:25 +01:00
florian
ae89261008 * prevent that a absolute symbol references itself, resolves #39604 2022-03-06 22:01:56 +01:00
florian
546455faca * throw error properly if a target does not support sections 2022-02-22 22:08:53 +01:00
Karoly Balogh
c85bef5494 * regenerated message files 2022-02-21 11:40:43 +01: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
Karoly Balogh
9739a88e11 * regenerated message includes 2022-01-25 23:50:07 +01:00
marcoonthegit
45840da4dd * fixed spelling error implicitEly in errore.msg, regenned msg. 2022-01-22 17:00:24 +01:00
florian
89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 2022-01-06 21:13:19 +01:00
ccrause
5944631246 Add help message for xtensa-freertos -WP option 2022-01-05 22:05:19 +00:00
florian
550d0481b3 * better error message 2021-11-11 22:52:21 +01:00
florian
d708bef92f + Aarch64: read register sets with ranges properly
+ tests
2021-11-07 20:02:29 +01:00
florian
dcb1fcd9b8 + support $lgeacyifend directive, resolves #37676 2021-11-01 23:24:42 +01:00
Nikolay Nikolov
344da9597f + added the current WebAssembly exceptions mode to the .ppu module flags and
perform a check to ensure all units are compiled in the same exceptions mode
  as the main program
2021-10-08 23:50:28 +03:00
Nikolay Nikolov
2577180b93 + introduced WebAssembly branchful exceptions 2021-10-04 00:10:31 +03:00
Nikolay Nikolov
bdbdf26168 + added validation to ensure no more than one WebAssembly exception support
mode is enabled
+ set the NOEXCEPTIONS mode by default for the WebAssembly targets
2021-09-16 23:09:20 +03:00
Nikolay Nikolov
08b07122f8 + added usage info to the compiler help screen for the WebAssembly
target-specific exception handling modes
2021-09-16 22:23:18 +03:00
ccrause
f134e3b0ee Sorted help options. 2021-08-29 21:14:23 +00:00
ccrause
968d00fedf + 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-08-24 17:01:50 +00:00
Florian Klämpfl
62baa89646 Merge remote-tracking branch 'origin/main' into tg74/avx512-0037785
# Conflicts:
#	.gitattributes
#	compiler/msgidx.inc
#	compiler/msgtxt.inc
2021-08-10 23:30:02 +02:00
florian
ce1f9cce01 * throw an error if esp/rsp are used as index register
git-svn-id: trunk@49568 -
2021-06-27 21:21:19 +00:00
pierre
f0b322f4ed Add -TFreeBSD target OS option to -h output for aarch64 compiler ppc64
git-svn-id: trunk@49293 -
2021-04-29 21:59:32 +00:00