mirror of
https://github.com/golang/go
synced 2024-10-03 21:21:22 -06: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:
parent
46d7d5fcf5
commit
586b6dfa46
@ -11,7 +11,7 @@
|
|||||||
* in order to write the code just once. The 64-bit data structure is
|
* 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.
|
* written in the 32-bit format on the 32-bit machines.
|
||||||
*/
|
*/
|
||||||
#define NSECT 32
|
#define NSECT 48
|
||||||
|
|
||||||
int iself;
|
int iself;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user