summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-06-10 21:15:50 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-06-10 21:15:50 +0000
commitb08440e568654d75d67f6802a53d508bbd7bc552 (patch)
tree90cffddfe667bcea229b07146014377023bf4b40 /libexec
parentf76fcf6d4c205c6bc580eae0aca8dc4a335f6a8a (diff)
Notes
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 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. */