public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* gas section alignment restriction
@ 2004-08-30  9:33 Jan Beulich
  2004-08-30 13:35 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2004-08-30  9:33 UTC (permalink / raw)
  To: binutils

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).

Thanks, Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gas section alignment restriction
  2004-08-30  9:33 gas section alignment restriction Jan Beulich
@ 2004-08-30 13:35 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2004-08-30 13:35 UTC (permalink / raw)
  To: Jan Beulich; +Cc: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-30 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-30  9:33 gas section alignment restriction Jan Beulich
2004-08-30 13:35 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).