Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove MAXDSIZ since VM_DEFAULT_ADDRESS adds it. S...
details: https://anonhg.NetBSD.org/src/rev/9d11f8e1b716
branches: trunk
changeset: 543573:9d11f8e1b716
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 28 00:11:14 2003 +0000
description:
Remove MAXDSIZ since VM_DEFAULT_ADDRESS adds it. Sigh. It was correct.
diffstat:
sys/kern/exec_elf32.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 86fd153a410d -r 9d11f8e1b716 sys/kern/exec_elf32.c
--- a/sys/kern/exec_elf32.c Thu Feb 27 23:48:29 2003 +0000
+++ b/sys/kern/exec_elf32.c Fri Feb 28 00:11:14 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf32.c,v 1.85 2003/02/27 23:48:29 matt Exp $ */
+/* $NetBSD: exec_elf32.c,v 1.86 2003/02/28 00:11:14 matt Exp $ */
/*-
* Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.85 2003/02/27 23:48:29 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.86 2003/02/28 00:11:14 matt Exp $");
/* If not included by exec_elf64.c, ELFSIZE won't be defined. */
#ifndef ELFSIZE
@@ -414,7 +414,7 @@
/*
* Now compute the size and load address.
*/
- addr = VM_DEFAULT_ADDRESS(epp->ep_daddr + MAXDSIZ,
+ addr = VM_DEFAULT_ADDRESS(epp->ep_daddr,
round_page(limit) - trunc_page(base_ph->p_vaddr));
} else
#endif /* !ELF_INTERP_NON_RELOCATABLE */
Home |
Main Index |
Thread Index |
Old Index