X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 23 May 2012 09:47:42 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: nm manual incomplete ?
Message-ID: <20120523074742.GF9200@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4FBC8C81.8070204@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <4FBC8C81.8070204@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On May 23 09:06, marco atzeri wrote:
> using
> $ nm --version
> GNU nm (GNU Binutils) 2.22.52.20120326
> 
> I see on an npi (libmpi.dll.a) library
> 
> d002278.o:
> 00000000 i .idata$4
> 00000000 i .idata$5
> 00000000 i .idata$6
> 00000000 i .idata$7
> 00000000 t .text
>          U __head_cygmpi_1_dll
> 00000000 I __imp__ompi_mpi_comm_world
> 00000000 I __nm__ompi_mpi_comm_world
> 
> but there is no "I" on the nm manual :
> ---------------------------------------------------------------
> "i" For PE format files this indicates that the symbol is in a
>     section specific to the implementation of DLLs.  For ELF format
>     files this indicates that the symbol is an indirect function.
>     This is a GNU extension to the standard set of ELF symbol
>     types.  It indicates a symbol which if referenced by a
>     relocation does not evaluate to its address, but instead must
>     be invoked at runtime.  The runtime execution will then return
>     the value to be used in the relocation.
> 
> "N" The symbol is a debugging symbol.
> ---------------------------------------------------------------
> 
> what is "I" for ?

Import?  Indirection?  Maybe you should ask on the binutils list,
they might be interested to fix the man page.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

