Commit Graph

4 Commits

Author SHA1 Message Date
Jimmy
2c7390deb3 qmk build system 2020-07-14 13:48:10 +08:00
daishengdong
842e8a0458 optimization for elfloader
use a rel/rela section's sh_info to resolve which section this rel will be applied to, rather than the section's name
2020-06-10 10:13:42 +08:00
daishengdong
5e16690f7b support more relocation type in elfloader
mostly copied from linux kernel 4.20, Shh...
2020-06-09 20:26:12 +08:00
daishengdong
0a2d5a4e90 support elfloader for shared object and relocatable object
1. elfloader for shared object
example: TencentOS-tiny\examples\elfloader_shared_object
keil: TencentOS-tiny\board\TencentOS_tiny_EVB_MX_Plus\KEIL\elfloader_shared_object

2. elfloader for relocatable object:
example: TencentOS-tiny\examples\elfloader_relocatable_object
keil: TencentOS-tiny\board\TencentOS_tiny_EVB_MX_Plus\KEIL\elfloader_relocatable_object

3. TODO:
- add icache/dcache flush when module is loaded
- support more relocation type in elfloader_arch_relocate
2020-06-09 19:30:38 +08:00