*** Submitted as http://code.google.com/p/go/source/detail?r=749a9400cd2a *** 8l: function at a time code layout R=ken2 CC=golang-dev http://codereview.appspot.com/2481042
14 years, 8 months ago
(2010-10-16 00:20:02 UTC)
#2
> lgtm > > does this work? > there are load options (data right after ...
14 years, 8 months ago
(2010-10-16 03:43:09 UTC)
#4
> lgtm
>
> does this work?
> there are load options (data right after text)
> where you need the size of the last func
> in order to lay out the first.
yes, i believe it works.
when the func gets laid out none of the data addresses
are filled in yet, but we know they're all 32-bit numbers
so it doesn't affect size. once all the addresses are
known, after span() and dodata(), reloc() goes and fills them in.
russ
Issue 2481042: code review 2481042: 8l: function at a time code layout
(Closed)
Created 14 years, 8 months ago by rsc
Modified 14 years, 8 months ago
Reviewers: ken3
Base URL:
Comments: 0