]> Cypherpunks repositories - gostls13.git/commit
liblink: remove some gotos + other fixes
authorRuss Cox <rsc@golang.org>
Mon, 21 Jul 2014 21:38:48 +0000 (17:38 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 21 Jul 2014 21:38:48 +0000 (17:38 -0400)
commit8e0e09ae7db8f0498d8aab1d15b21c53d6dd9556
treea431646b4046e7f3366994fc8d661f78b26f5a71
parent34655223ef9b26e40cc22a0ab355a991ed177cf4
liblink: remove some gotos + other fixes

Rewrite gotos that violate Go's stricter rules.
Use uchar* instead of char* in a few places that aren't strings.
Remove dead opcross code from asm5.c.
Declare regstr (in both list6 and list8) static.

LGTM=minux, dave
R=minux, dave
CC=golang-codereviews
https://golang.org/cl/113230043
include/link.h
src/liblink/asm5.c
src/liblink/asm6.c
src/liblink/asm8.c
src/liblink/list6.c
src/liblink/list8.c
src/liblink/obj5.c
src/liblink/sym.c