summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 14:11:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 14:11:00 +0000
commitdf2e0d115455c2aeb55d4ee693b6c2b6cf82f213 (patch)
tree0029624a0022ac59e9949c17c0346b4b2dbce05c
parent72139db7f193c83558b785ee78e082117c42d74f (diff)
- Avoid warning about missing brace.
-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);