www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/15/16:15:23

From: "Chris Wilkinson" <chrisw AT wam DOT umd DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Link errors with Debug switch on
Date: Fri, 15 Jun 2001 16:12:26 -0400
Organization: University of Maryland College Park
Lines: 44
Message-ID: <9gdq8k$324$1@hecate.umd.edu>
References: <000801c0f518$4cddd300$5a3e0281 AT umd DOT edu> <9791-Fri15Jun2001104543+0300-eliz AT is DOT elta DOT co DOT il> <9gcu73$3s7$1 AT hecate DOT umd DOT edu> <9gd57o$717$2 AT hecate DOT umd DOT edu> <2945-Fri15Jun2001185559+0300-eliz AT is DOT elta DOT co DOT il> <9gdipt$bjm$2 AT hecate DOT umd DOT edu> <3069-Fri15Jun2001220355+0300-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: enme-90.umd.edu
X-Trace: hecate.umd.edu 992635988 3140 129.2.62.90 (15 Jun 2001 20:13:08 GMT)
X-Complaints-To: abuse AT wam DOT umd DOT edu
NNTP-Posting-Date: 15 Jun 2001 20:13:08 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:3069-Fri15Jun2001220355+0300-eliz AT is DOT elta DOT co DOT il...
> > From: "Chris Wilkinson" <chrisw AT wam DOT umd DOT edu>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 15 Jun 2001 14:05:27 -0400
> >
> What I'm looking for is to see whether ipmpar.o lists the function
> ipmpar (symbol name "_ipmpar") with `T'.

Here is the output from nm -A ipmpar.o. No -g switch.
C:\FFOP\src\OneUnit>nm -A ipmpar.o
ipmpar.o:000000a0 b .bss
ipmpar.o:000000a0 d .data
ipmpar.o:00000000 t .text
ipmpar.o:00000000 t ___gnu_compiled_c
ipmpar.o:000000a0 b _imach.3
ipmpar.o:00000000 T _ipmpar
ipmpar.o:000000cc b _ipmpar.4
ipmpar.o:00000000 t gcc2_compiled.

and here with the -g switch
C:\FFOP\src\OneUnit>nm -A ipmpar.o
ipmpar.o:00000000 t .bf
ipmpar.o:000000a0 b .bss
ipmpar.o:000000a0 d .data
ipmpar.o:00000094 t .ef
ipmpar.o:00000000 t .text
ipmpar.o:00000000 t ___gnu_compiled_c
ipmpar.o:000000a0 b _imach
ipmpar.o:000000a0 b _imach.3
ipmpar.o:00000000 t _ipmpar
ipmpar.o:000000cc b _ipmpar.4
ipmpar.o:00000000 t gcc2_compiled.

The difference seems to be that _ipmpar is marked with a 'T' in the first
case (no -g) and 't' in the second case (-g).

Many thanks for your perseverance in this.





- Raw text -


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