• Russ Cox's avatar
    runtime: change amd64 startup convention · 36b414f6
    Russ Cox authored
    Now the default startup is that the program begins at _rt0_amd64_$GOOS,
    which sets DI = argc, SI = argv and jumps to _rt0_amd64.
    
    This makes the _rt0_amd64 entry match the expected semantics for
    the standard C "main" function, which we can now provide for use when
    linking against a standard C library.
    
    R=golang-dev, devon.odell, minux.ma
    CC=golang-dev
    https://golang.org/cl/7525043
    36b414f6
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...