diff options
| author | deraadt <deraadt@NetBSD.org> | 1994-11-25 23:08:31 +0000 |
|---|---|---|
| committer | deraadt <deraadt@NetBSD.org> | 1994-11-25 23:08:31 +0000 |
| commit | 9df57d6a8efb494daff3ebb6f1fe25be6c806f85 (patch) | |
| tree | 7b02723f88a72ccaf5fc5b5265ace074688afe5c /sys/lib/libsa/exec.c | |
| parent | 218fbce657de8aa4d3561426f6302de4c4252e57 (diff) | |
round text segment to __LDPGSZ bytes
Diffstat (limited to 'sys/lib/libsa/exec.c')
| -rw-r--r-- | sys/lib/libsa/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c index 0cfb055968d..491b665ee32 100644 --- a/sys/lib/libsa/exec.c +++ b/sys/lib/libsa/exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec.c,v 1.3 1994/10/26 05:44:44 cgd Exp $ */ +/* $NetBSD: exec.c,v 1.4 1994/11/25 23:08:31 deraadt Exp $ */ /*- * Copyright (c) 1982, 1986, 1990, 1993 @@ -83,7 +83,7 @@ exec(path, loadaddr, howto) goto shread; addr += x.a_text; if (N_GETMAGIC(x) == ZMAGIC || N_GETMAGIC(x) == NMAGIC) - while ((int)addr & CLOFSET) + while ((int)addr & __LDPGSZ) *addr++ = 0; /* Data */ printf("+%d", x.a_data); |
