Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/5856ad2d3e9f
branches:  netbsd-7
changeset: 799968:5856ad2d3e9f
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Sep 10 06:38:54 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 c8a3b27e6001 -r 5856ad2d3e9f sys/arch/sparc64/sparc64/kobj_machdep.c
--- a/sys/arch/sparc64/sparc64/kobj_machdep.c   Sat Sep 10 06:36:37 2016 +0000
+++ b/sys/arch/sparc64/sparc64/kobj_machdep.c   Sat Sep 10 06:38:54 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.4.1 2016/09/10 06:38:54 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.4.1 2016/09/10 06:38:54 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