summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-14 19:58:04 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-14 19:58:04 +0000
commit577567c1dfd3e9ce0c0fbfd241b5043a4b1ae817 (patch)
tree718a295437851ac906aa2ad571118c4b9b7d6635 /elf
parent59e33904dd1ce8048251f0fc727eaac51944802a (diff)
downloadglibc-577567c1dfd3e9ce0c0fbfd241b5043a4b1ae817.tar.gz
glibc-577567c1dfd3e9ce0c0fbfd241b5043a4b1ae817.tar.xz
glibc-577567c1dfd3e9ce0c0fbfd241b5043a4b1ae817.zip
Update.
1999-09-14  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h (PF_MASKOS): New definition.
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 503e9ecf56..ba6988b4d4 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -513,7 +513,7 @@ typedef struct
 #define PT_NOTE		4		/* Auxiliary information */
 #define PT_SHLIB	5		/* Reserved */
 #define PT_PHDR		6		/* Entry for header table itself */
-#define	PT_NUM		7		/* Number of defined types.  */
+#define	PT_NUM		7		/* Number of defined types */
 #define PT_LOOS		0x60000000	/* Start of OS-specific */
 #define PT_HIOS		0x6fffffff	/* End of OS-specific */
 #define PT_LOPROC	0x70000000	/* Start of processor-specific */
@@ -524,6 +524,7 @@ typedef struct
 #define PF_X		(1 << 0)	/* Segment is executable */
 #define PF_W		(1 << 1)	/* Segment is writable */
 #define PF_R		(1 << 2)	/* Segment is readable */
+#define PF_MASKOS	0x0ff00000	/* OS-specific */
 #define PF_MASKPROC	0xf0000000	/* Processor-specific */
 
 /* Legal values for note segment descriptor types for core files. */