MicrOS
elf_section_header.h
Go to the documentation of this file.
1 #ifndef ELF_SECTION_HEADER_H
2 #define ELF_SECTION_HEADER_H
3 
5 {
24 
27 
29 {
30  uint8_t writable : 1;
32  uint8_t executable : 1;
33  uint8_t might_be_merged : 1;
35  uint8_t contains_sht_index : 1;
41 } __attribute__((packed)) elf_section_header_flags;
42 
43 typedef struct elf_section_header
44 {
55 } __attribute__((packed)) elf_section_header;
56 
57 #endif
elf_section_header_type type
Definition: elf_section_header.h:46
uint8_t executable
Definition: elf_section_header.h:32
Definition: elf_section_header.h:12
Definition: elf_section_header.h:9
uint8_t section_is_member_of_group
Definition: elf_section_header.h:38
Definition: elf_section_header.h:8
Definition: elf_section_header.h:14
uint8_t contains_sht_index
Definition: elf_section_header.h:35
elf_section_header_flags flags
Definition: elf_section_header.h:47
Definition: elf_section_header.h:11
Definition: elf_section_header.h:13
uint8_t preserve_order_after_combining
Definition: elf_section_header.h:36
uint8_t contains_null_terminated_strings
Definition: elf_section_header.h:34
Definition: elf_section_header.h:21
Definition: elf_section_header.h:6
Definition: elf_section_header.h:7
Definition: elf_section_header.h:17
uint32_t virtual_address
Definition: elf_section_header.h:48
uint8_t section_hold_thread_local_data
Definition: elf_section_header.h:39
Definition: elf_section_header.h:23
uint8_t occupies_memory_during_execution
Definition: elf_section_header.h:31
Definition: elf_section_header.h:22
Definition: elf_section_header.h:43
uint32_t entry_size
Definition: elf_section_header.h:54
uint32_t size
Definition: elf_section_header.h:50
Definition: elf_section_header.h:19
uint32_t associated_section_index
Definition: elf_section_header.h:51
Definition: elf_section_header.h:16
uint8_t writable
Definition: elf_section_header.h:30
uint32_t reserved
Definition: elf_section_header.h:40
uint8_t non_standard_handlind_required
Definition: elf_section_header.h:37
Definition: elf_section_header.h:20
Definition: elf_section_header.h:18
uint32_t alignment
Definition: elf_section_header.h:53
size_t uint32_t
Unsigned integral type.
Definition: string.h:8
uint32_t extra_information
Definition: elf_section_header.h:52
Definition: elf_section_header.h:25
uint32_t name_offset
Definition: elf_section_header.h:45
uint8_t might_be_merged
Definition: elf_section_header.h:33
uint32_t file_offset
Definition: elf_section_header.h:49
elf_section_header_type
Definition: elf_section_header.h:4
Definition: elf_section_header.h:28