• Russ Cox's avatar
    liblink: make GO_ARGS the default for functions beginning with · · 653fb6d8
    Russ Cox authored
    If there is a leading ·, assume there is a Go prototype and
    attach the Go prototype information to the function.
    If the function is not called from Go and does not need a
    Go prototype, it can be made file-local instead (using name<>(SB)).
    
    This fixes the current BSD build failures, by giving functions like
    sync/atomic.StoreUint32 argument stack map information.
    
    Fixes #8753.
    
    LGTM=khr, iant
    R=golang-codereviews, iant, khr, bradfitz
    CC=golang-codereviews, r, rlh
    https://golang.org/cl/142150043
    653fb6d8
asm_dragonfly_amd64.s 2.72 KB