aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2011-02-01 11:49:33 -0500
committerRuss Cox <rsc@golang.org>2011-02-01 11:49:33 -0500
commite71d8a2fe44f1e8e85186669922438407636af0c (patch)
treeab558c4dcecf36d78ed9a1888c8d94ea2219cfe0
parent62afa225aff6d0925eabbd746ec30b8c003b23fb (diff)
downloadgo-e71d8a2fe44f1e8e85186669922438407636af0c.tar.gz
go-e71d8a2fe44f1e8e85186669922438407636af0c.zip
6l: add comment to CMOV* relocation
R=rsc CC=golang-dev https://golang.org/cl/4042045
-rw-r--r--src/cmd/6l/asm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/6l/asm.c b/src/cmd/6l/asm.c
index 2e401db913..f82fef543f 100644
--- a/src/cmd/6l/asm.c
+++ b/src/cmd/6l/asm.c
@@ -213,7 +213,8 @@ adddynrel(Sym *s, Reloc *r)
r->add += 4;
return;
}
- // unknown instruction (CMOV* maybe), use GOT
+ // fall back to using GOT and hope for the best (CMOV*)
+ // TODO: just needs relocation, no need to put in .dynsym
targ->dynimpname = targ->name;
}
addgotsym(targ);