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