]> Cypherpunks repositories - gostls13.git/commit
liblink: add leaf bit to object file format
authorRuss Cox <rsc@golang.org>
Wed, 16 Apr 2014 21:11:44 +0000 (17:11 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 16 Apr 2014 21:11:44 +0000 (17:11 -0400)
commitcc08d9232c4875a11b9e2a8097e069467d79f31f
tree03a531b03b0221d27193628b1990e2b7baa6f087
parent0de521d111b88b2bc6466a4e1f29a8a284c0b3ee
liblink: add leaf bit to object file format

Without the leaf bit, the linker cannot record
the correct frame size in the symbol table, and
then stack traces get mangled. (Only for ARM.)

Fixes #7338.
Fixes #7347.

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/88550043
src/cmd/ld/pcln.c
src/cmd/link/testdata/autosection.6
src/cmd/link/testdata/autoweak.6
src/cmd/link/testdata/dead.6
src/cmd/link/testdata/hello.6
src/cmd/link/testdata/layout.6
src/cmd/link/testdata/pclntab.6
src/liblink/objfile.c
src/pkg/debug/goobj/read.go