delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/23/03:48:50

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

- Raw text -


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