Mail Archives: djgpp-workers/1999/07/07/08:18:38
On Tue, 6 Jul 1999, salvador wrote:
> I added a special section to my link configuration file (djgpp.djl?). This
> section is very well aligned and I put special functions there.
> What about including it in 2.03 so we can experiment?
Why don't we simply do it by default? I don't like the idea of putting
this into djgpp.djl, since that file is distributed with Binutils, but
we could configure Binutils to align all sections better then they do
now.
> > The Intel manuals seem to indicate that optimal alignment of code is
> > also 16 bytes, at least for the targets of call/jmp instructions under
> > some circumstances. Again, unless the code section is 16-byte
> > aligned, no clever use of .align by the code will ever be able to
> > achieve that.
>
> Sections should be aligned to 32 bytes at least.
Why? At least for the data sections, 8 bytes seem to be enough: only
long double variables need more.
- Raw text -