Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 1995 16:47:47 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org, swallace@ece.uci.edu
Subject:   Re: gets()
Message-ID:  <199510240647.QAA01671@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Why in libc.so.2.2 and libc.a is there:

>0001d598 T _getrusage
>         U _gets 
>00006960 T _gets  

nm apparently doesn't understand the special symbol for _gets that is
generated by __warn_references().  It should print `?' or something
instead of `U'.

>Using an older ld (2.0?), I discovered this.

>ld.old: /usr/lib/libc.so.2.2: Warning symbol without external reference following.

Older ld's apparently don't understand the special symbol either.

>That is the only undefined symbol in /usr/lib/libc.so.2.2.
>Doesn't seem right to me.

There are probably some more now :-).  Poul added some warnings.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510240647.QAA01671>