1
0
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:
Jes Cok 2023-08-29 06:10:03 +08:00
parent 3a26ffc429
commit 24916e86d0

View File

@ -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")
}