diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-02 16:57:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-02 16:57:59 +0000 |
commit | 9de3e81d3ae0edf58696f5ef45356a2fbc615b9e (patch) | |
tree | 68a91274148408935b2018b28ae24be4b18c8c26 /libexec/ld.so/mips/rtld_machine.c | |
parent | 09e6d0d93f5a520c5819dda4ad20beeb4823f0d9 (diff) |
knf & ansi; drahn ok
Diffstat (limited to 'libexec/ld.so/mips/rtld_machine.c')
-rw-r--r-- | libexec/ld.so/mips/rtld_machine.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/mips/rtld_machine.c b/libexec/ld.so/mips/rtld_machine.c index 45467e3b9cf..cc9644cf491 100644 --- a/libexec/ld.so/mips/rtld_machine.c +++ b/libexec/ld.so/mips/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.10 2002/12/18 19:20:02 drahn Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.11 2003/02/02 16:57:58 deraadt Exp $ */ /* * Copyright (c) 1998-2002 Opsycon AB, Sweden. @@ -226,10 +226,10 @@ DL_DEB(("got: '%s' = %x\n", strt + symp->st_name, symp->st_value)); } object->status |= STAT_GOT_DONE; - if (object->got_addr != NULL && object->got_size != 0) + if (object->got_addr != NULL && object->got_size != 0) _dl_mprotect((void*)object->got_addr, object->got_size, - PROT_READ); - if (object->plt_addr != NULL && object->plt_size != 0) + PROT_READ); + if (object->plt_addr != NULL && object->plt_size != 0) _dl_mprotect((void*)object->plt_addr, object->plt_size, PROT_READ|PROT_EXEC); } |