delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/19/12:49:01

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199705191648.AA139390512@typhoon.rose.hp.com>
Subject: -m486 alignment problem
To: djgpp AT delorie DOT com
Date: Mon, 19 May 1997 9:48:32 PDT

Could somebody (Eli or DJ maybe) give me a concise explanation
of the alignment problem with the current DJGPP version.  I was 
attempting to explain it to someone when I realized I didn't have
a clue what I was talking about.  I checked the FAQ and didn't find
the detail I wanted.  

Anyway, what was suggested to me was that the compiler was outputting
.align 2 and was meaning that 2 to be taken as 2 to the power of (in this
case 4), but the assembler was treating it as just the number of bytes.

So 

.align     cc1             as
2          4 bytes         2 bytes

But I was then told that this was a configuration problem and a 
reconfigure and rebuild would fix it.

Thanks for any info 

Andrew

- Raw text -


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