Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Register DT_GNU_HASH



details:   https://anonhg.NetBSD.org/src/rev/9026220f6b3e
branches:  trunk
changeset: 969681:9026220f6b3e
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Feb 27 13:50:06 2020 +0000

description:
Register DT_GNU_HASH

GNU-style hash table is supported in GNU and LLVM toolchains.

https://sourceware.org/ml/binutils/2006-10/msg00377.html

diffstat:

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

diffs (17 lines):

diff -r bbb556db85a9 -r 9026220f6b3e sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h        Thu Feb 27 12:52:20 2020 +0000
+++ b/sys/sys/exec_elf.h        Thu Feb 27 13:50:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf.h,v 1.164 2020/01/02 05:18:07 kamil Exp $     */
+/*     $NetBSD: exec_elf.h,v 1.165 2020/02/27 13:50:06 kamil Exp $     */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -797,6 +797,7 @@
 #define DT_NUM         34
 
 #define DT_LOOS                0x60000000      /* Operating system specific range */
+#define DT_GNU_HASH    0x6ffffef5      /* GNU-style hash table */
 #define DT_VERSYM      0x6ffffff0      /* Symbol versions */
 #define DT_FLAGS_1     0x6ffffffb      /* ELF dynamic flags */
 #define DT_VERDEF      0x6ffffffc      /* Versions defined by file */



Home | Main Index | Thread Index | Old Index