1
0
mirror of https://github.com/golang/go synced 2024-10-04 08:31:22 -06:00

cmd/dist: generate anames9.c

LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/120690043
This commit is contained in:
Russ Cox 2014-08-06 15:12:08 -04:00
parent ccd880f290
commit bd69b4479a
2 changed files with 3 additions and 1 deletions

View File

@ -524,6 +524,7 @@ static struct {
"anames5.c",
"anames6.c",
"anames8.c",
"anames9.c",
}},
{"cmd/cc", {
"-pgen.c",
@ -622,6 +623,7 @@ static struct {
{"anames5.c", mkanames},
{"anames6.c", mkanames},
{"anames8.c", mkanames},
{"anames9.c", mkanames},
{"zasm_", mkzasm},
{"zdefaultcc.go", mkzdefaultcc},
{"zsys_", mkzsys},

View File

@ -63,7 +63,7 @@ gcopnames(char *dir, char *file)
vfree(&fields);
}
// mkanames reads [568].out.h and writes anames[568].c
// mkanames reads [5689].out.h and writes anames[5689].c
// The format is much the same as the Go opcodes above.
// it also writes out cnames array for C_* constants.
void