Because the data copy generated by tasking does not conform to the ELF standard, we will not use the original ELF phdr. Instead, we will generate the corresponding phdr based on the section. [.section.symbol] is used to record the PhysAddr of the section. It needs to be copied to the address of the .section; this address will be used as the VirtAddr. If there are sections that can be merged, we will merge them. Signed-off-by: anjiahao <anjiahao@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| elf.h | ||
| elf_addrenv.c | ||
| elf_bind.c | ||
| elf_depend.c | ||
| elf_gethandle.c | ||
| elf_getsymbol.c | ||
| elf_globals.S | ||
| elf_init.c | ||
| elf_insert.c | ||
| elf_iobuffer.c | ||
| elf_load.c | ||
| elf_loadhdrs.c | ||
| elf_read.c | ||
| elf_registry.c | ||
| elf_remove.c | ||
| elf_sections.c | ||
| elf_symbols.c | ||
| elf_symtab.c | ||
| elf_uninit.c | ||
| elf_unload.c | ||
| elf_verify.c | ||
| gnu-elf.ld.in | ||
| tasking-elf.lsl | ||