summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index b2aabc2fa..80d059121 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -587,11 +587,11 @@ struct elf_resolve *_dl_load_elf_shared_library(int secure,
return NULL;
}
- if (! piclib2map)
+ if (! piclib2map) {
DL_INIT_LOADADDR_HDR
(lib_loadaddr, status
+ (ppnt->p_vaddr & ADDR_ALIGN), ppnt);
-
+ }
/* Now we want to allocate and
zero-out any data from the end of
the region we mapped in from the
@@ -780,9 +780,9 @@ int _dl_fixup(struct dyn_elf *rpnt, int now_flag)
return goof;
tpnt = rpnt->dyn;
- if (!(tpnt->init_flag & RELOCS_DONE))
+ if (!(tpnt->init_flag & RELOCS_DONE)) {
_dl_if_debug_dprint("relocation processing: %s\n", tpnt->libname);
-
+ }
if (unlikely(tpnt->dynamic_info[UNSUPPORTED_RELOC_TYPE])) {
_dl_if_debug_dprint("%s: can't handle %s relocation records\n",
_dl_progname, UNSUPPORTED_RELOC_STR);