mirror of
https://github.com/golang/go
synced 2024-11-24 22:47:58 -07:00
runtime: fix "SysReserve returned unaligned address" bug on 32-bit systems
R=rsc CC=golang-dev https://golang.org/cl/5642064
This commit is contained in:
parent
c59dc485cd
commit
073aeff785
@ -261,6 +261,8 @@ runtime·mallocinit(void)
|
|||||||
extern byte end[];
|
extern byte end[];
|
||||||
byte *want;
|
byte *want;
|
||||||
|
|
||||||
|
p = nil;
|
||||||
|
|
||||||
runtime·InitSizes();
|
runtime·InitSizes();
|
||||||
|
|
||||||
// Set up the allocation arena, a contiguous area of memory where
|
// Set up the allocation arena, a contiguous area of memory where
|
||||||
|
Loading…
Reference in New Issue
Block a user