Mail Archives: djgpp-workers/1999/07/06/11:20:08
Eli Zaretskii wrote:
> On Tue, 6 Jul 1999, salvador wrote:
>
> > The main problem is the fact that we must align all the code to 16 bytes if the
> > user wants to align your functions to 16 bytes.
>
> I don't understand why this is true. The .text section must be aligned
> to 16 bytes, which wastes 15 bytes at most, but once .text is 16-byte
> aligned, any user-defined function can be aligned to 16-byte no matter
> what the rest of the code does: just emit the ".align" directive. Or am
> I missing something?
I don't know where do you think it can be configured, binutils? because I'm talking
about the current situation:
1) The start of the section is aligned by djgpp.djl
2) The aligment of the functions can be controled by -malign-functions
3) binutils controls the aligment between .o files (8 currently).
I think you are talking about (3) and not (2). Is that correct?
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
- Raw text -