summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-07 19:44:02 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-07 19:44:02 +0000
commit7dddb4bd1e22d8aa3cb2af9f5116ceec394d2d44 (patch)
treeebc28674f2ad7936367b733715e89925b6f37d04
parentbfacf1af1a534e56acfedc43ee8317061c7992be (diff)
downloadglibc-7dddb4bd1e22d8aa3cb2af9f5116ceec394d2d44.tar.gz
* sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that
easily.
-rw-r--r--ChangeLog3
-rw-r--r--sunrpc/rpc_common.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a56b396633..82bfe92cc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
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.
* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.
diff --git a/sunrpc/rpc_common.c b/sunrpc/rpc_common.c
index f7ad961c66..3fb0bda489 100644
--- a/sunrpc/rpc_common.c
+++ b/sunrpc/rpc_common.c
@@ -42,7 +42,7 @@
/* 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
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)
fd_set svc_fdset;
struct rpc_createerr rpc_createerr;