X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,LOTS_OF_MONEY,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <4FBC8C81.8070204@gmail.com>
Date: Wed, 23 May 2012 09:06:41 +0200
From: marco atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: nm manual incomplete ?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

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 ?

Regards
Marco



--
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

