diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-10-26 22:51:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-10-26 22:51:47 +0000 |
commit | 781a93bed726199e8d310a957ba5943830c0de5d (patch) | |
tree | bf9b13354d476fb7f1911037c7399f2d7ad19cf2 /gnu/usr.bin/ld | |
parent | a3fa96b8b7a9c6cbc515bf1f202027047cdc3954 (diff) |
indent
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r-- | gnu/usr.bin/ld/rtld/rtld.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c index a719bdaf216..03caa3ae525 100644 --- a/gnu/usr.bin/ld/rtld/rtld.c +++ b/gnu/usr.bin/ld/rtld/rtld.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld.c,v 1.10 1998/08/28 20:45:41 deraadt Exp $ */ +/* $OpenBSD: rtld.c,v 1.11 1999/10/26 22:51:46 deraadt Exp $ */ /* $NetBSD: rtld.c,v 1.43 1996/01/14 00:35:17 pk Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -247,12 +247,9 @@ rtld(version, crtp, dp) /* Relocate ourselves */ - for ( reloc = (struct relocation_info *)(LD_REL(dp) + crtp->crt_ba); - nreloc; - nreloc--, reloc++) { - + for (reloc = (struct relocation_info *)(LD_REL(dp) + crtp->crt_ba); + nreloc; nreloc--, reloc++) { register long addr = reloc->r_address + crtp->crt_ba; - md_relocate_simple(reloc, crtp->crt_ba, addr); } |