Descriptionld: modify macho linkedit segment to enable OS X code signing
Move string table to the end of the __LINKEDIT segment.
This change allows Apple's codesign(1) utility to successfully sign
Go binaries, as long as they don't contain DWARF data (-w flag to
8l/6l). This is because codesign(1) expects the string table to be
the last part of the file.
Patch Set 1 #Patch Set 2 : diff -r 89266ada32fb https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 89266ada32fb https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 89266ada32fb https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 89266ada32fb https://go.googlecode.com/hg/ #MessagesTotal messages: 5
|