This is the mail archive of the libc-hacker@sources.redhat.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]
Other format: [Raw text]

Re: Fix _exit for Linux


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

Jakub Jelinek wrote:

There is a difference between libc_hidden_def in .S files and in .c files.
In .S files it will work even if libc_hidden_proto () was not declared
in header files (usually the assembly doesn't even include those headers),
while if you use libc_hidden_{def,weak} without previous libc_hidden_proto,
things will break badly...
Anyway, the _exit code can now be hidden. The implementation in glibc itself is now correct if compiled with the new kernel headers so there is no need to allow it to be overwritten. Let's change include/unistd.h and add hidden everywhere for _exit.

- -- - ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 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

iD8DBQE9hhGA2ijCOnn/RHQRAodIAKDGKsw02EoXxh2IKij3axJlDlb80ACgtfNr
bj9Y/7TEIN7bdij2o/pIUfU=
=/JH9
-----END PGP SIGNATURE-----


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