Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Nuke two frivolous assert()s.



details:   https://anonhg.NetBSD.org/src/rev/55cb8671fef8
branches:  trunk
changeset: 536311:55cb8671fef8
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri Sep 13 03:12:40 2002 +0000

description:
Nuke two frivolous assert()s.

diffstat:

 libexec/ld.elf_so/map_object.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r bd059171dfdf -r 55cb8671fef8 libexec/ld.elf_so/map_object.c
--- a/libexec/ld.elf_so/map_object.c    Fri Sep 13 03:09:38 2002 +0000
+++ b/libexec/ld.elf_so/map_object.c    Fri Sep 13 03:12:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: map_object.c,v 1.14 2002/09/06 13:20:29 mycroft Exp $   */
+/*     $NetBSD: map_object.c,v 1.15 2002/09/13 03:12:40 mycroft Exp $   */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -169,10 +169,6 @@
                    nsegs);
                return NULL;
        }
-#ifdef __i386__
-       assert(segs[0]->p_align <= PAGESIZE);
-       assert(segs[1]->p_align <= PAGESIZE);
-#endif
 
        /*
         * Map the entire address space of the object as a file



Home | Main Index | Thread Index | Old Index