Vincent Lefevre <vincent-o...@vinc17.net> wrote:

> For "nm -P", the output format is one of:
>
> "%s%s %s %d %d\n", <library/object name>, <name>, <type>, <value>, <size>
>
> "%s%s %s %o %o\n", <library/object name>, <name>, <type>, <value>, <size>
>
> "%s%s %s %x %x\n", <library/object name>, <name>, <type>, <value>, <size>
>
> But what should be <value> and <size> for undefined symbols?
>
> Under Linux, nm from binutils prints only blanks after the type
> for undefined symbols, which cannot match the specified format
> above.

Solaris is certified and prints 0, e.g.

        strlen     U        0        0 



Jörg

-- 
 EMail:jo...@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to