From: Ulrich Drepper Date: Sun, 4 Dec 2011 21:12:20 +0000 (-0500) Subject: Fix attreibute for _dl_elf_hash X-Git-Tag: glibc-2.15~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52ff5dd0e4ad6436def42b58bc8abe5b534cf739;p=platform%2Fupstream%2Fglibc.git Fix attreibute for _dl_elf_hash --- diff --git a/ChangeLog b/ChangeLog index 6416f9e..0dfff5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-12-04 Ulrich Drepper + * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute. + * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues. * sunrpc/clnt_tcp.c (clnttcp_control): Likewise. * sunrpc/clnt_udp.c (clntudp_call): Likewise. diff --git a/sysdeps/generic/dl-hash.h b/sysdeps/generic/dl-hash.h index 37a7a42..e35bd25 100644 --- a/sysdeps/generic/dl-hash.h +++ b/sysdeps/generic/dl-hash.h @@ -25,7 +25,7 @@ first five operations no overflow is possible so we optimized it a bit. */ static unsigned int -__attribute__ ((used)) +__attribute__ ((unused)) _dl_elf_hash (const char *name_arg) { const unsigned char *name = (const unsigned char *) name_arg;