delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/01/07/15:58:05

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199801072057.AA201516622@typhoon.rose.hp.com>
Subject: Re: Stack Alignment
To: dj AT delorie DOT com (DJ Delorie)
Date: Wed, 07 Jan 1998 12:57:02 PST
Cc: andrewc AT rosemail DOT rose DOT hp DOT com, djgpp-workers AT delorie DOT com
In-Reply-To: <199801070150.UAA13128@delorie.com>; from "DJ Delorie" at Jan 6, 98 8:50 pm
Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com

> > is being aligned in crt1.c.
> You are correct.  The stack is aligned in crt0.s
This is certainly a more elegant and simple place to put the fix.  
The only downside to it is that it requires crt1.c to be compiled
with -mstack-align-double enabled as well (which is only available
in pgcc, egcs and gcc don't have it).  This is fine since most people
recompile all of the sources first thing anyway.  I'll update the 
pgcc docs for people.

Thanks

Andrew


--
_______       ___________________________________________________________
           /                       	                  Andrew Crabtree 
          /                          	      Workgroup Networks Division 
         ____       ___  /                                Hewlett-Packard 
        /     /    /    /   		                    Roseville, CA 
     __/   __/    _____/                                     916/785-1675
                 /                           andrewc AT rosemail DOT rose DOT hp DOT com
___________   __/   _____________________________________________________

- Raw text -


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