Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add a few comments from <mips/elf.h>.



details:   https://anonhg.NetBSD.org/src/rev/5542fb648e49
branches:  trunk
changeset: 477668:5542fb648e49
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Oct 27 09:21:35 1999 +0000

description:
Add a few comments from <mips/elf.h>.

diffstat:

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

diffs (30 lines):

diff -r 695df8b2f7f0 -r 5542fb648e49 sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h        Wed Oct 27 09:10:27 1999 +0000
+++ b/sys/sys/exec_elf.h        Wed Oct 27 09:21:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf.h,v 1.28 1999/10/26 19:10:26 kleink Exp $     */
+/*     $NetBSD: exec_elf.h,v 1.29 1999/10/27 09:21:35 simonb Exp $     */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -141,9 +141,9 @@
 #define        ELFDATA2LSB     1       /* 2's complement values, LSB first */
 #define        ELFDATA2MSB     2       /* 2's complement values, MSG first */
 
-#define        PF_R            0x4
-#define        PF_W            0x2
-#define        PF_X            0x1
+#define        PF_R            0x4     /* Segment is readable */
+#define        PF_W            0x2     /* Segment is writable */
+#define        PF_X            0x1     /* Segment is executable */
 
 #define        PF_MASKPROC     0xf0000000      /* Processor-specific values */
 
@@ -304,6 +304,7 @@
 
 #define        ELF_SYM_UNDEFINED       0
 
+/* Symbol bindings */
 #define        STB_LOCAL               0       /* local symbol */
 #define        STB_GLOBAL              1       /* global symbol */
 #define        STB_WEAK                2       /* weakly defined global symbol */



Home | Main Index | Thread Index | Old Index