1
0
mirror of https://github.com/golang/go synced 2024-10-03 11:21:22 -06:00
go/src/cmd/5c
Dave Cheney 072e36d5ef cmd/5c, cmd/5g, cmd/5l: fix cross compilation failure on darwin
Fixes #3708.

The fix to allow 5{c,g,l} to compile under clang 3.1 broke cross
compilation on darwin using the Apple default compiler on 10.7.3.

This failure was introduced in 9b455eb64690.

This has been tested by cross compiling on darwin/amd64 to linux/arm using

* gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
* clang version 3.1 (branches/release_31)

As well as on linux/arm using

* gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
* Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
* Debian clang version 3.1-4 (branches/release_31) (based on LLVM 3.1)

R=consalus, rsc
CC=golang-dev
https://golang.org/cl/6307058
2012-06-08 13:13:02 +10:00
..
cgen.c changed 5c 64 bit word ordering to little endian so it matches 2009-10-12 13:35:28 -07:00
doc.go tweak documentation of commands 2009-11-09 11:45:15 -08:00
gc.h cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
list.c cmd/5c, cmd/5g, cmd/5l: fix cross compilation failure on darwin 2012-06-08 13:13:02 +10:00
Makefile build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
mul.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
peep.c cmd/5c, cmd/5a, cmd/5l: ARM support for PREFETCH built-in 2012-05-04 03:24:14 +08:00
reg.c cmd/5c, cmd/5g, cmd/5l: enable use of R12, F8-F15 2012-06-02 12:54:28 -04:00
sgen.c cc: disallow ... argument unless NOSPLIT is set. 2010-03-04 15:34:25 -08:00
swt.c cmd/cgo, cmd/cc, cmd/ld: detect dynamic linker automatically 2012-05-05 01:54:16 +08:00
txt.c cmd/5c, cmd/5a, cmd/5l: ARM support for PREFETCH built-in 2012-05-04 03:24:14 +08:00