go/src
Michael Hudson-Doyle 2c2cbb69c8 cmd/internal/ld: put read-only relocated data into .data.rel.ro when making a shared object
Currently Go produces shared libraries that cannot be shared between processes
because they have relocations against the text segment (not text section). This
fixes this by moving some data to sections with magic names recognized by the
static linker.

Fixes #10914
Updates #9210

Change-Id: I7178daadc0ae87953d5a084aa3d580f4e3b46d47
Reviewed-on: https://go-review.googlesource.com/10300
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-09-04 05:25:10 +00:00
..
archive archive/tar: don't treat multiple file system links as a tar hardlink 2015-08-04 17:34:43 +00:00
bufio bufio: Remove unneeded error initialization 2015-07-18 18:05:23 +00:00
builtin builtin: remove errant space in hyphenated adjective phrase 2015-06-28 21:41:38 +00:00
bytes bytes: improve Compare function on amd64 for large byte arrays 2015-08-26 03:52:20 +00:00
cmd cmd/internal/ld: put read-only relocated data into .data.rel.ro when making a shared object 2015-09-04 05:25:10 +00:00
compress compress/flate: simplify inflate logic 2015-09-03 01:54:35 +00:00
container
crypto crypto/x509: emit PKIX names in a more standard order. 2015-08-30 15:34:48 +00:00
database/sql database/sql: close bad connections in commit or rollback: 2015-09-03 17:07:37 +00:00
debug all: remove executable bit from several files 2015-09-04 02:59:49 +00:00
encoding encoding/asn1: fix panic when Marshaling nil. 2015-08-29 18:53:41 +00:00
errors
expvar
flag flag: add comment stating that Set is called in sequence across the command line 2015-07-16 05:33:47 +00:00
fmt fmt: fix scientific notation in docs 2015-08-31 18:43:00 +00:00
go go/types: fix real(a) and imag(a) for untyped arguments 2015-08-26 21:16:31 +00:00
hash hash: update documentation for MakeTable in crc32 and crc64 2015-09-04 02:16:27 +00:00
html html: speed up UnescapeString 2015-08-22 12:45:38 +00:00
image image/draw: optimize out some bounds checks. 2015-09-01 00:34:26 +00:00
index/suffixarray
internal internal/syscall/windows/registry: do not panic when data is large 2015-09-04 04:47:26 +00:00
io io: add WriteString support to MultiWriter 2015-09-01 04:00:12 +00:00
log
math math/big: use optimized formula in ModSqrt for 3 mod 4 primes 2015-08-29 19:11:03 +00:00
mime mime: move examples to external test file 2015-08-22 18:39:29 +00:00
net net/rpc: don't exit if Accept gets an error 2015-09-03 21:17:08 +00:00
os os: remove a redundant branch in File.Read. 2015-08-31 04:42:04 +00:00
path all: fix some vet-caught formatting errors, mostly but not only in tests 2015-08-21 05:37:36 +00:00
reflect cmd/compile, cmd/link, reflect, runtime: remove type.zero field 2015-08-26 00:28:17 +00:00
regexp
runtime cmd/internal/obj: some platform independent bits of proper toolchain support for thread local storage 2015-09-03 14:06:07 +00:00
sort sort: Fix typo in Stable() comment 2015-08-17 06:58:16 +00:00
strconv strconv: add examples to package 2015-07-22 16:00:21 +00:00
strings all: link to https for golang subdomains too 2015-07-12 04:42:40 +00:00
sync runtime, sync/atomic: add memory barriers in arm cas routines 2015-07-30 20:11:11 +00:00
syscall syscall: fix formatting calls in tests 2015-09-03 21:08:04 +00:00
testing testing/quick: terminate for arbitrary recursive types 2015-08-29 19:23:37 +00:00
text text/template: add ExecError type and return it from Execute on error 2015-08-27 06:40:56 +00:00
time time: fix 400 year offset in comment 2015-08-29 01:03:42 +00:00
unicode unicode: include rune 0 in RangeTables. 2015-08-24 15:05:48 +00:00
unsafe
Make.dist
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: robust cleanup in case of failure. 2015-07-17 21:12:12 +00:00
bootstrap.bash build: Fix bootstrap.bash for official source tarballs 2015-09-01 19:52:59 +00:00
buildall.bash
clean.bash build: clean current tree in clean.bash 2015-08-05 19:36:15 +00:00
clean.bat
clean.rc
iostest.bash
make.bash make.bash: abort if $GOROOT_BOOTSTRAP == $GOROOT 2015-08-24 03:04:52 +00:00
make.bat
make.rc
nacltest.bash
race.bash all: link to https instead of http 2015-07-11 14:36:33 +00:00
race.bat all: link to https instead of http 2015-07-11 14:36:33 +00:00
run.bash
run.bat
run.rc