This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
questions about relax
- From: ligang at sunnorth dot com dot cn
- To: binutils at sourceware dot org
- Date: Wed, 8 Mar 2006 17:01:16 +0800
- Subject: questions about relax
Hi,
In function relax_segment(), there are two stage, estimate frag size and do
relax.
But, .org and .space are not handled at the first stage which are likely to
change
the address of any other frags.
questions are:
Why are .org and .space not handled at the first stage?
Can i do nothing in md_estimate_size_before_relax() and handle relaxation
only in
md_relax_frag()?
What's the real purpose of md_estimate_size_before_relax(), for the address
of frags
will probably be changed by the second stage?
What's the relationship between md_estimate_size_before_relax() and
md_relax_frag()?
Thanks.
Ligang