1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:34:39 -07:00

cmd/ld: Remove superfluous redundant iself check

CL 12741044 added an extra iself condition to an if statement that already contained it. Remove it.

R=rsc
CC=golang-dev
https://golang.org/cl/12949043
This commit is contained in:
Elias Naur 2013-08-14 16:28:40 -04:00 committed by Russ Cox
parent 3bd0b0a80d
commit 3b4da67ee3

View File

@ -1212,7 +1212,7 @@ dodata(void)
diag("data or bss segment too large");
}
if(iself && linkmode == LinkExternal && s != nil && s->type == STLSBSS && iself && HEADTYPE != Hopenbsd) {
if(iself && linkmode == LinkExternal && s != nil && s->type == STLSBSS && HEADTYPE != Hopenbsd) {
sect = addsection(&segdata, ".tbss", 06);
sect->align = PtrSize;
sect->vaddr = 0;