Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Fix typo in the definition of #ha()...
details: https://anonhg.NetBSD.org/src/rev/6e119f6e174f
branches: trunk
changeset: 466003:6e119f6e174f
user: uwe <uwe%NetBSD.org@localhost>
date: Sun Dec 08 21:46:03 2019 +0000
description:
Fix typo in the definition of #ha() in a comment.
diffstat:
sys/arch/powerpc/include/elf_machdep.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1712ebc27497 -r 6e119f6e174f sys/arch/powerpc/include/elf_machdep.h
--- a/sys/arch/powerpc/include/elf_machdep.h Sun Dec 08 21:30:00 2019 +0000
+++ b/sys/arch/powerpc/include/elf_machdep.h Sun Dec 08 21:46:03 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elf_machdep.h,v 1.15 2017/11/06 19:20:54 christos Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.16 2019/12/08 21:46:03 uwe Exp $ */
#ifndef _POWERPC_ELF_MACHDEP_H_
#define _POWERPC_ELF_MACHDEP_H_
@@ -71,7 +71,7 @@
//
// #lo(x) = (x & 0xffff)
// #hi(x) = ((x >> 16) & 0xffff)
-// #ha(x) = (((x >> 16) + ((x & 0x80000) == 0x8000)) & 0xffff)
+// #ha(x) = (((x >> 16) + ((x & 0x8000) == 0x8000)) & 0xffff)
// #higher(x) = ((x >> 32) & 0xffff)
// #highera(x) =
// (((x >> 32) + ((x & 0xffff8000) == 0xffff8000)) & 0xffff)
Home |
Main Index |
Thread Index |
Old Index