• Russ Cox's avatar
    cmd/6l, cmd/8l: fix BSD builds · e0c430d5
    Russ Cox authored
    Before this CL, running
    
            cd misc/cgo/test
            go test -c
            readelf --dyn-syms test.test | grep cgoexp
    
    turned up many UNDEF symbols corresponding to symbols actually
    in the binary but marked only cgo_export_static. Only symbols
    marked cgo_export_dynamic should be listed in this mode.
    And if the symbol is going to be listed, it should be listed with its
    actual address instead of UNDEF.
    
    The Linux dynamic linker didn't care about the seemingly missing
    symbols, but the BSD one did.
    
    This CL eliminates the symbols from the dyn-syms table.
    
    R=golang-dev
    TBR=golang-dev
    CC=golang-dev
    https://golang.org/cl/7624043
    e0c430d5
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...