delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/20/11:56:39

From: pavenis AT lanet DOT lv
To: "Mark E." <snowball3 AT bigfoot DOT com>, djgpp AT delorie DOT com
Date: Wed, 20 Jun 2001 18:53:28 +0300
MIME-Version: 1.0
Subject: Re: Link errors with Debug switch on
Message-ID: <3B30F128.30855.1925E59@localhost>
In-reply-to: <3dd1jt49jcq8662qr4vrai9ke3j99p2sri@4ax.com>
References: <t55qitcugu913fes5du4et2iu1h2cg2pv2 AT 4ax DOT com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
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 20 Jun 2001, at 10:40, Mark E. wrote:

> On Sun, 17 Jun 2001 16:42:29 -0400, you wrote:
> 
> I posted this, but received no reply. Does the modified version of as.exe from the
> url below fix the problem without causing new ones?

It seems to fix disappearance of external symbol but I cannot say more.
 
> >
> >Try this modified version of 2.11's as.exe and see if the link problem goes away:
> >http://members.nbci.com/snowball3/djgpp/as.exe
> >
> >Or test the actual change yourself with the binutils 2.11 source:
> >*** gas/config/obj-coff.bak	Thu Dec 28 05:07:56 2000
> >--- gas/config/obj-coff.c	Sun Jun 17 14:22:02 2001
> >*************** coff_frob_symbol (symp, punt)
> >*** 1174,1180 ****
> >  	  && S_GET_STORAGE_CLASS (symp) != C_LABEL
> >  	  && symbol_constant_p(symp)
> >  	  && (real = symbol_find_base (S_GET_NAME (symp), DO_NOT_STRIP))
> >! 	  && real != symp)
> >  	{
> >  	  c_symbol_merge (symp, real);
> >  	  *punt = 1;
> >--- 1174,1181 ----
> >  	  && S_GET_STORAGE_CLASS (symp) != C_LABEL
> >  	  && symbol_constant_p(symp)
> >  	  && (real = symbol_find_base (S_GET_NAME (symp), DO_NOT_STRIP))
> >! 	  && real != symp
> >! 	  && S_GET_STORAGE_CLASS (real) == C_NULL)
> >  	{
> >  	  c_symbol_merge (symp, real);
> >  	  *punt = 1;
> 
> -- 
> Mark E.: snowball3 AT bigfoot DOT com
> http://snowball.frogspace.net/


- Raw text -


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