From b4f518ecfad09fc4279ea26a565332835e403dab Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Tue, 15 Mar 2016 23:16:47 -0400 Subject: 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 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index db653f5..071a666 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2016-03-15 Carlos O'Donell + + * catgets/tst-catgets.c (do_bz17905): Mark result unused. + * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused. + * math/atest-exp.c (exp_mpn): Mark chk unused. + * math/atest-exp2.c (exp_mpn): Likwise. + * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused. + * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused. + 2016-03-15 Joseph Myers * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL): -- cgit v1.1