]> Cypherpunks repositories - gostls13.git/commit
Pad Go symbol table out to page boundary when linking dynamically.
authorIan Lance Taylor <iant@golang.org>
Fri, 11 Jun 2010 20:41:49 +0000 (13:41 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 11 Jun 2010 20:41:49 +0000 (13:41 -0700)
commitfe43325b3021eee80ebc3afb328b5a6f9fedf2f9
tree67deadbc447ad52e59a65ef5e12f2262f0cd98bc
parentc1e20720f7b3c53cd195c4996b1758e44be6787c
Pad Go symbol table out to page boundary when linking dynamically.

This avoids a crash when using cgo where glibc's malloc thinks
that it can use some of the memory following the symbol table.
This fails because the symbol table is mapped read-only, which
affects the whole page.

R=rsc
CC=golang-dev
https://golang.org/cl/1616042
src/cmd/5l/asm.c
src/cmd/6l/asm.c
src/cmd/8l/asm.c