This is the mail archive of the binutils@sources.redhat.com 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]

Re: Why does gas put padding on ia64?


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.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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