return 1;
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
def_mod = sym_ref.tpnt;
} else {
/*
_dl_progname, symname);
return 0;
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
#if defined(__SUPPORT_LD_DEBUG__)
_dl_progname, symname);
_dl_exit (1);
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
symbol_tpnt = sym_ref.tpnt;
}
}
symbol_addr += rpnt->r_addend;
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
#if defined (__SUPPORT_LD_DEBUG__)
if (unlikely(!symbol_addr && (ELF_ST_TYPE(symtab[symtab_index].st_info) != STT_TLS)
&& ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_WEAK))
return 1;
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
tls_tpnt = sym_ref.tpnt;
} else {
symbol_addr = symtab[symtab_index].st_value;
_dl_dprintf(2, "%s: can't resolve symbol '%s'\n", _dl_progname, symname);
_dl_exit(1);
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
#if defined (__SUPPORT_LD_DEBUG__)
elf_machine_type_class(reloc_type), &sym_ref);
if (unlikely(!symbol_addr && ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_WEAK))
return 1;
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
if (!symtab_index) {
/* Relocs against STN_UNDEF are usually treated as using a
&& (ELF32_ST_TYPE(sym_ref.sym->st_info) != STT_TLS
&& ELF32_ST_BIND(sym_ref.sym->st_info) != STB_WEAK)))
return 1;
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
tls_tpnt = sym_ref.tpnt;
} else {
symbol_addr = sym_ref.sym->st_value;
/* Let the caller to handle the error: it may be non fatal if called from dlopen */
return 1;
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
tls_tpnt = sym_ref.tpnt;
}
_dl_progname, symname);
_dl_exit (1);
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
#ifdef __SUPPORT_LD_DEBUG__
return 1;
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
tls_tpnt = sym_ref.tpnt;
} else {
/* Relocs against STN_UNDEF are usually treated as using a
/* This may be non-fatal if called from dlopen. */
return 1;
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
#if defined USE_TLS && USE_TLS
tls_tpnt = sym_ref.tpnt;
#endif
_dl_progname, symname);
_dl_exit (1);
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
#if defined (__SUPPORT_LD_DEBUG__)