From e71d8a2fe44f1e8e85186669922438407636af0c Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Tue, 1 Feb 2011 11:49:33 -0500 Subject: [PATCH] 6l: add comment to CMOV* relocation R=rsc CC=golang-dev https://golang.org/cl/4042045 --- src/cmd/6l/asm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd/6l/asm.c b/src/cmd/6l/asm.c index 2e401db9130..f82fef543f2 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);