• Ian Lance Taylor's avatar
    cmd/link: handle STT_COMMON symbols · 45f75950
    Ian Lance Taylor authored
    Tested by running
    
    GOTRACEBACK=2 CGO_CFLAGS="-Wa,--elf-stt-common=yes" go test -ldflags=-linkmode=internal
    
    in misc/cgo/test. That failed before this CL, succeeded after.
    
    I don't think it's worth doing that as a regular test, though,
    especially since only recent versions of the GNU binutils support the
    --elf-stt-common option.
    
    Fixes #18088.
    
    Change-Id: I893d86181faee217b1504c054b0ed3f7c8d977d3
    Reviewed-on: https://go-review.googlesource.com/33653
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    45f75950
Name
Last commit
Last update
..
ar.go Loading commit data...
config.go Loading commit data...
data.go Loading commit data...
deadcode.go Loading commit data...
decodesym.go Loading commit data...
dwarf.go Loading commit data...
elf.go Loading commit data...
go.go Loading commit data...
ld.go Loading commit data...
ldelf.go Loading commit data...
ldmacho.go Loading commit data...
ldpe.go Loading commit data...
lib.go Loading commit data...
link.go Loading commit data...
macho.go Loading commit data...
macho_combine_dwarf.go Loading commit data...
main.go Loading commit data...
objfile.go Loading commit data...
pcln.go Loading commit data...
pe.go Loading commit data...
sym.go Loading commit data...
symbols.go Loading commit data...
symtab.go Loading commit data...
typelink.go Loading commit data...
util.go Loading commit data...