1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:14:43 -07:00

8l: fix windows build.

R=rsc, brainman
CC=golang-dev
https://golang.org/cl/2543042
This commit is contained in:
Wei Guangjing 2010-10-15 23:37:14 -04:00 committed by Russ Cox
parent eb6f683691
commit 77eb94c032
2 changed files with 3 additions and 2 deletions

View File

@ -96,6 +96,7 @@ pewrite(void)
for (i=0; i<nsect; i++)
for (j=0; j<sizeof(sh[i]); j++)
cput(((char*)&sh[i])[j]);
strnput("", PERESERVE-0x400);
}
void

View File

@ -72,8 +72,8 @@ typedef struct {
uint32 FirstThunk;
} IMAGE_IMPORT_DESCRIPTOR;
#define PERESERVE 0x400
#define PEALIGN 0x200
#define PERESERVE 0x1000
#define PEALIGN 0x1000
#define PEBASE 0x00400000
enum {