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
This commit is contained in:
daishengdong
2020-06-09 19:30:38 +08:00
parent dc0c649c7c
commit 0a2d5a4e90
35 changed files with 7342 additions and 10 deletions

View File

@@ -41,3 +41,4 @@
})
#endif /* _TOS_ARM_H_ */