View | Details | Raw Unified | Return to bug 27924 | Differences between
and this patch

Collapse All | Expand All

(-)a/elf/dynamic-link.h (-2 / +7 lines)
Lines 179-191 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], Link Here
179
179
180
/* This can't just be an inline function because GCC is too dumb
180
/* This can't just be an inline function because GCC is too dumb
181
   to inline functions containing inlines themselves.  */
181
   to inline functions containing inlines themselves.  */
182
# ifdef RTLD_BOOTSTRAP
183
#  define DO_RTLD_BOOTSTRAP 1
184
# else
185
#  define DO_RTLD_BOOTSTRAP 0
186
# endif
182
# define ELF_DYNAMIC_RELOCATE(map, scope, lazy, consider_profile, skip_ifunc) \
187
# define ELF_DYNAMIC_RELOCATE(map, scope, lazy, consider_profile, skip_ifunc) \
183
  do {									      \
188
  do {									      \
184
    int edr_lazy = elf_machine_runtime_setup ((map), (scope), (lazy),	      \
189
    int edr_lazy = elf_machine_runtime_setup ((map), (scope), (lazy),	      \
185
					      (consider_profile));	      \
190
					      (consider_profile));	      \
186
    ELF_DYNAMIC_DO_REL ((map), (scope), edr_lazy, skip_ifunc);		      \
191
    ELF_DYNAMIC_DO_REL ((map), (scope), edr_lazy, skip_ifunc);		      \
187
    ELF_DYNAMIC_DO_RELA ((map), (scope), edr_lazy, skip_ifunc);		      \
192
    ELF_DYNAMIC_DO_RELA ((map), (scope), edr_lazy, skip_ifunc);		      \
188
    ELF_DYNAMIC_DO_RELR ((map));					      \
193
    if ((map) !=  &GL(dl_rtld_map) || DO_RTLD_BOOTSTRAP)		      \
194
      ELF_DYNAMIC_DO_RELR (map);					      \
189
  } while (0)
195
  } while (0)
190
196
191
#endif
197
#endif
192
- 

Return to bug 27924