OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 | 7 |
8 /* @file | 8 /* @file |
9 * | 9 * |
10 * Defines common constants used in ELF files, used by elf32.h, elf64.h | 10 * Defines common constants used in ELF files, used by elf32.h, elf64.h |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 * PF_MASKOS is from linux elf.h, for code usage compatibility | 122 * PF_MASKOS is from linux elf.h, for code usage compatibility |
123 */ | 123 */ |
124 #define PF_MASKOS 0x0ff00000 /* os specific */ | 124 #define PF_MASKOS 0x0ff00000 /* os specific */ |
125 | 125 |
126 #define SHF_WRITE 0x1 /* Has writable data */ | 126 #define SHF_WRITE 0x1 /* Has writable data */ |
127 #define SHF_ALLOC 0x2 /* Allocated in memory image of program */ | 127 #define SHF_ALLOC 0x2 /* Allocated in memory image of program */ |
128 #define SHF_EXECINSTR 0x4 /* Contains executable instructions */ | 128 #define SHF_EXECINSTR 0x4 /* Contains executable instructions */ |
129 #define SHF_MASKOS 0x0f000000 /* Environment-specific use */ | 129 #define SHF_MASKOS 0x0f000000 /* Environment-specific use */ |
130 #define SHF_MASKPROC 0xf0000000 /* Processor-specific use */ | 130 #define SHF_MASKPROC 0xf0000000 /* Processor-specific use */ |
131 | 131 |
| 132 #define ELF_NOTE_GNU "GNU" |
| 133 |
| 134 /* n_type value for build ID notes generated by "ld --build-id". */ |
| 135 #define NT_GNU_BUILD_ID 3 |
| 136 |
132 EXTERN_C_END | 137 EXTERN_C_END |
133 | 138 |
134 #endif /* NATIVE_CLIENT_SRC_INCLUDE_ELF_CONSTANTS_H_ */ | 139 #endif /* NATIVE_CLIENT_SRC_INCLUDE_ELF_CONSTANTS_H_ */ |
OLD | NEW |