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?
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 30 Apr 2003 18:54:21 +0930
- Subject: Re: Why does gas put padding on ia64?
- References: <20030429160912.A23638@lucon.org>
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