Module Name:    src
Committed By:   kamil
Date:           Thu Feb 27 13:50:06 UTC 2020

Modified Files:
        src/sys/sys: exec_elf.h

Log Message:
Register DT_GNU_HASH

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 src/sys/sys/exec_elf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/exec_elf.h
diff -u src/sys/sys/exec_elf.h:1.164 src/sys/sys/exec_elf.h:1.165
--- src/sys/sys/exec_elf.h:1.164	Thu Jan  2 05:18:07 2020
+++ src/sys/sys/exec_elf.h	Thu Feb 27 13:50:06 2020
@@ -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 @@ typedef struct {
 #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 */

Reply via email to