Re: MIPS section alignment of object file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 22, 2008 at 12:29:26PM +0000, Ralf Baechle wrote:
> The minimum alignment technically required is the largest alignment of
> any type contained in a section.  Due to the possibility of relocatable
> links the assembler can't know what the largest aligment is, so it has
> to make a reasonable guess which would be 8 bytes, the size of a double
> floating point.

That's not really true.  The compiler is responsible for emitting
appropriate .align directives to communicate this.  I don't remember
where the hack in gas came from, but I bet it's required for IRIX.

-- 
Daniel Jacobowitz
CodeSourcery


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux