Date: Sat, 16 Jun 2001 16:07:00 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: pavenis AT lanet DOT lv Message-Id: <3791-Sat16Jun2001160700+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: chrisw AT wam DOT umd DOT edu, djgpp AT delorie DOT com In-reply-to: (message from Andris Pavenis on Sat, 16 Jun 2001 14:52:01 +0300 (WET)) Subject: Re: Link errors with Debug switch on References: 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 Precedence: bulk > Date: Sat, 16 Jun 2001 14:52:01 +0300 (WET) > From: Andris Pavenis > > andris AT hal:~$ i586-pc-msdosdjgpp-gcc -c -gstabs impar.c > andris AT hal:~$ i586-pc-msdosdjgpp-nm impar.o > 00000090 b .bss > 000006f1 ? .comment > 00000090 d .data > 000000d0 ? .stab > 00000310 ? .stabstr > 00000000 t .text > 00000090 b _imach.0 > 00000000 T _ipmpar > 000000c0 b _ipmpar.1 So the problem is still there in GCC 3.0. > However comparing assembler outputs with -gcoff and without it it seems > that a bug could be in GNU assembler but not in GCC. One can try different > binutils versions (beginning from 2.8.1 or 2.9.1) Ah, sorry that I didn't test different assemblers. I now tested with Gas from Binutils 2.10, and I still see the same problem. Gas 2.10 is the version I tried (on another machine) with GCC 2.7.2.1, where the problem didn't exist. So it looks like Gas is not the problem. But I admit that I'm not familiar with all the details of "gcc -S" output, so perhaps I'm missing something. Anyway, thanks for looking into this.