delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/01/25/20:09:02

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199801260107.AA206156830@typhoon.rose.hp.com>
Subject: Re: -g problem
To: robert DOT hoehne AT gmx DOT net (Robert Hoehne)
Date: Sun, 25 Jan 1998 17:07:10 PST
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <34CA3F71.CD6AD0B1@gmx.net>; from "Robert Hoehne" at Jan 24, 98 8:22 pm
Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com

 
> I checked it now (got also the mail from the workers list) and found the
> following: This problem is to 99.99% a problem of the gcc you are
> using.
Wow - pretty accurate prediction :)

> 	.def	.ef;	.val	.;	.scl	101;	.line	1;	.endef
> 	.def	_start;	.val	.;	.scl	-1;	.endef
> 	.p2align 2
> 	.def	__start;	.val	
> 
> (with gcc 2.7.2.1 there is a .align 2 instead of .p2align).
Right - that was one of the first fixes after the problematic 1st pgcc release.
I too am confused as to how the presence or absence of an align
directive is having an effect on the symbols that gas sees.  I will confirm
that adding a .align works and then send off to Ian to see his thoughts.
Hopefully, this is restricted to just pgcc (which doesn't use align much),
and not egcs.

Thanks for looking at it.

Andy


--
_______       ___________________________________________________________
           /                       	                  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