This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ready for 2.3?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcus Brinkmann wrote:

> I am not sure I understand the last question.  But the ld.so in the Hurd
> needs to get the glibc definitions of __libc_read, __libc_write, __xstat64,
> __fxstat64, __getpid etc to make dlopen work properly at runtime.  The full
> list of shared functions is in sysdeps/mach/hurd/Versions.  Making them
> hidden prototypes causes them to not get a PLT entry in ld.so,

If you need special treatment in Hurd then do this only for Hurd.
Define some proprocessor macro like

  LD_SO_NEED_LIBC_SYMBOLS

or whatever and do not process the libc_hidden_proto macro if it is set.
  What you do to the Hurd specific sources is of no concern outside Hurd
so remove the hidden_def lines.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9mIsm2ijCOnn/RHQRAk/SAJ0cIWXcv+MU0KKhc4slvFp/Sam01QCfTNU9
x9tE5qv3mSir9RuBlVgwtAg=
=efAu
-----END PGP SIGNATURE-----


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