Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Define the CTF ELF section header magic number.



details:   https://anonhg.NetBSD.org/src/rev/1a6adcc6c7ce
branches:  trunk
changeset: 954354:1a6adcc6c7ce
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Apr 06 07:56:10 2021 +0000

description:
Define the CTF ELF section header magic number.

diffstat:

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

diffs (18 lines):

diff -r ab475f628bec -r 1a6adcc6c7ce sys/sys/kern_ctf.h
--- a/sys/sys/kern_ctf.h        Tue Apr 06 05:13:24 2021 +0000
+++ b/sys/sys/kern_ctf.h        Tue Apr 06 07:56:10 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_ctf.h,v 1.2 2018/05/28 21:05:02 chs Exp $ */
+/*     $NetBSD: kern_ctf.h,v 1.3 2021/04/06 07:56:10 simonb Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
 #ifndef _SYS_CTF_H_
 #define        _SYS_CTF_H_
 
+#define        CTF_MAGIC       0xcff1  /* magic number identifying header */
+
 /*
  * Modules CTF section
  */



Home | Main Index | Thread Index | Old Index