cmd/link: reorder pe sections
cmd/link: reorder pe sections

dwarf writing code assumes that dwarf sections follow
.data and .bss, not .ctors. Make pe section writing code
match that assumption.

For #10776.

Change-Id: I128c3ad125f7d0db19e922f165704a054b2af7ba
Reviewed-on: https://go-review.googlesource.com/36980
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>

polyverse-security/go,golang/go,cloudflare/go,codestation/go,polyverse-security/go,linux-on-ibm-z/go,linux-on-ibm-z/go,Cofyc/go,josharian/go,vsekhar/elastic-go,Cofyc/go,christopher-henderson/Go,akutz/go,ImJasonH/go,Cofyc/go,vsekhar/elastic-go,CAFxX/go,josharian/go,Cofyc/go,vsekhar/elastic-go,CAFxX/go,cloudflare/go,Cofyc/go,ImJasonH/go,golang/go,golang/go,golang/go,golang/go,derekmarcotte/go,josharian/go,nawawi/go,ImJasonH/go,nawawi/go,derekmarcotte/go,akutz/go,josharian/go,cloudflare/go,linux-on-ibm-z/go,akutz/go,nawawi/go,nawawi/go,ImJasonH/go,derekmarcotte/go,cloudflare/go,polyverse-security/go,polyverse-security/go,golang/go,cloudflare/go,cloudflare/go,derekmarcotte/go,linux-on-ibm-z/go,derekmarcotte/go,akutz/go,ImJasonH/go,nawawi/go,cloudflare/go,CAFxX/go,Cofyc/go,nawawi/go,polyverse-security/go,linux-on-ibm-z/go,josharian/go,vsekhar/elastic-go,codestation/go,akutz/go,Cofyc/go,nawawi/go,josharian/go,ImJasonH/go,CAFxX/go,codestation/go,Cofyc/go,polyverse-security/go,golang/go,golang/go,polyverse-security/go,derekmarcotte/go,josharian/go,vsekhar/elastic-go,vsekhar/elastic-go,linux-on-ibm-z/go,codestation/go,codestation/go,linux-on-ibm-z/go,CAFxX/go,akutz/go,akutz/go,ImJasonH/go,derekmarcotte/go,akutz/go,josharian/go,cloudflare/go,linux-on-ibm-z/go,derekmarcotte/go,CAFxX/go,codestation/go,codestation/go,ImJasonH/go,CAFxX/go,vsekhar/elastic-go,polyverse-security/go,CAFxX/go,codestation/go,vsekhar/elastic-go,nawawi/go