Index: src/cmd/ld/pe.c |
=================================================================== |
--- a/src/cmd/ld/pe.c |
+++ b/src/cmd/ld/pe.c |
@@ -151,6 +151,7 @@ |
// some mingw libs depend on this symbol, for example, FindPESectionByName |
xdefine("__image_base__", SDATA, PEBASE); |
+ xdefine("_image_base__", SDATA, PEBASE); |
} |
static void |