This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
alignment frags
- To: binutils at sources dot redhat dot com
- Subject: alignment frags
- From: Timothy Wall <twall at oculustech dot com>
- Date: Sun, 11 Nov 2001 04:17:03 -0500
- Organization: Oculus Technologies
- Reply-to: twall at oculustech dot com
At some point some extra frags were added to GAS processing, such that
a section change will result in an "alignment" frag being added to the
previous segment. Unfortunately, this results in a section that would
normally be a few bytes long to be filled to the alignment boundary.
(specifically, the section change invokes subseg_finish, which does
align_frag, which adds the extra (empty) frag).
My testsuite picked this up, though I haven't been looking at builds for
a while, so I'm not sure exactly when it crept in.
Is this absolutely necessary? What is the rationale? Why is the empty
frag resulting in a fill?