• Russ Cox's avatar
    liblink: remove use of linkmode on ARM · dab127ba
    Russ Cox authored
    Now that liblink is compiled into the compilers and assemblers,
    it must not refer to the "linkmode", since that is not known until
    link time. This CL makes the ARM support no longer use linkmode,
    which fixes a bug with cgo binaries that contain their own TLS
    variables.
    
    The x86 code must also remove linkmode; that is issue 7164.
    
    Fixes #6992.
    
    R=golang-codereviews, iant
    CC=golang-codereviews
    https://golang.org/cl/55160043
    dab127ba
obj5.c 22.6 KB