Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/bootblock/elf2bb Comment that (buffer +...



details:   https://anonhg.NetBSD.org/src/rev/4fc1b12ce985
branches:  trunk
changeset: 365856:4fc1b12ce985
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Apr 29 06:59:29 2022 +0000

description:
Comment that (buffer + 14) stands for reltab in bbstart.s.

diffstat:

 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71fbd5a8dfbf -r 4fc1b12ce985 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
--- a/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c    Fri Apr 29 06:56:56 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c    Fri Apr 29 06:59:29 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf2bb.c,v 1.28 2022/04/25 15:48:57 rin Exp $  */
+/*     $NetBSD: elf2bb.c,v 1.29 2022/04/29 06:59:29 rin Exp $  */
 
 /*-
  * Copyright (c) 1996,2006 The NetBSD Foundation, Inc.
@@ -288,7 +288,7 @@
        case RELVER_RELATIVE_BYTES_FORWARD:
                rpo = buffer + tsz + dsz;
                delta = +1;
-               *(uint16_t *)(buffer + 14) = htobe16(tsz + dsz);
+               *(uint16_t *)(buffer + 14) /* reltab */ = htobe16(tsz + dsz);
                break;
        }
 



Home | Main Index | Thread Index | Old Index