Fix building glibc master with NDEBUG and --with-cpu.
commitb4f518ecfad09fc4279ea26a565332835e403dab
authorCarlos O'Donell <carlos@redhat.com>
Wed, 16 Mar 2016 03:16:47 +0000 (15 23:16 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Wed, 16 Mar 2016 03:23:24 +0000 (15 23:23 -0400)
tree56d39c0f69cafc6afc02cc2e81292d37f69cb0b9
parent089b772f98afd9eb6264c6489bc96a30bf6af4ac
Fix building glibc master with NDEBUG and --with-cpu.

When building on i686, x86_64, and arm, and with NDEBUG, or --with-cpu
there are various variables and functions which are unused based on
these settings.

This patch marks all such variables with __attribute__((unused)) to
avoid the compiler warnings when building with the aformentioned
options.
ChangeLog
catgets/tst-catgets.c
dlfcn/bug-dl-leaf-lib.c
math/atest-exp.c
math/atest-exp2.c
sysdeps/arm/dl-machine.h
sysdeps/i386/i686/dl-hash.h