Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add DT_PREINIT_ARRAY/DT_PREINIT_ARRAYSZ and few othe...



details:   https://anonhg.NetBSD.org/src/rev/bf6ac1fbe6af
branches:  trunk
changeset: 784506:bf6ac1fbe6af
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jan 30 01:12:56 2013 +0000

description:
Add DT_PREINIT_ARRAY/DT_PREINIT_ARRAYSZ and few other missing ones.

diffstat:

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

diffs (23 lines):

diff -r d9d3a44f9af0 -r bf6ac1fbe6af sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h        Wed Jan 30 01:11:12 2013 +0000
+++ b/sys/sys/exec_elf.h        Wed Jan 30 01:12:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf.h,v 1.126 2012/08/05 01:43:59 matt Exp $      */
+/*     $NetBSD: exec_elf.h,v 1.127 2013/01/30 01:12:56 matt Exp $      */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -668,7 +668,12 @@
 #define DT_FINI_ARRAY  26      /* Size, in bytes, of DT_INIT_ARRAY array */
 #define DT_INIT_ARRAYSZ 27     /* Address of termination function array */
 #define DT_FINI_ARRAYSZ 28     /* Size, in bytes, of DT_FINI_ARRAY array*/
-#define DT_NUM         29
+#define DT_RUNPATH     29      /* overrides DT_RPATH */
+#define DT_FLAGS       30      /* Encodes ORIGIN, SYMBOLIC, TEXTREL, BIND_NOW, STATIC_TLS */
+#define DT_ENCODING    31      /* ??? */
+#define DT_PREINIT_ARRAY 32    /* Address of pre-init function array */
+#define DT_PREINIT_ARRAYSZ 33  /* Size, in bytes, of DT_PREINIT_ARRAY array */
+#define DT_NUM         34
 
 #define DT_LOOS                0x60000000      /* Operating system specific range */
 #define DT_VERSYM      0x6ffffff0      /* Symbol versions */



Home | Main Index | Thread Index | Old Index