]> Cypherpunks repositories - gostls13.git/commit
5l, 6l, 8l: correct ELFRESERVE diagnostic
authorAnthony Martin <ality@pbrane.org>
Tue, 18 Oct 2011 20:05:38 +0000 (16:05 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 20:05:38 +0000 (16:05 -0400)
commit033585d6755a19308314b89f1252ec1438e24fe0
treef314b918686c4bc1d093f665d1d518dd71c96c30
parent4566868b41620ba47ef589d8bab9b0906c370cb6
5l, 6l, 8l: correct ELFRESERVE diagnostic

If the length of the interpreter string
pushes us over the ELFRESERVE limit, the
resulting error message will be comical.

I was doing some ELF tinkering with a
modified version of 8l when I hit this.

To be clear, the stock linkers wouldn't
hit this without adding about forty more
section headers.  We're safe for now. ;)

Also, remove a redundant call to cflush.

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