summaryrefslogtreecommitdiff
path: root/src/cmd/link/layout.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/link/layout.go')
-rw-r--r--src/cmd/link/layout.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/link/layout.go b/src/cmd/link/layout.go
index 6477022444..149ebced0f 100644
--- a/src/cmd/link/layout.go
+++ b/src/cmd/link/layout.go
@@ -172,9 +172,9 @@ func (p *Prog) layout() {
start = sect.VirtAddr
end = sect.VirtAddr + sect.Size
}
- p.defineConst(name, start)
- p.defineConst("e"+name, end)
+ p.defineConst("runtime."+name, start)
+ p.defineConst("runtime.e"+name, end)
progEnd = end
}
- p.defineConst("end", progEnd)
+ p.defineConst("runtime.end", progEnd)
}