mirror of
https://github.com/golang/go
synced 2024-11-23 11:40:07 -07:00
don't support 32-bit Mach-O anymore
This commit is contained in:
parent
3a26ffc429
commit
24916e86d0
@ -37,12 +37,8 @@ func RelocName(arch *sys.Arch, r objabi.RelocType) string {
|
||||
switch arch.Family {
|
||||
case sys.AMD64:
|
||||
return macho.RelocTypeX86_64(nr).String()
|
||||
case sys.ARM:
|
||||
return macho.RelocTypeARM(nr).String()
|
||||
case sys.ARM64:
|
||||
return macho.RelocTypeARM64(nr).String()
|
||||
case sys.I386:
|
||||
return macho.RelocTypeGeneric(nr).String()
|
||||
default:
|
||||
panic("unreachable")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user