]> Cypherpunks repositories - gostls13.git/commit
cmd/link: remove reading/processing of function Autom records
authorThan McIntosh <thanm@google.com>
Thu, 26 Sep 2019 14:01:42 +0000 (10:01 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 27 Sep 2019 13:59:05 +0000 (13:59 +0000)
commit70a1efbb5c2f6b7dd355cfd905ffdd13f35ac756
tree865ef645a481783e8ca174e53257ab5a57e251b5
parentcdd59205c48a4504925b1d65fdb68ff1f1250870
cmd/link: remove reading/processing of function Autom records

Remove linker reading and processing of automs (no longer needed, now
that the compiler is emitting R_USETYPE relocations on functions). So
as to avoid changing the object file format, the object still contains
a count of automs, but this count is required to be zero.

Updates #34554.

Change-Id: I10230e191057c5c5705541eeb06f747d5f73c42d
Reviewed-on: https://go-review.googlesource.com/c/go/+/197500
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/deadcode.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/objfile/objfile.go
src/cmd/link/internal/sym/symbol.go