[PATCH] dl-dtprocnum.h
Mark Kettenis
kettenis@wins.uva.nl
Fri Jun 9 16:04:00 GMT 2000
From: Ulrich Drepper <drepper@redhat.com>
Date: 09 Jun 2000 15:29:31 -0700
Jakub Jelinek <jakub@redhat.com> writes:
> Installed <link.h> uses DT_THISPROCNUM, but as that is defined by
> a private header, nothing including it will compile.
I thought <link.h> is already removed from the list of installed
headers. Nobody outside the libc should ever use it. It's changing
constantl and the variables referenced are not visible anyway. Can
anybody name a user?
Yep, GDB uses it, probably ever since it supports debugging ELF shared
libraries. The header seems to be available on all SVR4 derived
systems and on ELF based *BSD systems too. The comments in our
<link.h> explicitly say that it is intended to be used by the
debugger. There is even a comment saying that most symbols of `struct
link_map' may change without notice, implying that the few listed
before that point won't.
I would strongly object against removing it.
Mark
More information about the Libc-hacker
mailing list