OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mEhdr
(Results
1 - 2
of
2
) sorted by null
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
Elf32Convert.c
93
STATIC Elf_Ehdr *
mEhdr
;
134
mEhdr
= (Elf_Ehdr*) FileBuffer;
139
if (
mEhdr
->e_ident[EI_CLASS] != ELFCLASS32) {
143
if (
mEhdr
->e_ident[EI_DATA] != ELFDATA2LSB) {
147
if ((
mEhdr
->e_type != ET_EXEC) && (
mEhdr
->e_type != ET_DYN)) {
151
if (!((
mEhdr
->e_machine == EM_386) || (
mEhdr
->e_machine == EM_ARM))) {
155
if (
mEhdr
->e_version != EV_CURRENT) {
156
Error (NULL, 0, 3000, "Unsupported", "ELF e_version (%u) not EV_CURRENT (%d)", (unsigned)
mEhdr
->e_version, EV_CURRENT);
[
all
...]
Elf64Convert.c
94
STATIC Elf_Ehdr *
mEhdr
;
136
mEhdr
= (Elf_Ehdr*) FileBuffer;
142
if (
mEhdr
->e_ident[EI_CLASS] != ELFCLASS64) {
146
if (
mEhdr
->e_ident[EI_DATA] != ELFDATA2LSB) {
150
if ((
mEhdr
->e_type != ET_EXEC) && (
mEhdr
->e_type != ET_DYN)) {
154
if (!((
mEhdr
->e_machine == EM_X86_64) || (
mEhdr
->e_machine == EM_AARCH64))) {
158
if (
mEhdr
->e_version != EV_CURRENT) {
159
Error (NULL, 0, 3000, "Unsupported", "ELF e_version (%u) not EV_CURRENT (%d)", (unsigned)
mEhdr
->e_version, EV_CURRENT);
[
all
...]
Completed in 418 milliseconds