Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/stand/libsa Avoid backward seek on tape boot.



details:   https://anonhg.NetBSD.org/src/rev/b95a9fa60015
branches:  trunk
changeset: 765521:b95a9fa60015
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun May 29 10:29:01 2011 +0000

description:
Avoid backward seek on tape boot.

diffstat:

 sys/arch/mvme68k/stand/libsa/exec_mvme.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7e4c289a010b -r b95a9fa60015 sys/arch/mvme68k/stand/libsa/exec_mvme.c
--- a/sys/arch/mvme68k/stand/libsa/exec_mvme.c  Sun May 29 10:19:09 2011 +0000
+++ b/sys/arch/mvme68k/stand/libsa/exec_mvme.c  Sun May 29 10:29:01 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_mvme.c,v 1.15 2008/01/12 09:54:32 tsutsui Exp $ */
+/*     $NetBSD: exec_mvme.c,v 1.16 2011/05/29 10:29:01 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -56,7 +56,7 @@
 
        lflags = LOAD_KERNEL;
        if ((flag & RB_NOSYM) != 0 )
-               lflags &= ~LOAD_SYM;
+               lflags &= ~(LOAD_SYM | LOAD_BACKWARDS);
 
        marks[MARK_START] = KERN_LOADADDR;
        if ((fd = loadfile(file, marks, lflags)) == -1)



Home | Main Index | Thread Index | Old Index