1
0
mirror of https://github.com/golang/go synced 2024-11-21 18:34:44 -07:00
go/misc
Russ Cox 0cd3475386 misc/cgo/life: fix, add to build
#pragma dynexport is no longer needed for
this use of cgo, since the gcc and gc code are
now linked together into the same binary.
It may still be necessary later.

On the Mac, you cannot use the GOT to resolve
symbols that exist in the current binary, so 6l and 8l
translate the GOT-loading mov instructions into lea
instructions.

On ELF systems, we could use the GOT for those
symbols, but for consistency 6l and 8l apply the
same translation.

The translation is sketchy in the extreme
(depending on the relocation being in a mov
instruction) but it verifies that the instruction
is a mov before rewriting it to lea.

Also makes typedefs global across files.

Fixes #1335.
Fixes #1345.

R=iant, r
CC=golang-dev
https://golang.org/cl/3650042
2010-12-17 09:51:55 -08:00
..
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
bash misc/bash: add *.go completion for gofmt 2010-08-30 21:13:11 -04:00
bbedit misc/bbedit: support append, other builtins 2010-10-30 22:15:59 +11:00
cgo misc/cgo/life: fix, add to build 2010-12-17 09:51:55 -08:00
dashboard godashboard: support submitting projects with non-ascii names 2010-12-15 12:07:30 +11:00
emacs go-mode.el: Fix highlighting for 'chan' type 2010-09-13 00:12:18 -04:00
fraise misc/fraise: syntax highlighting for Fraise.app (OS X) 2010-08-30 15:07:33 +10:00
goplay goplay: fix to run under windows. 2010-10-19 11:29:31 +11:00
kate kate: update for append 2010-10-30 21:25:19 -07:00
nacl runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
vim misc/vim: update list of builtins. 2010-10-30 22:07:01 +11:00
xcode More Xcode support. 2009-12-30 15:30:57 -08:00
zsh misc: add zsh completion (using compctl) 2010-08-30 21:13:01 -04:00