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: gas section alignment restriction


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


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