summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/amd64/reloc.c6
-rw-r--r--libexec/rtld-elf/i386/reloc.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/rtld-elf/amd64/reloc.c b/libexec/rtld-elf/amd64/reloc.c
index c306a84..f3425eb 100644
--- a/libexec/rtld-elf/amd64/reloc.c
+++ b/libexec/rtld-elf/amd64/reloc.c
@@ -211,11 +211,11 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld)
goto done;
}
}
+ r = 0;
+done:
if (cache)
munmap(cache, bytes);
- r = 0;
-done:
- return(r);
+ return(r);
}
/* Process the PLT relocations. */
diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c
index c306a84..f3425eb 100644
--- a/libexec/rtld-elf/i386/reloc.c
+++ b/libexec/rtld-elf/i386/reloc.c
@@ -211,11 +211,11 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld)
goto done;
}
}
+ r = 0;
+done:
if (cache)
munmap(cache, bytes);
- r = 0;
-done:
- return(r);
+ return(r);
}
/* Process the PLT relocations. */
OpenPOWER on IntegriCloud