| delorie.com/archives/browse.cgi | search |
| From: | "Mark E." <snowball3 AT bigfoot DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Link errors with Debug switch on |
| Date: | Sun, 17 Jun 2001 16:42:29 -0400 |
| Organization: | Snowball's Web |
| Message-ID: | <t55qitcugu913fes5du4et2iu1h2cg2pv2@4ax.com> |
| References: | <Pine DOT A41 DOT 4 DOT 05 DOT 10106161439240 DOT 106024-100000 AT ieva06 DOT lanet DOT lv> (message from Andris Pavenis on Sat, 16 Jun 2001 14:52:01 +0300 (WET)) <3791-Sat16Jun2001160700+0300-eliz AT is DOT elta DOT co DOT il> <3B2B8A3A DOT 1619 DOT 432328 AT localhost> |
| X-Newsreader: | Forte Agent 1.8/32.548 |
| MIME-Version: | 1.0 |
| NNTP-Posting-Host: | slip-12-64-133-115.mis.prserv.net |
| X-Trace: | 17 Jun 2001 20:39:41 GMT, slip-12-64-133-115.mis.prserv.net |
| Lines: | 30 |
| X-Complaints-To: | abuse AT prserv DOT net |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |