Source-Changes-HG archive

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

[src/netbsd-7-0]: src/sys/arch/sparc64/sparc64 Pull up following revision(s) ...



details:   https://anonhg.NetBSD.org/src/rev/67b94aa7ae6e
branches:  netbsd-7-0
changeset: 801210:67b94aa7ae6e
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Sep 10 06:40:03 2016 +0000

description:
Pull up following revision(s) (requested by martin in ticket #1248):
        sys/arch/sparc64/sparc64/kobj_machdep.c: revision 1.6
The target of the OLO10 relocation is the simd13 field of the instruction,
so use a 13 bit target mask.
Fixes PR kern/51436 (I broke this myself in rev 1.4)

diffstat:

 sys/arch/sparc64/sparc64/kobj_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r efdaaa69b02b -r 67b94aa7ae6e sys/arch/sparc64/sparc64/kobj_machdep.c
--- a/sys/arch/sparc64/sparc64/kobj_machdep.c   Sat Aug 27 15:21:28 2016 +0000
+++ b/sys/arch/sparc64/sparc64/kobj_machdep.c   Sat Sep 10 06:40:03 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kobj_machdep.c,v 1.5 2014/02/01 11:19:04 nakayama Exp $        */
+/*     $NetBSD: kobj_machdep.c,v 1.5.8.1 2016/09/10 06:40:03 snj Exp $ */
 
 /*-
  * Copyright (c) 2001 Jake Burkholder.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.5 2014/02/01 11:19:04 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.5.8.1 2016/09/10 06:40:03 snj Exp $");
 
 #define        ELFSIZE         ARCH_ELFSIZE
 
@@ -164,7 +164,7 @@
        _BM(22), _BM(10),               /* _HIPLT22, LOPLT10 */
        _BM(32), _BM(22), _BM(10),      /* _PCPLT32, _PCPLT22, _PCPLT10 */
        _BM(10), _BM(11), -1,           /* _10, _11, _64 */
-       _BM(10), _BM(22),               /* _OLO10, _HH22 */
+       _BM(13), _BM(22),               /* _OLO10, _HH22 */
        _BM(10), _BM(22),               /* _HM10, _LM22 */
        _BM(22), _BM(10), _BM(22),      /* _PC_HH22, _PC_HM10, _PC_LM22 */
        _BM(16), _BM(19),               /* _WDISP16, _WDISP19 */



Home | Main Index | Thread Index | Old Index