• Shenghou Ma's avatar
    cmd/ld: fix Linux/ARM build · e0b0f62d
    Shenghou Ma authored
            CL 5823055 removed a line introduced in Linux/ARM cgo support.
            Because readsym() now returns nil for "$a", "$d" mapping symbols,
            no matter the settings of `needSym', we still have to guard against
            them in ldelf().
    
    R=golang-dev, dave, rsc
    CC=golang-dev
    https://golang.org/cl/6220073
    e0b0f62d
ldelf.c 19.6 KB