Descriptioncmd/gc: implement -pack flag
The -pack flag causes 5g, 6g, 8g to write a Go archive directly,
instead of requiring the use of 'go tool pack' to convert the .5/.6/.8
to .a format.
Writing directly avoids the copy and also avoids having the
export data stored twice in the archive (once in __.PKGDEF,
once in .5/.6/.8).
A separate CL will enable the use of this flag by cmd/go.
Other build systems that do not know about -pack will be unaffected.
The changes to cmd/ld handle a minor simplification to the format:
an unused section is removed.
Patch Set 1 #Patch Set 2 : diff -r 4dd891cd0a26 https://code.google.com/p/go/ #Patch Set 3 : diff -r 4dd891cd0a26 https://code.google.com/p/go/ #
Total comments: 4
Patch Set 4 : diff -r e4cdf4d18e1e https://code.google.com/p/go/ #
MessagesTotal messages: 4
|