1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:57:58 -07:00

6l: add comment to CMOV* relocation

R=rsc
CC=golang-dev
https://golang.org/cl/4042045
This commit is contained in:
Gustavo Niemeyer 2011-02-01 11:49:33 -05:00 committed by Russ Cox
parent 62afa225af
commit e71d8a2fe4

View File

@ -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);