• David Crawshaw's avatar
    runtime: darwin/amd64 library entry point · b0a85f5d
    David Crawshaw authored
    This is a practice run for darwin/arm.
    
    Similar to the linux/amd64 shared library entry point. With several
    pending linker changes I am successfully using this to implement
    -buildmode=c-archive on darwin/amd64 with external linking.
    
    The same entry point can be reused to implement -buildmode=c-shared
    on darwin/amd64, however that will require further ld changes to
    remove all text relocations.
    
    One extra runtime change will follow this. According to the Go
    execution modes document, -buildmode=c-archive should ignore the Go
    main function. Right now it is being executed (and the process exits
    if it doesn't block). I'm still searching for the right way to do
    this.
    
    Change-Id: Id97901ddd4d46970996f222bd79731dabff66a3d
    Reviewed-on: https://go-review.googlesource.com/8652Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    b0a85f5d
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...