+ enable the reference types extension in llvm-mc via a command line option

This commit is contained in:
Nikolay Nikolov 2023-06-07 03:30:40 +03:00
parent 3b3a0a660c
commit 48556ab039
2 changed files with 5 additions and 5 deletions

View File

@ -86,7 +86,7 @@ interface
id : tasm;
idtxt : string[17];
asmbin : string[16];
asmcmd : string[121];
asmcmd : string[138];
supported_targets : set of tsystem;
flags : set of tasmflags;
labelprefix : string[3];

View File

@ -372,7 +372,7 @@ implementation
id : as_wasm32_llvm_mc_v11;
idtxt : 'LLVM-MC-11';
asmbin : 'llvm-mc-11';
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics --filetype=obj -o $OBJ $EXTRAOPT $ASM';
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_wasi];
flags : [af_smartlink_sections];
labelprefix : '.L';
@ -385,7 +385,7 @@ implementation
id : as_wasm32_llvm_mc_v12;
idtxt : 'LLVM-MC-12';
asmbin : 'llvm-mc-12';
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics --filetype=obj -o $OBJ $EXTRAOPT $ASM';
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_wasi];
flags : [af_smartlink_sections];
labelprefix : '.L';
@ -398,7 +398,7 @@ implementation
id : as_wasm32_llvm_mc_v13;
idtxt : 'LLVM-MC-13';
asmbin : 'llvm-mc-13';
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics --filetype=obj -o $OBJ $EXTRAOPT $ASM';
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_wasi];
flags : [af_smartlink_sections];
labelprefix : '.L';
@ -411,7 +411,7 @@ implementation
id : as_wasm32_llvm_mc;
idtxt : 'LLVM-MC';
asmbin : 'llvm-mc';
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics --filetype=obj -o $OBJ $EXTRAOPT $ASM';
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_wasi];
flags : [af_smartlink_sections];
labelprefix : '.L';