gas section alignment restriction

Daniel Jacobowitz drow@false.org
Mon Aug 30 13:35:00 GMT 2004


On Mon, Aug 30, 2004 at 11:34:23AM +0200, Jan Beulich wrote:
> Is there a particular reason why gas, in s_align(), restricts the
> alignment that one can set to 2**15, independent of object file format
> or any other auxiliary information? For COFF this would seem to be an an
> overly large value, while for ELF the value is too rigid (can't even
> align a section to a page boundary on systems where the page size is
> 64k).

FWIW, I've seen no ill effects from disabling that test for ELF.

-- 
Daniel Jacobowitz



More information about the Binutils mailing list