2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
+ * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
+ Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
+ to get rid of unused variable warning.
+
+2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
+
* sysdeps/s390/s390-32/backtrace.c (__backtrace):
Check for unwind_backtrace == NULL only in SHARED case.
(__backchain_backtrace): Compile only in SHARED case.
return;
else
{
-#ifndef RESOLVE_CONFLICT_FIND_MAP
+#if !defined RTLD_BOOTSTRAP && !defined RESOLVE_CONFLICT_FIND_MAP
+ /* Only needed for R_390_COPY below. */
const Elf64_Sym *const refsym = sym;
#endif
struct link_map *sym_map = RESOLVE_MAP (&sym, version, r_type);