• 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
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
godoc Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
prof Loading commit data...
vet Loading commit data...
yacc Loading commit data...