Commit Graph

61690 Commits

Author SHA1 Message Date
nickysn
e4c9f030af * more precise stack tracking in thlcgwasm.prepare_stack_for_ref
git-svn-id: branches/wasm@48264 -
2021-01-21 13:55:42 +00:00
nickysn
4d758a64c2 * make functions, that return result in param to not have a return type in WebAssembly
git-svn-id: branches/wasm@48260 -
2021-01-21 04:44:48 +00:00
nickysn
2bdd089645 - removed unused parameters from g_adjust_stack_after_call for WebAssembly
git-svn-id: branches/wasm@48259 -
2021-01-21 04:41:48 +00:00
nickysn
b3eca0e4f9 + produce a warning for values, remaining on top of stack at end of function
git-svn-id: branches/wasm@48258 -
2021-01-21 04:38:01 +00:00
nickysn
dd00619e1a * improved the accuracy of the stack tracking in g_adjust_stack_after_call
git-svn-id: branches/wasm@48257 -
2021-01-21 04:34:43 +00:00
nickysn
fdf1f7d966 * adjust stack correctly in a_op_stack
git-svn-id: branches/wasm@48256 -
2021-01-21 04:12:20 +00:00
nickysn
4e57c4d89e + enable smartlink sections for the llvm-mc assembler
git-svn-id: branches/wasm@48255 -
2021-01-21 03:50:24 +00:00
nickysn
60d21bcf0d * fix llvm-mc error for string constants missing a .size directive
git-svn-id: branches/wasm@48252 -
2021-01-21 02:59:59 +00:00
nickysn
8697fb4822 * write the WebAssembly procdefs in the standard way, instead of using the special JVM way
git-svn-id: branches/wasm@48251 -
2021-01-21 02:44:43 +00:00
nickysn
91ee50679f - disable the --allow-undefined linker option when linking for WASI
git-svn-id: branches/wasm@48250 -
2021-01-21 01:45:47 +00:00
nickysn
23e7e9530e + enable linker map file creation for the llvm WebAssembly linker. Note: this requires LLVM 12, which is not yet released.
git-svn-id: branches/wasm@48249 -
2021-01-20 23:55:19 +00:00
nickysn
062360341c * synchronized with trunk
git-svn-id: branches/wasm@48248 -
2021-01-20 23:34:58 +00:00
nickysn
c89a049102 + print 'linking' message for the WASI target
git-svn-id: branches/wasm@48247 -
2021-01-20 23:33:32 +00:00
nickysn
f83ef3c610 * avoid creating threadvar sections in the LLVM-MC WebAssembly output
git-svn-id: branches/wasm@48246 -
2021-01-20 23:13:14 +00:00
nickysn
99d8d8f296 * fixed several WebAssembly instruction names
git-svn-id: branches/wasm@48245 -
2021-01-20 23:08:33 +00:00
nickysn
ca3cf821f3 * fixed writing of floating point constants for the LLVM-MC assembler
git-svn-id: branches/wasm@48244 -
2021-01-20 23:00:52 +00:00
pierre
b88f9ad57c Reset paratargetdbg to dbg_none when handling -g- option, to really suppress debug information generation
git-svn-id: trunk@48243 -
2021-01-20 22:11:15 +00:00
nickysn
bc7f37dad7 * fixed compilation of the setjmp/longjmp dummy functions for WebAssembly
git-svn-id: branches/wasm@48242 -
2021-01-20 21:54:24 +00:00
nickysn
de15809f62 + added some WASM32 functions
git-svn-id: branches/wasm@48241 -
2021-01-20 21:43:55 +00:00
nickysn
899d718895 + more WASI rtl functions (dummy, not yet implemented)
git-svn-id: branches/wasm@48240 -
2021-01-20 21:38:53 +00:00
nickysn
6df4254c12 + added WASI sysdir.inc and sysfile.inc (functions not implemented yet)
git-svn-id: branches/wasm@48239 -
2021-01-20 21:29:40 +00:00
nickysn
9f69800394 + added some more WASI RTL constants
git-svn-id: branches/wasm@48238 -
2021-01-20 21:23:40 +00:00
Mattias Gaertner
c32ef4af38 pastojs: ord(integer)
git-svn-id: trunk@48237 -
2021-01-20 21:22:07 +00:00
Mattias Gaertner
af5a6cd9d2 fcl-passrc: resolver: ord(integer)
git-svn-id: trunk@48236 -
2021-01-20 21:21:56 +00:00
florian
7a3eb453d4 * arm/aarch64: patch by J. Gareth Moreton: fix register allocation information for Mov2None 2, should resolve #38055
git-svn-id: trunk@48235 -
2021-01-20 21:14:09 +00:00
nickysn
f8361cb5dd * fixed internal error with functions with ret_in_param result types and unitialized result
git-svn-id: branches/wasm@48234 -
2021-01-20 21:13:58 +00:00
Mattias Gaertner
13318117ed pastojs: nicer filer error messages
git-svn-id: trunk@48233 -
2021-01-20 21:04:27 +00:00
nickysn
0651e88682 * fixed wasm32 compilation error in setjump.inc
git-svn-id: branches/wasm@48232 -
2021-01-20 20:57:42 +00:00
Mattias Gaertner
eaa519209e pastojs: fixed if then asm a;b end
git-svn-id: trunk@48231 -
2021-01-20 20:24:38 +00:00
nickysn
ed9b14bc20 + allow int64 as for loop counter also for 32-bit targets with a 64-bit ALU
git-svn-id: branches/wasm@48229 -
2021-01-20 16:29:30 +00:00
pierre
62edfa5584 Change parameter type of Build* procedure from out to var, as the StringList is created in calling main
This avoid a warning during compliaztion and a crash when compiled with -gt* option.

git-svn-id: trunk@48228 -
2021-01-20 13:20:11 +00:00
pierre
0f575de1dd Fix compilation for OpenBSD target after changes that use libc by default
git-svn-id: trunk@48227 -
2021-01-20 12:39:21 +00:00
yury
fe09efbd0e * Removed usage the Windows unit from the tregistry2 test.
git-svn-id: trunk@48226 -
2021-01-20 09:46:44 +00:00
nickysn
780ded903a * synchronized with trunk
git-svn-id: branches/wasm@48225 -
2021-01-19 23:01:55 +00:00
pierre
4111e13017 Avoid inlining of real constant for m68k if type is not best precision
git-svn-id: trunk@48224 -
2021-01-19 22:33:32 +00:00
pierre
0055023394 Also set __stkptr inside cprt0.as and dllprt0.as startup assembly sources
git-svn-id: trunk@48223 -
2021-01-19 22:30:59 +00:00
pierre
83a1f5fbc3 Also set __stkptr inside cprt0.as startup assembly source
git-svn-id: trunk@48222 -
2021-01-19 22:28:37 +00:00
florian
85afaf5289 * patch by J. Gareth Moreton: Unitialized result variable fix on non-x86 debug builds, resolves #38371
git-svn-id: trunk@48221 -
2021-01-19 21:04:41 +00:00
nickysn
2f233adda2 + dummy WASI heap functions
git-svn-id: branches/wasm@48220 -
2021-01-19 19:55:34 +00:00
nickysn
774f6f650d + dummy setjmp/longjmp implementation for WebAssembly
git-svn-id: branches/wasm@48219 -
2021-01-19 19:38:25 +00:00
nickysn
b8367e3152 + added fpc_cpuinit for WebAssembly
git-svn-id: branches/wasm@48218 -
2021-01-19 19:31:35 +00:00
nickysn
55db998529 + uncommented the setjump/longjump declarations, in order to get more of the RTL to compile
git-svn-id: branches/wasm@48217 -
2021-01-19 19:30:16 +00:00
nickysn
7a15157387 + dummy implementation of the code generator for the try..except node for WebAssembly
git-svn-id: branches/wasm@48216 -
2021-01-19 19:28:27 +00:00
nickysn
f99e74866d + dummy override of WebAssembly handle_nested_exception
git-svn-id: branches/wasm@48215 -
2021-01-19 19:20:02 +00:00
nickysn
2150d935cf + dummy override for WebAssembly free_exception
git-svn-id: branches/wasm@48214 -
2021-01-19 19:18:15 +00:00
nickysn
c5fae9f214 + implemented second_ansistring_to_pchar for WebAssembly
git-svn-id: branches/wasm@48213 -
2021-01-19 19:15:18 +00:00
nickysn
0f235f38ab + introduced thlcgwasm.a_loadaddr_ref_stack
git-svn-id: branches/wasm@48212 -
2021-01-19 19:11:17 +00:00
Mattias Gaertner
b460f87fd4 fcl-passrc: fixed checking statement after except-on
git-svn-id: trunk@48211 -
2021-01-19 19:08:26 +00:00
yury
30587299ea * TRegIniFile: When accessing a section do not change/close the current open key.
* TRegIniFile should work properly with the XML registry. The tregistry2 test should work on any platform.

git-svn-id: trunk@48210 -
2021-01-19 17:38:36 +00:00
yury
5d69ba2cd8 * TXmlRegistry: When a key name starts with \ or / it means the absolute path to the key is specified. So ignore the currently selected key when an absolute key is requested.
git-svn-id: trunk@48209 -
2021-01-19 17:30:11 +00:00