summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c306a84da089..f3425eb7b2ac 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 c306a84da089..f3425eb7b2ac 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. */