This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]