* sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that

easily.
This commit is contained in:
Ulrich Drepper 2009-02-07 19:44:02 +00:00
parent bfacf1af1a
commit 7dddb4bd1e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-02-07 Ulrich Drepper <drepper@redhat.com> 2009-02-07 Ulrich Drepper <drepper@redhat.com>
* sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that
easily.
* malloc/malloc.c: Add branch prediction for use of the hooks. * malloc/malloc.c: Add branch prediction for use of the hooks.
* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.

View File

@ -42,7 +42,7 @@
/* We are very tricky here. We want to have _null_auth in a read-only /* We are very tricky here. We want to have _null_auth in a read-only
section but we cannot add const to the type because this isn't how section but we cannot add const to the type because this isn't how
the variable is declared. So we use the section attribute. */ the variable is declared. So we use the section attribute. */
struct opaque_auth _null_auth __attribute__ ((nocommon, section (".rodata"))); struct opaque_auth _null_auth __attribute__ ((nocommon));
libc_hidden_def (_null_auth) libc_hidden_def (_null_auth)
fd_set svc_fdset; fd_set svc_fdset;
struct rpc_createerr rpc_createerr; struct rpc_createerr rpc_createerr;