.previous\n\
");
# else
-# define ELF_MACHINE_RUNTIME_TRAMPOLINE asm ("\n\
+# define ELF_MACHINE_RUNTIME_TRAMPOLINE asm ("\n\
.text\n\
.globl _dl_runtime_resolve\n\
.globl _dl_runtime_profile\n\
return;
# endif
else
-#endif
+#endif /* !RTLD_BOOTSTRAP and have no -z combreloc */
{
const Elf32_Sym *const refsym = sym;
#if defined USE_TLS && !defined RTLD_BOOTSTRAP
if (sym != NULL)
# endif
value += sym->st_value;
-#endif
+#endif /* use TLS and !RTLD_BOOTSTRAP */
switch (r_type)
{
default:
_dl_reloc_bad_type (map, r_type, 0);
break;
-#endif
+#endif /* !RTLD_BOOTSTRAP */
}
}
}
Elf32_Addr value = RESOLVE (&sym, version, ELF32_R_TYPE (reloc->r_info));
if (sym != NULL)
value += sym->st_value;
-#endif
+# endif
switch (ELF32_R_TYPE (reloc->r_info))
{
*reloc_addr = (value + reloc->r_addend - (Elf32_Addr) reloc_addr);
break;
-#ifdef USE_TLS
+# ifdef USE_TLS
case R_386_TLS_DTPMOD32:
/* Get the information from the link map returned by the
resolv function. */
+ reloc->r_addend;
CHECK_STATIC_TLS (map, sym_map);
break;
-#endif /* use TLS */
+# endif /* use TLS */
default:
/* We add these checks in the version to relocate ld.so only
if we are still debugging. */
}
}
}
-#endif
+#endif /* !RTLD_BOOTSTRAP */
static inline void
elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc,
{
*reloc_addr = l_addr + reloc->r_addend;
}
-#endif
+#endif /* !RTLD_BOOTSTRAP */
static inline void
elf_machine_lazy_rel (struct link_map *map,
{
}
-#endif
+#endif /* !RTLD_BOOTSTRAP */
#endif /* RESOLVE */