mirror of
https://github.com/golang/go
synced 2024-11-25 07:57:56 -07:00
8l: fix windows build.
R=rsc, brainman CC=golang-dev https://golang.org/cl/2543042
This commit is contained in:
parent
eb6f683691
commit
77eb94c032
@ -96,6 +96,7 @@ pewrite(void)
|
|||||||
for (i=0; i<nsect; i++)
|
for (i=0; i<nsect; i++)
|
||||||
for (j=0; j<sizeof(sh[i]); j++)
|
for (j=0; j<sizeof(sh[i]); j++)
|
||||||
cput(((char*)&sh[i])[j]);
|
cput(((char*)&sh[i])[j]);
|
||||||
|
strnput("", PERESERVE-0x400);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -72,8 +72,8 @@ typedef struct {
|
|||||||
uint32 FirstThunk;
|
uint32 FirstThunk;
|
||||||
} IMAGE_IMPORT_DESCRIPTOR;
|
} IMAGE_IMPORT_DESCRIPTOR;
|
||||||
|
|
||||||
#define PERESERVE 0x400
|
#define PERESERVE 0x1000
|
||||||
#define PEALIGN 0x200
|
#define PEALIGN 0x1000
|
||||||
#define PEBASE 0x00400000
|
#define PEBASE 0x00400000
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
Loading…
Reference in New Issue
Block a user