www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/03/06:16:31

Date: Thu, 3 May 2001 13:17:47 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Jack K." <xos AT o2 DOT pl>
cc: djgpp AT delorie DOT com
Subject: Re: data alignment
In-Reply-To: <9cr94e$4if$1@news.tpi.pl>
Message-ID: <Pine.SUN.3.91.1010503131553.613C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 3 May 2001, Jack K. wrote:

> > > The linker (or compiler) ignores if
> > > I define a variable with "__attribute__ ((aligned(16)))". What is the
> > > reason?
> >
> > What alignment in bytes did you want for that variable,
> 
> 4096 bytes

Hmm?  Do you really mean thay ou wanted that variable to be aligned on 
4096-byte boundary?  If so, why did you use aligned(16)?  The number 16 
specifies the alignment in bytes.

> > and how did you see that the above attribute is ignored?
> 
> In a map file.

Please post the details: how did you produce the map file, and what did 
you look at in the map file to determine the alignment.

- Raw text -


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