]> Cypherpunks repositories - gostls13.git/commit
cmd/link: process data symbols with slices
authorDavid Crawshaw <crawshaw@golang.org>
Mon, 18 Apr 2016 18:50:14 +0000 (14:50 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 20 Apr 2016 22:45:03 +0000 (22:45 +0000)
commited41054b6d1306537df0ba3a34d11579ae2c1829
tree38f72cb2f4637bb8a9e037f0b47825f56a2f8a4e
parentcda0aa16807b20410e57992b09570f6a9dd11f9b
cmd/link: process data symbols with slices

First (and largest single) step to switching cmd/link from linked
lists of symbols to slices.

Sort sections independently and concurrently.
This reduces jujud link times on linux/amd64 by ~4%.

Updates #15374

Change-Id: I452bc8f33081039468636502fe3c1cc8d6ed9efa
Reviewed-on: https://go-review.googlesource.com/22205
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/macho.go
src/cmd/link/internal/ld/pe.go