This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] dl-dtprocnum.h


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]