diff options
author | Russ Cox <rsc@golang.org> | 2014-07-21 17:38:48 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-07-21 17:38:48 -0400 |
commit | 9c99cc1dd20894d474c522382505f78e29c24686 (patch) | |
tree | c2d580274bd66ad654d51a0fe5096c516df75e0e /include | |
parent | 97327be6beb901dd3f3625984e79757110a94de8 (diff) | |
download | go-9c99cc1dd20894d474c522382505f78e29c24686.tar.gz |
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://codereview.appspot.com/113230043
Diffstat (limited to 'include')
-rw-r--r-- | include/link.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/link.h b/include/link.h index e7bc76c02..7cb04ac12 100644 --- a/include/link.h +++ b/include/link.h @@ -105,8 +105,8 @@ struct Prog int32 spadj; uchar mark; uchar back; // 6l, 8l - char ft; /* 6l, 8l oclass cache */ - char tt; // 6l, 8l + uchar ft; /* 6l, 8l oclass cache */ + uchar tt; // 6l, 8l uchar optab; // 5l uchar isize; // 6l, 8l |