nm manual incomplete ?

Corinna Vinschen corinna-cygwin@cygwin.com
Wed May 23 07:48:00 GMT 2012


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



More information about the Cygwin mailing list