spec-test-script: Use -mtext-section-literals for xtensa xip (#3666)
This commit is contained in:
@ -1124,6 +1124,10 @@ def compile_wasm_to_aot(wasm_tempfile, aot_tempfile, runner, opts, r, output = '
|
||||
cmd.append("--enable-indirect-mode")
|
||||
cmd.append("--disable-llvm-intrinsics")
|
||||
|
||||
# avoid l32r relocations for xtensa
|
||||
if opts.target == "xtensa":
|
||||
cmd.append("--mllvm=-mtext-section-literals")
|
||||
|
||||
if opts.multi_thread:
|
||||
cmd.append("--enable-multi-thread")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user