mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +00:00
fix entry symbol name on mips
This commit is contained in:
parent
2d2a18831e
commit
a3ff4d9b45
@ -673,7 +673,10 @@ pub fn defaultEntrySymbolName(
|
|||||||
return switch (target.ofmt) {
|
return switch (target.ofmt) {
|
||||||
.coff => "wWinMainCRTStartup",
|
.coff => "wWinMainCRTStartup",
|
||||||
.macho => "_main",
|
.macho => "_main",
|
||||||
.elf, .plan9 => "_start",
|
.elf, .plan9 => switch (target.cpu.arch) {
|
||||||
|
.mips, .mipsel, .mips64, .mips64el => "__start",
|
||||||
|
else => "_start",
|
||||||
|
},
|
||||||
.wasm => switch (wasi_exec_model) {
|
.wasm => switch (wasi_exec_model) {
|
||||||
.reactor => "_initialize",
|
.reactor => "_initialize",
|
||||||
.command => "_start",
|
.command => "_start",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user