go/src/cmd/internal
Keith Randall 5701174c52 cmd/link: put padding between functions, not at the end of a function
Functions should be declared to end after the last real instruction, not
after the last padding byte. We achieve this by adding the padding while
assembling the text section in the linker instead of adding the padding
to the function symbol in the compiler. This change makes dtrace happy.

TODO: check that this works with external linking

Fixes #15969

Change-Id: I973e478d0cd34b61be1ddc55410552cbd645ad62
Reviewed-on: https://go-review.googlesource.com/24040
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-06-13 14:05:52 +00:00
..
bio cmd/internal/obj: remove use of package bio 2016-04-14 17:58:33 +00:00
gcprog all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
goobj all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
obj cmd/link: put padding between functions, not at the end of a function 2016-06-13 14:05:52 +00:00
objfile runtime/pprof, cmd/pprof: fix profiling for PIE 2016-05-31 13:02:09 +00:00
pprof cmd: fixed certain vet warnings 2016-05-12 15:58:30 +00:00
sys cmd/internal/sys: cleanup documentation 2016-04-15 02:07:38 +00:00