mirror of
https://github.com/golang/go
synced 2024-11-17 07:45:09 -07:00
cmd/link: remove residual darwin/386 code
Change-Id: Iffed1c544d6ebb4ecd8fdb1cc51cf862a9f6d3de Reviewed-on: https://go-review.googlesource.com/c/go/+/261641 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
15a11cedc6
commit
c321430bdc
@ -832,12 +832,10 @@ func collectmachosyms(ctxt *Link) {
|
|||||||
switch objabi.GOARCH {
|
switch objabi.GOARCH {
|
||||||
case "amd64":
|
case "amd64":
|
||||||
ldr.SetSymExtname(s, n+"$INODE64")
|
ldr.SetSymExtname(s, n+"$INODE64")
|
||||||
case "386":
|
|
||||||
ldr.SetSymExtname(s, n+"$INODE64$UNIX2003")
|
|
||||||
}
|
}
|
||||||
case "readdir_r", "getfsstat":
|
case "readdir_r", "getfsstat":
|
||||||
switch objabi.GOARCH {
|
switch objabi.GOARCH {
|
||||||
case "amd64", "386":
|
case "amd64":
|
||||||
ldr.SetSymExtname(s, n+"$INODE64")
|
ldr.SetSymExtname(s, n+"$INODE64")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user