diff options
| author | Shenghou Ma <minux.ma@gmail.com> | 2012-10-10 00:55:48 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-10-10 00:55:48 +0800 |
| commit | fa563ae82e2d1038656be21c52831e7ad42108a8 (patch) | |
| tree | 94a7df7dfaab2aae1dc44a7a7b1dc99a7415b509 /src/cmd/ld/lib.c | |
| parent | cffbfaeb1819bfb6770848c4d57615f0ee1a46ba (diff) | |
| download | go-fa563ae82e2d1038656be21c52831e7ad42108a8.tar.xz | |
cmd/ld, cmd/6l, cmd/8l: sort exported dynamic symbols for Darwin
Also corrected cmd/8l's .dynsym handling (differentiate between exported symbols and imported symbols)
Fixes #4029.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6620075
Diffstat (limited to 'src/cmd/ld/lib.c')
| -rw-r--r-- | src/cmd/ld/lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/ld/lib.c b/src/cmd/ld/lib.c index 135426473f..8e3a8dd690 100644 --- a/src/cmd/ld/lib.c +++ b/src/cmd/ld/lib.c @@ -309,6 +309,7 @@ loadlib(void) debug['d'] = 1; importcycles(); + sortdynexp(); } /* |
