Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so/arch/sparc64 Despite the 10 in the name, t...



details:   https://anonhg.NetBSD.org/src/rev/1c6b8ac62f7d
branches:  trunk
changeset: 817654:1c6b8ac62f7d
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Aug 29 16:00:10 2016 +0000

description:
Despite the 10 in the name, the OLO10 relocation targets a 13 bit field,
the offset (O) providing the additional data.

diffstat:

 libexec/ld.elf_so/arch/sparc64/mdreloc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 607a43c9c14f -r 1c6b8ac62f7d libexec/ld.elf_so/arch/sparc64/mdreloc.c
--- a/libexec/ld.elf_so/arch/sparc64/mdreloc.c  Mon Aug 29 15:57:07 2016 +0000
+++ b/libexec/ld.elf_so/arch/sparc64/mdreloc.c  Mon Aug 29 16:00:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mdreloc.c,v 1.58 2016/06/20 08:12:25 martin Exp $      */
+/*     $NetBSD: mdreloc.c,v 1.59 2016/08/29 16:00:10 martin Exp $      */
 
 /*-
  * Copyright (c) 2000 Eduardo Horvath.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.58 2016/06/20 08:12:25 martin Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.59 2016/08/29 16:00:10 martin Exp $");
 #endif /* not lint */
 
 #include <errno.h>
@@ -175,7 +175,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