Sender: root AT delorie DOT com Message-ID: <37820FD4.1F447791@inti.gov.ar> Date: Tue, 06 Jul 1999 11:16:52 -0300 From: salvador Organization: INTI X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: es-AR, en, es MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp-workers AT delorie DOT com Subject: Re: .align directives in libc.a References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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