File Header - 2024.2 English

MicroBlaze Processor Reference Guide (UG984)

Document ID
UG984
Release Date
2024-11-27
Version
2024.2 English

The ELF header architecture-specific fields are listed in the following table, showing the values for the three available formats: 32-bit big-endian, 32-bit little-endian and 64-bit little-endian.

In object file dumps, the formats are denoted elf32-microblaze, elf32-microblazeel, and elf64-microblazeel respectively.

Table 1. ELF Header
Field 32-bit Big Endian 32-bit Little Endian 64-bit Little Endian

C_DATA_SIZE = 32

C_ENDIANNESS = 0

C_DATA_SIZE = 32

C_ENDIANNESS = 1

C_DATA_SIZE = 64

C_ENDIANNESS = 1

e_ident[EL_CLASS] ELFCLASS32 (0x01) ELFCLASS32 (0x01) ELFCLASS64 (0x02)
e_ident[EL_DATA] ELFDATA2MSB (0x02) ELFDATA2LSB (0x01) ELFDATA2LSB (0x01)
e_machine EM_MICROBLAZE (189 = 0x00bd)
e_entry C_BASE_VECTORS
e_flags 0x00000000