Date: Tue, 6 Jul 1999 16:04:40 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: salvador cc: djgpp-workers AT delorie DOT com, Robert Hoehne , Andris Pavenis Subject: Re: .align directives in libc.a In-Reply-To: <3781F878.E2AE32B8@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 alignment pseudo-ops allow to define the value of the byte with > > which to pad. Thus, ".p2align 3,0xcc" should pad to 8-byte boundary > > with Int 3 instructions. > > > > But why is this a good idea? > > To trap jumps in this space. Can GCC be configured or told at run time which filler to use for alignment? For that matter, can it be told to emit a smarter align directive, like ".balign 16,0xcc,7"?