mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-10 22:49:30 +00:00
b8b831cf5c
Use picolibc setjmp and longjmp to save and restore the complete Xtensa register-window state at TinyGo panic checkpoints. Provide the target configuration and window spill helper required by picolibc. Increment its cache version because Xtensa archives now include another source file.
20 lines
444 B
JSON
20 lines
444 B
JSON
{
|
|
"llvm-target": "xtensa",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"build-tags": ["xtensa", "baremetal", "linux", "arm"],
|
|
"gc": "conservative",
|
|
"scheduler": "none",
|
|
"cflags": [
|
|
"-Werror",
|
|
"-fshort-enums",
|
|
"-Wno-macro-redefined",
|
|
"-fno-exceptions", "-fno-unwind-tables", "-fno-asynchronous-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"--gc-sections"
|
|
],
|
|
"extra-files": ["src/runtime/asm_xtensa.S"]
|
|
}
|