Hi,
This fixes http://code.google.com/p/go/issues/detail?id=1559 (cgo: static
variables are not initialised correctly on darwin/amd64).
I stumbled on this while trying to fix
http://code.google.com/p/go/issues/detail?id=1429 (cgo - crashy statically
linked SQLite on Darwin). Some global pointers were not initialized to NULL
because there were living in data instead of bss.
I'm not sure it's a kosher fix, but it allowed me to get further in my
investigation of the other issue. :)
Issue 4356046: ld: Include bss section of GCC-built Mach-O objects in ...
Created 13 years ago by mkrautz
Modified 13 years ago
Reviewers:
Base URL:
Comments: 0