Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys add the rest of the gnu specific pt sections.
details: https://anonhg.NetBSD.org/src/rev/8fc793ea2619
branches: trunk
changeset: 762165:8fc793ea2619
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 16 23:22:30 2011 +0000
description:
add the rest of the gnu specific pt sections.
diffstat:
sys/sys/exec_elf.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r fffbb2c08fa5 -r 8fc793ea2619 sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h Wed Feb 16 23:08:29 2011 +0000
+++ b/sys/sys/exec_elf.h Wed Feb 16 23:22:30 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.h,v 1.108 2010/12/24 12:41:43 skrll Exp $ */
+/* $NetBSD: exec_elf.h,v 1.109 2011/02/16 23:22:30 christos Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -344,7 +344,12 @@
#define PT_NUM 8
#define PT_LOOS 0x60000000 /* OS-specific range */
-#define PT_GNU_EH_FRAME 0x6474e550 /* GNU-specific EH frame segment */
+
+/* GNU-specific */
+#define PT_GNU_EH_FRAME 0x6474e550 /* EH frame segment */
+#define PT_GNU_STACK 0x6474e551 /* Indicate executable stack */
+#define PT_GNU_RELRO 0x6474e552 /* Make read-only after relocation */
+
#define PT_HIOS 0x6fffffff
#define PT_LOPROC 0x70000000 /* Processor-specific range */
#define PT_HIPROC 0x7fffffff
Home |
Main Index |
Thread Index |
Old Index