1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:17:56 -07:00

cmd/ld: increase number of ELF sections

On NetBSD a cgo enabled binary has more than 32 sections - bump NSECTS
so that we can actually link them successfully.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6261052
This commit is contained in:
Joel Sing 2012-05-31 03:06:38 +10:00
parent 46d7d5fcf5
commit 586b6dfa46

View File

@ -11,7 +11,7 @@
* in order to write the code just once. The 64-bit data structure is
* written in the 32-bit format on the 32-bit machines.
*/
#define NSECT 32
#define NSECT 48
int iself;