Question about section alignment
Daniel Jacobowitz
drow@false.org
Thu Feb 28 15:03:00 GMT 2008
On Thu, Feb 28, 2008 at 10:59:59PM +0900, robert song wrote:
> It seems that irix mips has already used 128-bit data types ( long
> doubles), and I found some comments in tc-mips.c as bellows:
> /* We don't need to align ELF sections to the full alignment.
> However, Irix 5 may prefer that we align them at least to a 16
> byte boundary. We don't bother to align the sections if we
> are targeted for an embedded system. */
>
> I don't know why it prefer a 16 byte boundary **at least**, but not by
> the largest data alignment of the file.
I'm not sure what this is for, either, but it's caused trouble in the
past. Maybe we should do it just for Irix?
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list