www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/07/07/10:34:21

Date: Wed, 7 Jul 1999 10:33:43 -0400 (EDT)
Message-Id: <199907071433.KAA07076@indy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.990707172813.2851u-100000@is> (message from Eli
Zaretskii on Wed, 7 Jul 1999 17:29:34 +0300 (IDT))
Subject: Re: .align directives in libc.a
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

> Then what is the purpose of having .align directives in the assembly 
> modules in the library?  At least in crt0.S and in exceptn.S it looks 
> like they are judiciously placed where performance really matters.

They have the most effect when placed *between* things, to *restore*
alignment that may have been lost due to unknown sizes of functions,
data objects, etc, within that object.  Placing them at the beginning
of a section has no effect.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019