This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why does gas put padding on ia64?
On Wed, Apr 30, 2003 at 06:54:21PM +0930, Alan Modra wrote:
> On Tue, Apr 29, 2003 at 04:09:12PM -0700, H. J. Lu wrote:
> > Gas tries to align the section size to the last alignment on ia64. For
> >
> > .data
> > .align 16
> > .byte -1
> >
> > it puts 15 bytes of 0 after -1. It doesn't hapen on i386. Why does it
> > do that?
>
> rth added the feature on 2000-12-28. It's been hacked on a bit
> since. x86 doesn't pad because we define SUB_SEGMENT_ALIGN.
Richard, is that really necessary? Intel ia64 assembler doesn't do
that. I can't see why gas has to do that. I may have missed something.
H.J.