Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/pc532/stand/common pullup 1.2->1.3 (Matthias P...



details:   https://anonhg.NetBSD.org/src/rev/3b2c4e8410a1
branches:  netbsd-1-4
changeset: 468909:3b2c4e8410a1
user:      perry <perry%NetBSD.org@localhost>
date:      Tue Jun 22 22:24:30 1999 +0000

description:
pullup 1.2->1.3 (Matthias Pfaller)

diffstat:

 sys/arch/pc532/stand/common/machdep.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 96b3e6165dfe -r 3b2c4e8410a1 sys/arch/pc532/stand/common/machdep.c
--- a/sys/arch/pc532/stand/common/machdep.c     Tue Jun 22 22:23:16 1999 +0000
+++ b/sys/arch/pc532/stand/common/machdep.c     Tue Jun 22 22:24:30 1999 +0000
@@ -1,6 +1,6 @@
-/*     $NetBSD: machdep.c,v 1.2 1998/09/12 19:15:00 matthias Exp $     */
+/*     $NetBSD: machdep.c,v 1.2.6.1 1999/06/22 22:24:30 perry Exp $    */
 
-/* 
+/*
  * Copyright (c) 1994 Philip L. Budne.
  * All rights reserved.
  *
@@ -90,13 +90,15 @@
        extern u_int opendev;
 
        load = (char *)((long)entry & 0x00ffff00);
+       /* /sys/lib/libsa/exec.c subtracts loadaddr from esym??? */
+       esym += (u_long)loadaddr;
 
        if (load != loadaddr) {
                memcpy(load, loadaddr, esym - loadaddr);
                ssym += loadaddr - load;
                esym += loadaddr - load;
        }
-       entry = (char *)((long)entry & 0xffffff);
+       entry = (char *)((u_long)entry & 0xffffff);
 
        printf("\n");
 



Home | Main Index | Thread Index | Old Index