make tools question & symbol versioning
Daniel Eischen
deischen at freebsd.org
Tue Feb 28 06:43:30 PST 2006
On Tue, 28 Feb 2006, Hajimu UMEMOTO wrote:
> Hi,
>
> >>>>> On Tue, 28 Feb 2006 00:51:48 -0500 (EST)
> >>>>> Daniel Eischen <eischen at vigrid.com> said:
>
> eischen> I'm working on symbol versioning for libc and have an awk script
> eischen> that needs to run (from libc/Makefile) in order to generate the
> eischen> symbol map file. It may also be applicable for symbol versioning
> eischen> other libraries. Where is the right place to put it?
>
> eischen> If anyone is interested in reviewing, the first shot at symbol
> eischen> versioning for libc at:
>
> eischen> http://people.freebsd.org/~deischen/symver/symver.diffs
>
> eischen> I was conservative in removing global symbols. I'm sure there
> eischen> are others that can be removed, but we can do that later.
>
> It seems your diff includes the functions only for libc internal, such
> as gethostbyname_r. Do we need to target such symbols?
For that particular function, I thought it was suppose to be exported
for use by applications. It doesn't begin with underscores, and it
ends with "_r", so it certainly looked like it should.
These functions should be renamed if they are internal interfaces.
I'll remove gethostbyname_r. If you find others that shouldn't be
there, please let me know.
--
DE
More information about the freebsd-arch
mailing list