diff options
| author | John Polstra <jdp@FreeBSD.org> | 1998-09-08 20:38:06 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1998-09-08 20:38:06 +0000 |
| commit | e17ade2b82335de9ede05e2c2e11e6466abf316c (patch) | |
| tree | 6c044d32936ece57abd0d3055b10b3c23a5693c6 | |
| parent | 8aa2558802a5a2612f95c6c2e3e9c83b54be9ce8 (diff) | |
Notes
| -rw-r--r-- | sys/sys/elf_common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 179c819b8d03..e9f846a11108 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: elf_common.h,v 1.1 1998/08/16 03:03:38 jdp Exp $ */ #ifndef _SYS_ELF_COMMON_H_ @@ -123,6 +123,12 @@ #define SHT_LOUSER 0x80000000 /* reserved range for application */ #define SHT_HIUSER 0xffffffff /* specific indexes */ +/* Flags for sh_flags. */ +#define SHF_WRITE 0x1 /* Section contains writable data. */ +#define SHF_ALLOC 0x2 /* Section occupies memory. */ +#define SHF_EXECINSTR 0x4 /* Section contains instructions. */ +#define SHF_MASKPROC 0xf0000000 /* Reserved for processor-specific. */ + /* Values for p_type. */ #define PT_NULL 0 /* Unused entry. */ #define PT_LOAD 1 /* Loadable segment. */ |
