16 #if !defined (_RTEMS_RTL_ELF_H_) 17 #define _RTEMS_RTL_ELF_H_ 34 #if defined(__powerpc64__) || defined(__arch64__) || (__riscv_xlen == 64) 45 #include <sys/cdefs.h> 46 #include <sys/exec_elf.h> 80 #define RTEMS_RTL_ELF_STRING_MAX (256) 92 const Elf_Shdr* shdr);
108 const Elf_Shdr* shdr,
109 const uint32_t flags);
168 const Elf_Byte syminfo,
169 const Elf_Word symvalue);
185 const Elf_Rela* rela,
188 const Elf_Byte syminfo,
189 const Elf_Word symvalue);
208 const Elf_Byte syminfo,
209 const Elf_Word symvalue);
225 const Elf_Rela* rela,
228 const Elf_Byte syminfo,
229 const Elf_Word symvalue);
RTEMS Run-Time Linker ELF Headers.
bool rtems_rtl_elf_arch_section_free(const rtems_rtl_obj *obj, rtems_rtl_obj_sect *sect)
Definition: rtl-mdreloc-arm.c:153
void * tampolines
Definition: rtl-elf.h:71
rtems_rtl_elf_rel_status
Definition: rtl-elf.h:57
Definition: rtl-obj.h:183
RTEMS Run-Time Linker Object File Symbol Table.
uint32_t rtems_rtl_elf_section_flags(const rtems_rtl_obj *obj, const Elf_Shdr *shdr)
Definition: rtl-mdreloc-arm.c:120
bool rtems_rtl_elf_rel_resolve_sym(Elf_Word type)
Definition: rtl-mdreloc-arm.c:162
size_t size
Definition: rtl-elf.h:72
uint32_t rtems_rtl_elf_arch_parse_section(const rtems_rtl_obj *obj, int section, const char *name, const Elf_Shdr *shdr, const uint32_t flags)
Definition: rtl-mdreloc-arm.c:130
bool parsing
Definition: rtl-elf.h:70
bool rtems_rtl_elf_file_check(rtems_rtl_obj *obj, int fd)
Definition: rtl-elf.c:1503
rtems_rtl_elf_rel_status rtems_rtl_elf_relocate_rela_tramp(rtems_rtl_obj *obj, const Elf_Rela *rela, const rtems_rtl_obj_sect *sect, const char *symname, const Elf_Byte syminfo, const Elf_Word symvalue)
Definition: rtl-mdreloc-arm.c:168
bool rtems_rtl_elf_file_unload(rtems_rtl_obj *obj)
Definition: rtl-elf.c:1790
bool rtems_rtl_elf_file_load(rtems_rtl_obj *obj, int fd)
Definition: rtl-elf.c:1641
struct rtems_rtl_mdreloc_trmap rtems_rtl_mdreloc_tramp
bool rtems_rtl_elf_arch_section_alloc(const rtems_rtl_obj *obj, rtems_rtl_obj_sect *sect)
Definition: rtl-mdreloc-arm.c:144
Definition: rtl-obj.h:126
rtems_rtl_elf_rel_status rtems_rtl_elf_relocate_rela(rtems_rtl_obj *obj, const Elf_Rela *rela, const rtems_rtl_obj_sect *sect, const char *symname, const Elf_Byte syminfo, const Elf_Word symvalue)
Definition: rtl-mdreloc-arm.c:186
rtems_rtl_elf_rel_status rtems_rtl_elf_relocate_rel_tramp(rtems_rtl_obj *obj, const Elf_Rel *rel, const rtems_rtl_obj_sect *sect, const char *symname, const Elf_Byte syminfo, const Elf_Word symvalue)
Definition: rtl-mdreloc-arm.c:568
RTEMS Run-Time Linker ELF Headers.
rtems_rtl_elf_rel_status rtems_rtl_elf_relocate_rel(rtems_rtl_obj *obj, const Elf_Rel *rel, const rtems_rtl_obj_sect *sect, const char *symname, const Elf_Byte syminfo, const Elf_Word symvalue)
Definition: rtl-mdreloc-arm.c:585
size_t rtems_rtl_elf_relocate_tramp_max_size(void)
Definition: rtl-mdreloc-arm.c:114
rtems_rtl_loader_format * rtems_rtl_elf_file_sig(void)
Definition: rtl-elf.c:1798