]> Cypherpunks repositories - gostls13.git/commit
cmd/link: MACHOPLT is executable
authorCherry Zhang <cherryyz@google.com>
Thu, 3 Sep 2020 16:26:10 +0000 (12:26 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 3 Sep 2020 21:49:52 +0000 (21:49 +0000)
commite61d17d3b9ccf4c3e8ac87add9d74da7afa76488
treea1e50556650b382c8a7df1a68307dba30f9c6ab7
parentae658cb19a265f3f4694cd4aec508b4565bda6aa
cmd/link: MACHOPLT is executable

The PLT stubs are executable. Put it together with executable
sections, instead of read-only data sections.

Change-Id: I3818414aa0b87c6968c6c7eccce19b0db7c43193
Reviewed-on: https://go-review.googlesource.com/c/go/+/253018
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/sym/symkind.go
src/cmd/link/internal/sym/symkind_string.go