From: Gustavo Niemeyer Date: Tue, 1 Feb 2011 16:49:33 +0000 (-0500) Subject: 6l: add comment to CMOV* relocation X-Git-Tag: weekly.2011-02-01~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e71d8a2fe44f1e8e85186669922438407636af0c;p=gostls13.git 6l: add comment to CMOV* relocation R=rsc CC=golang-dev https://golang.org/cl/4042045 --- 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);