1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:00:09 -07:00

8l: fix references to INITDAT in windows pe.c

R=ken2
CC=golang-dev
https://golang.org/cl/2588041
This commit is contained in:
Russ Cox 2010-10-19 18:17:07 -04:00
parent 19fd5c787f
commit d5dffb9f29

View File

@ -110,8 +110,8 @@ dope(void)
datsect = new_section(".data", segdata.filelen, 0);
datsect->Characteristics = IMAGE_SCN_CNT_INITIALIZED_DATA|
IMAGE_SCN_MEM_READ|IMAGE_SCN_MEM_WRITE;
if(INITDAT != PEBASE+datsect->VirtualAddress)
diag("INITDAT = %#llux, want %#llux", (vlong)INITDAT, (vlong)(PEBASE+datsect->VirtualAddress));
if(segdata.vaddr != PEBASE+datsect->VirtualAddress)
diag("segdata.vaddr = %#llux, want %#llux", (vlong)segdata.vaddr, (vlong)(PEBASE+datsect->VirtualAddress));
bsssect = new_section(".bss", segdata.len - segdata.filelen, 1);
bsssect->Characteristics = IMAGE_SCN_CNT_UNINITIALIZED_DATA|