Blame SOURCES/glibc-rh1505492-unused-6.patch

c6d234
commit 47df8251e8df7570d9581806113723aeb07dc35d
c6d234
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
c6d234
Date:   Thu Nov 13 10:44:11 2014 +0100
c6d234
c6d234
    S/390: Get rid of warning unused variable in dl-machine.h.
c6d234
c6d234
diff --git a/sysdeps/s390/s390-64/dl-machine.h b/sysdeps/s390/s390-64/dl-machine.h
c6d234
index d08ec8f783729db5..71266a168415d645 100644
c6d234
--- a/sysdeps/s390/s390-64/dl-machine.h
c6d234
+++ b/sysdeps/s390/s390-64/dl-machine.h
c6d234
@@ -299,7 +299,8 @@ elf_machine_rela (struct link_map *map, const Elf64_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 Elf64_Sym *const refsym = sym;
c6d234
 #endif
c6d234
       struct link_map *sym_map = RESOLVE_MAP (&sym, version, r_type);