Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add ELF64 versions of st_info manipulation macros I ...



details:   https://anonhg.NetBSD.org/src/rev/91dc12e990a9
branches:  trunk
changeset: 477659:91dc12e990a9
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Oct 26 19:10:26 1999 +0000

description:
Add ELF64 versions of st_info manipulation macros I missed in previous.

diffstat:

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

diffs (20 lines):

diff -r ecddac74ba60 -r 91dc12e990a9 sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h        Tue Oct 26 18:20:44 1999 +0000
+++ b/sys/sys/exec_elf.h        Tue Oct 26 19:10:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf.h,v 1.27 1999/10/25 13:47:10 kleink Exp $     */
+/*     $NetBSD: exec_elf.h,v 1.28 1999/10/26 19:10:26 kleink Exp $     */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -327,6 +327,10 @@
 #define        ELF32_ST_TYPE(info)             ((info) & 0xf)
 #define        ELF32_ST_INFO(bind,type)        (((bind) << 4 + ((type) & 0xf))
 
+#define        ELF64_ST_BIND(info)             ((info) >> 4)
+#define        ELF64_ST_TYPE(info)             ((info) & 0xf)
+#define        ELF64_ST_INFO(bind,type)        (((bind) << 4 + ((type) & 0xf))
+
 /*
  * Special section indexes
  */



Home | Main Index | Thread Index | Old Index