c6d234
commit c5eebdd084b77b0b581a3aa02213fa7cc5851216
c6d234
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
c6d234
Date:   Tue Jan 7 09:40:00 2014 +0100
c6d234
c6d234
    S/390: Get rid of unused variable warning in dl-machine.h
c6d234
c6d234
diff --git a/sysdeps/s390/s390-32/dl-machine.h b/sysdeps/s390/s390-32/dl-machine.h
c6d234
index febd99f8c6013f29..d2f57e6bbe13ec9d 100644
c6d234
--- a/sysdeps/s390/s390-32/dl-machine.h
c6d234
+++ b/sysdeps/s390/s390-32/dl-machine.h
c6d234
@@ -354,7 +354,8 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
c6d234
     return;
c6d234
   else
c6d234
     {
c6d234
-#ifndef RESOLVE_CONFLICT_FIND_MAP
c6d234
+#if !defined RTLD_BOOTSTRAP && !defined RESOLVE_CONFLICT_FIND_MAP
c6d234
+      /* Only needed for R_390_COPY below.  */
c6d234
       const Elf32_Sym *const refsym = sym;
c6d234
 #endif
c6d234
       struct link_map *sym_map = RESOLVE_MAP (&sym, version, r_type);