delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/07/07/09:53:00

Date: Wed, 7 Jul 1999 16:50:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: salvador <salvador AT inti DOT gov DOT ar>
cc: djgpp-workers AT delorie DOT com
Subject: Re: .align directives in libc.a
In-Reply-To: <37835749.DEDAFC98@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.990707164920.2851n-100000@is>
MIME-Version: 1.0
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

On Wed, 7 Jul 1999, salvador wrote:

> Yes, the problem is that:
> 
> -------------- first file
> functions here
> last_address
> -------------- next .o file linked by ld
> last_address aligned to 8 bytes boundary
> functions here
> --------------
> 
> So if you try to align to 16, 32, etc bytes boundaries you won't succeed. Also:
> putting a .align directive at the end of first file doesn't work.
> This value is hardcoded in binutils.

So we need to change the value in Binutils, to get proper alignment.

- Raw text -


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