LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Derived from: | 2 * Derived from: |
3 * $FreeBSD: src/sys/sys/elf32.h,v 1.8.14.1 2005/12/30 22:13:58 marcel Exp $ | 3 * $FreeBSD: src/sys/sys/elf32.h,v 1.8.14.1 2005/12/30 22:13:58 marcel Exp $ |
4 * $FreeBSD: src/sys/sys/elf64.h,v 1.10.14.1 2005/12/30 22:13:58 marcel Exp $ | 4 * $FreeBSD: src/sys/sys/elf64.h,v 1.10.14.1 2005/12/30 22:13:58 marcel Exp $ |
5 * $FreeBSD: src/sys/sys/elf_common.h,v 1.15.8.1 2005/12/30 22:13:58 marcel Exp
$ | 5 * $FreeBSD: src/sys/sys/elf_common.h,v 1.15.8.1 2005/12/30 22:13:58 marcel Exp
$ |
6 * $FreeBSD: src/sys/alpha/include/elf.h,v 1.14 2003/09/25 01:10:22 peter Exp $ | 6 * $FreeBSD: src/sys/alpha/include/elf.h,v 1.14 2003/09/25 01:10:22 peter Exp $ |
7 * $FreeBSD: src/sys/amd64/include/elf.h,v 1.18 2004/08/03 08:21:48 dfr Exp $ | 7 * $FreeBSD: src/sys/amd64/include/elf.h,v 1.18 2004/08/03 08:21:48 dfr Exp $ |
8 * $FreeBSD: src/sys/arm/include/elf.h,v 1.5.2.1 2006/06/30 21:42:52 cognet Exp
$ | 8 * $FreeBSD: src/sys/arm/include/elf.h,v 1.5.2.1 2006/06/30 21:42:52 cognet Exp
$ |
9 * $FreeBSD: src/sys/i386/include/elf.h,v 1.16 2004/08/02 19:12:17 dfr Exp $ | 9 * $FreeBSD: src/sys/i386/include/elf.h,v 1.16 2004/08/02 19:12:17 dfr Exp $ |
10 * $FreeBSD: src/sys/powerpc/include/elf.h,v 1.7 2004/11/02 09:47:01 ssouhlal Ex
p $ | 10 * $FreeBSD: src/sys/powerpc/include/elf.h,v 1.7 2004/11/02 09:47:01 ssouhlal Ex
p $ |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 #define ELFOSABI_SOLARIS 6 /* Solaris */ | 103 #define ELFOSABI_SOLARIS 6 /* Solaris */ |
104 #define ELFOSABI_AIX 7 /* AIX */ | 104 #define ELFOSABI_AIX 7 /* AIX */ |
105 #define ELFOSABI_IRIX 8 /* IRIX */ | 105 #define ELFOSABI_IRIX 8 /* IRIX */ |
106 #define ELFOSABI_FREEBSD 9 /* FreeBSD */ | 106 #define ELFOSABI_FREEBSD 9 /* FreeBSD */ |
107 #define ELFOSABI_TRU64 10 /* TRU64 UNIX */ | 107 #define ELFOSABI_TRU64 10 /* TRU64 UNIX */ |
108 #define ELFOSABI_MODESTO 11 /* Novell Modesto */ | 108 #define ELFOSABI_MODESTO 11 /* Novell Modesto */ |
109 #define ELFOSABI_OPENBSD 12 /* OpenBSD */ | 109 #define ELFOSABI_OPENBSD 12 /* OpenBSD */ |
110 #define ELFOSABI_OPENVMS 13 /* Open VMS */ | 110 #define ELFOSABI_OPENVMS 13 /* Open VMS */ |
111 #define ELFOSABI_NSK 14 /* HP Non-Stop Kernel */ | 111 #define ELFOSABI_NSK 14 /* HP Non-Stop Kernel */ |
112 #define ELFOSABI_ARM 97 /* ARM */ | 112 #define ELFOSABI_ARM 97 /* ARM */ |
113 #define ELFOSABI_NACL 123 /* Native Client */ | |
114 #define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */ | 113 #define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */ |
115 | 114 |
116 #define ELFOSABI_SYSV ELFOSABI_NONE /* symbol used in old spec */ | 115 #define ELFOSABI_SYSV ELFOSABI_NONE /* symbol used in old spec */ |
117 #define ELFOSABI_MONTEREY ELFOSABI_AIX /* Monterey */ | 116 #define ELFOSABI_MONTEREY ELFOSABI_AIX /* Monterey */ |
118 | 117 |
119 /* e_ident */ | 118 /* e_ident */ |
120 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ | 119 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ |
121 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ | 120 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ |
122 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \ | 121 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \ |
123 (ehdr).e_ident[EI_MAG3] == ELFMAG3) | 122 (ehdr).e_ident[EI_MAG3] == ELFMAG3) |
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 EXTERN char* elfstrdat; | 980 EXTERN char* elfstrdat; |
982 EXTERN int elftextsh; | 981 EXTERN int elftextsh; |
983 | 982 |
984 /* | 983 /* |
985 * Total amount of space to reserve at the start of the file | 984 * Total amount of space to reserve at the start of the file |
986 * for Header, PHeaders, SHeaders, and interp. | 985 * for Header, PHeaders, SHeaders, and interp. |
987 * May waste some. | 986 * May waste some. |
988 * On FreeBSD, cannot be larger than a page. | 987 * On FreeBSD, cannot be larger than a page. |
989 */ | 988 */ |
990 #define ELFRESERVE 3072 | 989 #define ELFRESERVE 3072 |
LEFT | RIGHT |