Date: Thu, 3 May 2001 13:17:47 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Jack K." cc: djgpp AT delorie DOT com Subject: Re: data alignment In-Reply-To: <9cr94e$4if$1@news.tpi.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.