diff options
author | Carlos O'Donell <carlos@redhat.com> | 2016-03-15 23:16:47 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2016-03-15 23:23:24 -0400 |
commit | b4f518ecfad09fc4279ea26a565332835e403dab (patch) | |
tree | 56d39c0f69cafc6afc02cc2e81292d37f69cb0b9 /ChangeLog | |
parent | 089b772f98afd9eb6264c6489bc96a30bf6af4ac (diff) | |
download | glibc-b4f518ecfad09fc4279ea26a565332835e403dab.zip glibc-b4f518ecfad09fc4279ea26a565332835e403dab.tar.gz glibc-b4f518ecfad09fc4279ea26a565332835e403dab.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2016-03-15 Carlos O'Donell <carlos@redhat.com> + + * 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 <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL): |