diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/arm/dl-machine.h | 2 | ||||
-rw-r--r-- | sysdeps/i386/i686/dl-hash.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h index 0905adda7a..60eee00b5b 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -581,7 +581,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, # ifdef RESOLVE_CONFLICT_FIND_MAP case R_ARM_TLS_DESC: { - struct tlsdesc volatile *td = + struct tlsdesc volatile *td __attribute__ ((unused)) = (struct tlsdesc volatile *) reloc_addr; RESOLVE_CONFLICT_FIND_MAP (map, reloc_addr); diff --git a/sysdeps/i386/i686/dl-hash.h b/sysdeps/i386/i686/dl-hash.h index 8ba85d2a71..dd4458fa89 100644 --- a/sysdeps/i386/i686/dl-hash.h +++ b/sysdeps/i386/i686/dl-hash.h @@ -26,6 +26,7 @@ would be much slower than the generic C implementation. So don't use it. */ static unsigned int +__attribute__ ((unused)) _dl_elf_hash (const char *name) { unsigned int result; |