diff --git a/src/cmd/link/internal/sym/reloc.go b/src/cmd/link/internal/sym/reloc.go index 019589f16f0..e614caa5d89 100644 --- a/src/cmd/link/internal/sym/reloc.go +++ b/src/cmd/link/internal/sym/reloc.go @@ -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") }