1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:20:03 -07:00

cmd/ld: fix "_image_base__ not defined" problem for cmd/8l.

Fixes #6431.

Change suggested by kin.wilson.za.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/13314048
This commit is contained in:
Shenghou Ma 2013-09-23 13:08:00 -04:00
parent 3861cb4388
commit 60513bf2f4

View File

@ -151,6 +151,7 @@ peinit(void)
// some mingw libs depend on this symbol, for example, FindPESectionByName
xdefine("__image_base__", SDATA, PEBASE);
xdefine("_image_base__", SDATA, PEBASE);
}
static void