Date: Tue, 6 Jul 1999 16:14:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: salvador cc: djgpp-workers AT delorie DOT com Subject: Re: .align directives in libc.a In-Reply-To: <378200AB.B0EC3DF6@inti.gov.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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? > Aligning to 16 bytes is good but will bloat libc a little bit. I think ".balign 16,,7" doesn't bloat too much, and it's what Intel recommends. But I don't know if GCC/EGCS can be told to use this.