Commit 60513bf2 authored by Shenghou Ma's avatar Shenghou Ma

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
parent 3861cb43
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment