go/src
Dave Cheney 4073be88f4 undo CL 156430044 / 5d69cad4faaf
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
2014-10-21 23:42:13 +00:00
..
archive build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
bufio bufio: fix handling of empty tokens at end of line/file 2014-09-25 12:45:21 -07:00
builtin build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
bytes cmd/go: fix bytes and net the right way 2014-09-24 19:18:01 -04:00
cmd undo CL 156430044 / 5d69cad4faaf 2014-10-21 23:42:13 +00:00
compress compress/gzip: allow stopping at end of first stream 2014-10-20 22:03:46 -04:00
container build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
crypto crypto/tls: support TLS_FALLBACK_SCSV as a server. 2014-10-15 17:54:04 -07:00
database/sql database/sql: add Drivers, returning list of registered drivers 2014-10-15 13:10:14 -04:00
debug debug/pe: use appropriate type for sizeofOptionalHeader32 2014-10-21 10:02:33 +11:00
encoding encoding/gob: add custom decoder buffer for performance 2014-10-20 07:33:08 -07:00
errors build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
expvar build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
flag flag: roll back 156390043 (flag setting) 2014-10-20 13:28:00 -07:00
fmt fmt: print &map like &slice and &struct 2014-10-03 20:27:08 -07:00
go go/build: Return MultiplePackageError on importing a dir containing multiple packages 2014-10-14 23:24:58 -04:00
hash build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
html build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
image image/gif: don't let the per-frame transparent index modify the global 2014-09-22 14:29:45 +10:00
index/suffixarray build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
internal/syscall build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
io io: clarify Reader returning 0, nil 2014-09-16 10:01:28 -04:00
lib9 lib9, cmd/ld: fixes for cross-linking on a Windows host 2014-09-18 17:27:26 -07:00
libbio
liblink liblink: require DATA lines to be ordered by offset, with no overlap 2014-10-14 23:25:12 -04:00
log log/syslog: try /var/run/log, for FreeBSD 2014-09-30 12:30:16 -04:00
math math/big: Allow non-prime modulus for ModInverse 2014-10-14 14:09:56 -07:00
mime build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
net net/http: don't send implicit gzip Accept-Encoding on Range requests 2014-10-15 17:51:30 +02:00
os os/exec: fix number of expected file descriptors on Plan 9 2014-10-20 23:01:32 +02:00
path path/filepath: document that Glob ignores i/o errors 2014-09-18 21:50:22 -04:00
reflect reflect: fix TestAllocations now that interfaces hold only pointers 2014-10-20 11:10:03 -07:00
regexp regexp: fix TestOnePassCutoff 2014-10-20 12:16:46 -04:00
runtime runtime: warn that cputicks() might not be monotonic. 2014-10-21 14:46:07 -07:00
sort build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
strconv strconv: fix documentation for CanBackquote. 2014-09-09 11:45:36 -07:00
strings strings: use fast path for IndexRune 2014-10-06 15:10:51 -07:00
sync runtime: more NOPTR 2014-09-24 19:04:06 -04:00
syscall syscall: don't cache environment variables on Plan 9 2014-10-16 22:30:14 +02:00
testing runtime: fix memory profiler 2014-10-16 22:11:26 +04:00
text text/template: fix bug in pipelined variadics 2014-10-18 11:22:05 -07:00
time time: panic with a more helpful error on use of invalid Timer 2014-10-21 13:26:40 +02:00
unicode unicode/utf8: fix docs for DecodeRune(empty) and friends. 2014-10-16 09:13:50 +11:00
unsafe build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: adjustment for move from src/pkg to src 2014-09-08 10:07:26 -04:00
clean.bash
clean.bat
clean.rc
make.bash build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
make.bat build: fix windows make.bat 2014-09-07 07:31:53 -04:00
make.rc build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
nacltest.bash build: more adjustments for move from src/pkg to src 2014-09-08 00:22:40 -04:00
race.bash
race.bat
run.bash build: fix elf builds 2014-09-24 14:45:11 -07:00
run.bat run.bat: comment text properly 2014-10-02 16:15:36 +10:00
run.rc
sudo.bash