Module Name:    src
Committed By:   uwe
Date:           Sun Dec  8 21:46:03 UTC 2019

Modified Files:
        src/sys/arch/powerpc/include: elf_machdep.h

Log Message:
Fix typo in the definition of #ha() in a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/include/elf_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/elf_machdep.h
diff -u src/sys/arch/powerpc/include/elf_machdep.h:1.15 src/sys/arch/powerpc/include/elf_machdep.h:1.16
--- src/sys/arch/powerpc/include/elf_machdep.h:1.15	Mon Nov  6 19:20:54 2017
+++ src/sys/arch/powerpc/include/elf_machdep.h	Sun Dec  8 21:46:03 2019
@@ -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)

Reply via email to