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: [PATCH] PPC64 fe_nomask.c


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

Steven Munroe wrote:

> Looks like this was common to all linux platforms. The following patch
> fixes the namespace problem, but I am not sure I did the correct thing
> with the Versions file ...

The patch isn't right and you misunderstood the problem.

The problem is not to have a function prctl().  The problem is to use
this non-standard name for the implementation of some standard
functionality.

It is perfectly fine for all platforms to define.  And you must not
remove prctl from the export list.  And it is not necessary to protect
the __prctl prototype with libc_hidden_def since it doesn't get
exported.  And you mustn't put anything like you did in <sys/prctl.h>.

I think the patch I've added should work fine.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+NhgW2ijCOnn/RHQRApQJAKCRfrQuQgc2kZCVLvT8ibsa12JhjQCgxdZz
3SWsQ63YgHwlrpU6LssZoq8=
=4SHA
-----END PGP SIGNATURE-----


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