]> Cypherpunks repositories - gostls13.git/commit
cmd/link: sort HOSTOBJ and UNDEFEXT symbols with undefined symbols in Mach-O symbol...
authorCherry Mui <cherryyz@google.com>
Wed, 14 Jun 2023 22:31:44 +0000 (18:31 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 27 Jul 2023 19:08:00 +0000 (19:08 +0000)
commit1c10d743eaff174f08e48dff85f64ade0b92425c
tree5dcebac7867d7c32d842061b6218ed6dc098c339
parent333c80694c797b5540c959f33c710bc6eba0d141
cmd/link: sort HOSTOBJ and UNDEFEXT symbols with undefined symbols in Mach-O symbol table

HOSTOBJ and UNDEFEXT symbols are actually not defined in the
current translation unit. So put them as undefined symbols, along
with DYNIMPORT.

For #61229.

Change-Id: I1112ca928cdc401bac45adaa3f88b19422813960
Reviewed-on: https://go-review.googlesource.com/c/go/+/503539
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/macho.go