• Dave Cheney's avatar
    undo CL 156430044 / 5d69cad4faaf · 4073be88
    Dave Cheney authored
    Partial undo, changes to ldelf.c retained.
    
    Some platforms are still not working even with the integrated assembler disabled, will have to find another solution.
    
    ««« original CL description
    cmd/cgo: disable clang's integrated assembler
    
    Fixes #8348.
    
    Clang's internal assembler (introduced by default in clang 3.4) understands the .arch directive, but doesn't change the default value of -march. This causes the build to fail when we use BLX (armv5 and above) when clang is compiled for the default armv4t architecture (which appears to be the default on all the distros I've used).
    
    This is probably a clang bug, so work around it for the time being by disabling the integrated assembler when compiling the cgo assembly shim.
    
    This CL also includes a small change to ldelf.c which was required as clang 3.4 and above generate more weird symtab entries.
    
    LGTM=iant
    R=golang-codereviews, iant
    CC=golang-codereviews
    https://golang.org/cl/156430044
    »»»
    
    LGTM=minux
    R=iant, minux
    CC=golang-codereviews
    https://golang.org/cl/162880044
    4073be88
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...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
ld Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
yacc Loading commit data...