fix entry symbol name on mips
This commit is contained in:
@@ -673,7 +673,10 @@ pub fn defaultEntrySymbolName(
|
||||
return switch (target.ofmt) {
|
||||
.coff => "wWinMainCRTStartup",
|
||||
.macho => "_main",
|
||||
.elf, .plan9 => "_start",
|
||||
.elf, .plan9 => switch (target.cpu.arch) {
|
||||
.mips, .mipsel, .mips64, .mips64el => "__start",
|
||||
else => "_start",
|
||||
},
|
||||
.wasm => switch (wasi_exec_model) {
|
||||
.reactor => "_initialize",
|
||||
.command => "_start",
|
||||
|
||||
Reference in New Issue
Block a user