diff options
| author | Rémy Oudompheng <oudomphe@phare.normalesup.org> | 2013-03-22 01:27:55 +0100 |
|---|---|---|
| committer | Rémy Oudompheng <oudomphe@phare.normalesup.org> | 2013-03-22 01:27:55 +0100 |
| commit | 5060dded0f9e4994b168123eeebb03f85e6deb20 (patch) | |
| tree | b0f818581d3ce88da4fa9e47c2c38033a9a8d4cd /src/pkg/debug | |
| parent | f8ff6893a579184d1ba62b0e178fe7ddfd695a1b (diff) | |
| download | go-5060dded0f9e4994b168123eeebb03f85e6deb20.tar.xz | |
debug/elf: repair GNU version symbols.
After the revert of revision 9ea9e7e6e0c8
the related revision 76ff7da868c6 must be reverted too.
Fixes #5102.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7961044
Diffstat (limited to 'src/pkg/debug')
| -rw-r--r-- | src/pkg/debug/elf/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/debug/elf/file.go b/src/pkg/debug/elf/file.go index 0d022ab910..a55c37ea99 100644 --- a/src/pkg/debug/elf/file.go +++ b/src/pkg/debug/elf/file.go @@ -718,7 +718,7 @@ func (f *File) gnuVersionInit(str []byte) { // which came from offset i of the symbol table. func (f *File) gnuVersion(i int, sym *ImportedSymbol) { // Each entry is two bytes. - i = i * 2 + i = (i + 1) * 2 if i >= len(f.gnuVersym) { return } |
