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: [rfa] remove more alpha plt entries


> 	* include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
> 	(__getrusage, __setrlimit): Likewise.
> 	* include/sys/time.h (__settimeofday, __adjtime): Likewise.
> 	(__getitimer, __setitimer, __utimes): Likewise.
> 	* include/sys/wait.h (__waitpid, __wait4): Likewise.

These are internal names.  I think it suffices just to put attribute_hidden
on their decls and be done with it.  This patch is incomplete because it
doesn't add libc_hidden_def to each and every definition used by any
configuration, which is required.  (libc_hidden_proto turns on renaming
magic that makes the normal definitions not define the necessary symbols in
the absence of libc_hidden_def.)

> +libc_hidden_proto(__getrlimit)
> +libc_hidden_proto(__getrusage)
> +libc_hidden_proto(__setrlimit)

Put a space before (.


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