cmd/go: add Solaris assembler syntax for gccgo buildid file

The Solaris assembler uses a different syntax for section directives.

This is https://golang.org/cl/109140 ported over to gccgo.

Fixes https://gcc.gnu.org/PR85429.

Change-Id: I4f3bfecc15d846fe159a3e4dc44de0fe36881271
Reviewed-on: https://go-review.googlesource.com/109141
Reviewed-by: Than McIntosh <thanm@google.com>
1 file changed