RTEMS Linker
0.0.1
RTEMS Tools Project
|
#include <rld-elf.h>
Public Member Functions | |
program_header () | |
~program_header () | |
void | set (elf_word type, elf_word flags, elf_off offset, elf_xword filesz, elf_xword memsz, elf_xword align, elf_addr vaddr, elf_addr paddr=0) |
An ELF program header.
rld::elf::program_header::program_header | ( | ) |
Construct a program header.
rld::elf::program_header::~program_header | ( | ) |
Desctruct a program header.
void rld::elf::program_header::set | ( | elf_word | type, |
elf_word | flags, | ||
elf_off | offset, | ||
elf_xword | filesz, | ||
elf_xword | memsz, | ||
elf_xword | align, | ||
elf_addr | vaddr, | ||
elf_addr | paddr = 0 |
||
) |
Set the program header.
type | The type of segment. |
flags | The segment's flags. |
offset | The offet to segment. |
filesz | The segment size in the file. |
memsz | The segment size in memory. |
align | The segment alignment. |
vaddr | The virtual address in memory. |
paddr | The physical address if any. |