mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
S/390: Get rid of warning unused variable in dl-machine.h.
This commit is contained in:
parent
618cebeff8
commit
47df8251e8
@ -1,3 +1,9 @@
|
||||
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):
|
||||
|
@ -278,7 +278,8 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user