• Rob Pike's avatar
    all: copy cmd/ld/textflag.h into pkg/GOOS_GOARCH · 8bca148a
    Rob Pike authored
    The file is used by assembly code to define symbols like NOSPLIT.
    Having it hidden inside the cmd directory makes it hard to access
    outside the standard repository.
    Solution: As with a couple of other files used by cgo, copy the
    file into the pkg directory and add a -I argument to the assembler
    to access it. Thus one can write just
            #include "textflag.h"
    in .s files.
    
    The names in runtime are not updated because in the boot sequence the
    file has not been copied yet when runtime is built. All other .s files
    in the repository are updated.
    
    Changes to doc/asm.html, src/cmd/dist/build.c, and src/cmd/go/build.go
    are hand-made. The rest are just the renaming done by a global
    substitution. (Yay sam).
    
    LGTM=rsc
    R=rsc
    CC=golang-codereviews
    https://golang.org/cl/128050043
    8bca148a
Name
Last commit
Last update
..
aes Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
md5 Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
x509 Loading commit data...
crypto.go Loading commit data...