www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/26/11:06:54

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Tue, 26 Jun 2001 10:55:11 -0400
MIME-Version: 1.0
Subject: Re: gcc 3.0 released
Message-ID: <3B386A0F.14316.3F2111@localhost>
References: <3B376547 DOT 14699 DOT 24583 AT localhost>
In-reply-to: <Pine.A41.4.05.10106260848150.34080-100000@ieva06.lanet.lv>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

> !     if (sym[i].e_scnum == 0)

This test is big (imo of course). It should also test whether the symbol is 
actually external before complaining. I suggest the following (not-tested):

if (sym[i].e_sclass == C_EXT && sym[i].e_scnum == 0)

Section symbols like '.comment' have an e_sclass of C_STAT and an e_type of 
T_NULL, so this test should fix the .comment problem at the same time.

- Raw text -


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