This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [rfa] remove more alpha plt entries
- From: Roland McGrath <roland at redhat dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 24 Jun 2003 11:12:05 -0700
- Subject: 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 (.