1
0
mirror of https://github.com/golang/go synced 2024-10-03 04:21:22 -06:00
go/src
Austin Clements 4ee347b0ad debug/elf: regularize DWARF section loading
Previously, different DWARF sections had relocations applied in very
different ways.  .debug_info was relocated, but only on x86-64 and 386
and using hard-coded relocation section names instead of relocation
links.  .debug_abbrev and .debug_str were never relocated (which is
excusable because they shouldn't need it).  .debug_types sections were
relocated on all architectures and found their relocation section
using a relocation link because section names could be ambiguous.

Simplify all of this so that every DWARF section that has a linked
relocation section gets those relocations applied.

This prepares this code to load .debug_line sections without the need
for yet more ad hoc relocation logic.

Change-Id: Ia00ac8e656b22f22bb31a5f6ef9b0f23cda64d19
Reviewed-on: https://go-review.googlesource.com/6780
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-03-10 02:32:19 +00:00
..
archive archive/zip: fix size value in ZIP64 end central directory record 2015-02-26 15:24:32 +00:00
bufio
builtin
bytes
cmd cmd/internal/gc: make Node.Isddd boolean 2015-03-09 20:56:16 +00:00
compress
container
crypto crypto/tls: fix typo in tls handshake error 2015-03-06 18:18:40 +00:00
database/sql
debug debug/elf: regularize DWARF section loading 2015-03-10 02:32:19 +00:00
encoding encoding/xml: fix default namespace of tags 2015-03-09 09:10:30 +00:00
errors
expvar
flag
fmt fmt: document existing behavior of nil receivers 2015-03-01 18:17:53 +00:00
go go/build: disable cgo by default for freebsd/arm 2015-03-09 00:42:05 +00:00
hash
html
image image/jpeg: support RGB JPEG images. 2015-03-09 23:18:33 +00:00
index/suffixarray
internal os: Use GetComputerNameEx to get Hostname on win32 2015-02-25 23:16:44 +00:00
io
log log/syslog: avoid unix sockets on darwin/arm 2015-03-04 22:13:06 +00:00
math math/big: move "bits" operations used for Float tests into separate file 2015-03-06 01:36:59 +00:00
mime mime/quotedprintable: create the package 2015-02-26 20:09:28 +00:00
net net: skip unixgram tests on darwin/arm 2015-03-09 15:34:32 +00:00
os Fixed wrong arguments to formatting functions 2015-03-07 02:08:04 +00:00
path path/filepath: get tests working on darwin/arm 2015-03-01 18:38:21 +00:00
reflect Call --> CallSlice in two spots. No logic change, docs only. 2015-02-22 17:22:04 +00:00
regexp
runtime runtime: do not share underlying envs/argv array 2015-03-09 17:25:23 +00:00
sort
strconv strconv: simplify code for binary exponent float format 2015-03-05 16:52:41 +00:00
strings
sync sync/atomic: skip test on darwin/arm 2015-03-09 14:10:25 +00:00
syscall syscall: fix parsing ipv6 address prefix on dragonfly 2015-03-03 03:27:14 +00:00
testing
text
time time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
unicode unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max). 2015-02-16 21:35:33 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: remove use of cp --preserve. 2015-02-13 21:16:25 +00:00
bootstrap.bash build: add bootstrap.bash for bootstrapping new systems 2015-03-02 17:51:56 +00:00
clean.bash
clean.bat
clean.rc
make.bash [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
make.bat build: update Windows make.bat to use CC_FOR_TARGET. 2015-03-02 02:20:46 +00:00
Make.dist
make.rc all: delete C libraries and cmd/dist code that builds them 2015-03-01 00:40:23 +00:00
nacltest.bash
race.bash [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
race.bat [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
run.bash build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
run.bat build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
run.rc build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00