mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 23:28:13 +02:00
+ also handle system_wasm32_wasip1threads in the compiler anywhere system_wasm32_wasip1 is handled
This commit is contained in:
parent
51035eb0f4
commit
d1dbbc0a35
@ -566,6 +566,7 @@ implementation
|
||||
writer.AsmWrite('.csect ');
|
||||
end;
|
||||
system_wasm32_wasip1,
|
||||
system_wasm32_wasip1threads,
|
||||
system_wasm32_embedded:
|
||||
begin
|
||||
writer.AsmWrite('.section ');
|
||||
|
@ -6497,7 +6497,7 @@ implementation
|
||||
idtxt : 'WASM';
|
||||
asmbin : '';
|
||||
asmcmd : '';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_outputbinary,af_smartlink_sections];
|
||||
labelprefix : '..@';
|
||||
labelmaxlen : -1;
|
||||
|
@ -199,7 +199,8 @@ implementation
|
||||
if heapsize=0 then
|
||||
heapsize:=65536;
|
||||
end;
|
||||
system_wasm32_wasip1:
|
||||
system_wasm32_wasip1,
|
||||
system_wasm32_wasip1threads:
|
||||
begin
|
||||
if ts_wasm_threads in init_settings.targetswitches then
|
||||
maxheapsize:=256*1024*1024
|
||||
|
@ -590,7 +590,7 @@ implementation
|
||||
idtxt : 'BINARYEN';
|
||||
asmbin : 'wasm-as';
|
||||
asmcmd : '$ASM $EXTRAOPT';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [];
|
||||
labelprefix : 'L';
|
||||
labelmaxlen : -1;
|
||||
|
@ -438,7 +438,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-10';
|
||||
asmbin : 'llvm-mc-10';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics --filetype=obj -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -451,7 +451,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-11';
|
||||
asmbin : 'llvm-mc-11';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -464,7 +464,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-12';
|
||||
asmbin : 'llvm-mc-12';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -489,7 +489,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-13';
|
||||
asmbin : 'llvm-mc-13';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -506,7 +506,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-14';
|
||||
asmbin : 'llvm-mc-14';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -525,7 +525,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-15';
|
||||
asmbin : 'llvm-mc-15';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -541,7 +541,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-16';
|
||||
asmbin : 'llvm-mc-16';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -561,7 +561,7 @@ implementation
|
||||
idtxt : 'LLVM-MC-17';
|
||||
asmbin : 'llvm-mc-17';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
@ -577,7 +577,7 @@ implementation
|
||||
idtxt : 'LLVM-MC';
|
||||
asmbin : 'llvm-mc';
|
||||
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [af_smartlink_sections];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
|
@ -1094,7 +1094,7 @@ implementation
|
||||
idtxt : 'WASA';
|
||||
asmbin : 'wasa';
|
||||
asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM';
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1];
|
||||
supported_targets : [system_wasm32_embedded,system_wasm32_wasip1,system_wasm32_wasip1threads];
|
||||
flags : [];
|
||||
labelprefix : 'L';
|
||||
labelmaxlen : -1;
|
||||
|
Loading…
Reference in New Issue
Block a user