Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add defines for MIPS_XHASH (.MIPS.xhash)



details:   https://anonhg.NetBSD.org/src/rev/1dae6a5860e4
branches:  trunk
changeset: 969759:1dae6a5860e4
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 29 22:09:29 2020 +0000

description:
Add defines for MIPS_XHASH (.MIPS.xhash)

MIPS version of GNU_HASH as supported by GNU toolchain.

diffstat:

 sys/sys/exec_elf.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 19ea2c722e5a -r 1dae6a5860e4 sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h        Sat Feb 29 21:36:03 2020 +0000
+++ b/sys/sys/exec_elf.h        Sat Feb 29 22:09:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf.h,v 1.165 2020/02/27 13:50:06 kamil Exp $     */
+/*     $NetBSD: exec_elf.h,v 1.166 2020/02/29 22:09:29 kamil Exp $     */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -549,6 +549,7 @@
 #define        SHT_MIPS_REGINFO     0x70000006
 #define        SHT_MIPS_OPTIONS     0x7000000d
 #define        SHT_MIPS_DWARF       0x7000001e /* MIPS gcc uses MIPS_DWARF */
+#define        SHT_MIPS_XHASH       0x7000002b /* MIPS version of GNU_HASH */
 #define SHT_HIPROC          0x7fffffff
 #define SHT_LOUSER          0x80000000 /* Application-specific range */
 #define SHT_HIUSER          0xffffffff
@@ -806,6 +807,7 @@
 #define DT_VERNEEDNUM  0x6fffffff      /* Number of versions needed by file */
 #define DT_HIOS                0x6fffffff
 #define DT_LOPROC      0x70000000      /* Processor-specific range */
+#define DT_MIPS_XHASH  0x70000036      /* MIPS version of GNU_HASH */
 #define DT_HIPROC      0x7fffffff
 
 /* Flag values for DT_FLAGS */



Home | Main Index | Thread Index | Old Index