| /OK3568_Linux_fs/kernel/tools/objtool/ |
| H A D | elf.c | 130 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name() argument 134 elf_hash_for_each_possible(elf->section_name_hash, sec, name_hash, str_hash(name)) in find_section_by_name() 141 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() argument 146 elf_hash_for_each_possible(elf->section_hash, sec, hash, idx) in find_section_by_index() 153 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index() argument 157 elf_hash_for_each_possible(elf->symbol_hash, sym, hash, idx) in find_symbol_by_index() 220 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name) in find_symbol_by_name() argument 224 elf_hash_for_each_possible(elf->symbol_name_hash, sym, name_hash, str_hash(name)) in find_symbol_by_name() 231 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range() argument 243 elf_hash_for_each_possible(elf->reloc_hash, reloc, hash, in find_reloc_by_dest_range() [all …]
|
| H A D | elf.h | 84 struct elf { struct 85 Elf *elf; argument 127 struct elf *elf_open_read(const char *name, int flags); 128 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t… 130 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, 132 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, 136 int elf_write_insn(struct elf *elf, struct section *sec, 139 int elf_write_reloc(struct elf *elf, struct reloc *reloc); 140 int elf_write(struct elf *elf); 141 void elf_close(struct elf *elf); [all …]
|
| H A D | orc_dump.c | 72 Elf *elf; in orc_dump() local 90 elf = elf_begin(fd, ELF_C_READ_MMAP, NULL); in orc_dump() 91 if (!elf) { in orc_dump() 96 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump() 101 if (elf_getshdrstrndx(elf, &shstrtab_idx)) { in orc_dump() 107 scn = elf_getscn(elf, i); in orc_dump() 118 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump() 167 scn = elf_getscn(elf, sym.st_shndx); in orc_dump() 178 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump() 184 name = elf_strptr(elf, strtab_idx, sym.st_name); in orc_dump() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
| H A D | 0003-kexec-elf-rel-use-our-elf.h.patch | 4 Subject: [PATCH] kexec-elf-rel: use our elf.h 8 kexec-elf-rel.c: In function 'elf_rel_load': 9 kexec-elf-rel.c:386:39: error: 'STT_NOTYPE' undeclared 17 kexec/arch/arm/kexec-elf-rel-arm.c | 2 +- 18 kexec/arch/i386/kexec-elf-rel-x86.c | 2 +- 19 kexec/arch/ppc/kexec-elf-rel-ppc.c | 2 +- 20 kexec/arch/ppc64/kexec-elf-rel-ppc64.c | 2 +- 21 kexec/arch/x86_64/kexec-elf-rel-x86_64.c | 2 +- 22 kexec/kexec-elf-rel.c | 2 +- 25 diff --git a/kexec/arch/arm/kexec-elf-rel-arm.c b/kexec/arch/arm/kexec-elf-rel-arm.c [all …]
|
| H A D | 0004-kexec-elf-exec.c-replace-with-our-err.h.patch | 4 Subject: [PATCH] kexec-elf-exec.c: replace with our elf.h 8 kexec-elf-exec.c: In function 'elf_exec_load': 15 kexec/kexec-elf-exec.c | 2 +- 18 diff --git a/kexec/kexec-elf-exec.c b/kexec/kexec-elf-exec.c 20 --- a/kexec/kexec-elf-exec.c 21 +++ b/kexec/kexec-elf-exec.c 26 -#include "elf.h" 27 +#include "../include/elf.h" 30 #include "kexec-elf.h"
|
| /OK3568_Linux_fs/rkbin/doc/release/ |
| H A D | RK3562_CN.md | 17 ## rk3562_bl31_v1.17.elf 21 | 2023-05-26 | rk3562_bl31_v1.17.elf | a394bf0a3 | 重要 | 32 ## rk3562_bl31_v1.16.elf 36 | 2023-05-16 | rk3562_bl31_v1.16.elf | 9152290e3 | 重要 | 44 ## rk3562_bl31_v1.15.elf 48 | 2023-04-27 | rk3562_bl31_v1.15.elf | 904af256f | 重要 | 80 ## rk3562_bl31_v1.14.elf 84 | 2023-04-13 | rk3562_bl31_v1.14.elf | 2041b9655 | 重要 | 124 ## rk3562_bl31_v1.13.elf 128 | 2023-04-10 | rk3562_bl31_v1.13.elf | 69ae6e698 | 重要 | [all …]
|
| H A D | RK3568_CN.md | 17 ## rk3568_bl31_l3_part_ecc_v1.00.elf 21 | 2023-06-20 | rk3568_bl31_l3_part_ecc_v1.00.elf | 6f31c2d8c | 重要 | 60 ## rk3568_bl31_v1.43.elf 64 | 2023-06-05 | rk3568_bl31_v1.43.elf | bf602aff1 | 重要 | 74 ## rk3568_bl31_rt_v1.01.elf 78 | 2023-05-01 | rk3568_bl31_rt_v1.01.elf | b28ca126a | 重要 | 87 ## rk3568_bl31_v1.42.elf 91 | 2023-05-11 | rk3568_bl31_v1.42.elf | 7f859117f | 重要 | 100 ## rk3568_bl31_v1.41.elf 104 | 2023-05-06 | rk3568_bl31_v1.41.elf | e24c3f77b | 普通 | [all …]
|
| H A D | RK3588_CN.md | 3 ## rk3588_bl31_v1.40.elf 7 | 2023-07-13 | rk3588_bl31_v1.40.elf | dc1125f48 | 重要 | 34 ## rk3588_bl31_v1.39.elf 38 | 2023-06-27 | rk3588_bl31_v1.39.elf | 001b4889e | 重要 | 48 ## rk3588_bl31_v1.38.elf 52 | 2023-05-09 | rk3588_bl31_v1.38.elf | 3389cfdda | 重要 | 103 ## rk3588_bl31_v1.37.elf 107 | 2023-03-08 | rk3588_bl31_v1.37.elf | 9609b9c19 | 重要 | 137 ## rk3588_bl31_v1.36.elf 141 | 2023-01-30 | rk3588_bl31_v1.36.elf | 78ee25fe7 | 重要 | [all …]
|
| H A D | RK3528_CN.md | 3 ## rk3528_bl31_v1.15.elf 7 | 2023-07-17 | rk3528_bl31_v1.15.elf | d8ae91904 | 重要 | 27 ## rk3528_bl31_v1.14.elf 31 | 2023-05-19 | rk3528_bl31_v1.14.elf | 1b2124ab7 | 重要 | 72 ## rk3528_bl31_v1.13.elf 76 | 2023-04-12 | rk3528_bl31_v1.13.elf | 642369d9b | 重要 | 124 ## rk3528_bl31_v1.12.elf 128 | 2023-03-16 | rk3528_bl31_v1.12.elf | 70c5c8d9c | 重要 | 148 ## rk3528_bl31_v1.11.elf 152 | 2023-03-09 | rk3528_bl31_v1.11.elf | 389e6e47 | 重要 | [all …]
|
| H A D | RK3562_EN.md | 17 ## rk3562_bl31_v1.17.elf 21 | 2023-05-26 | rk3562_bl31_v1.17.elf | a394bf0a3 | important | 32 ## rk3562_bl31_v1.16.elf 36 | 2023-05-16 | rk3562_bl31_v1.16.elf | 9152290e3 | important | 44 ## rk3562_bl31_v1.15.elf 48 | 2023-04-27 | rk3562_bl31_v1.15.elf | 904af256f | important | 80 ## rk3562_bl31_v1.14.elf 84 | 2023-04-13 | rk3562_bl31_v1.14.elf | 2041b9655 | important | 124 ## rk3562_bl31_v1.13.elf 128 | 2023-04-10 | rk3562_bl31_v1.13.elf | 69ae6e698 | important | [all …]
|
| H A D | RK3528_EN.md | 3 ## rk3528_bl31_v1.15.elf 7 | 2023-07-17 | rk3528_bl31_v1.15.elf | d8ae91904 | important | 27 ## rk3528_bl31_v1.14.elf 31 | 2023-05-19 | rk3528_bl31_v1.14.elf | 1b2124ab7 | important | 72 ## rk3528_bl31_v1.13.elf 76 | 2023-04-12 | rk3528_bl31_v1.13.elf | 642369d9b | important | 124 ## rk3528_bl31_v1.12.elf 128 | 2023-03-16 | rk3528_bl31_v1.12.elf | 70c5c8d9c | important | 148 ## rk3528_bl31_v1.11.elf 152 | 2023-03-09 | rk3528_bl31_v1.11.elf | 389e6e47 | important | [all …]
|
| H A D | RK3568_EN.md | 17 ## rk3568_bl31_l3_part_ecc_v1.00.elf 21 | 2023-06-20 | rk3568_bl31_l3_part_ecc_v1.00.elf | 6f31c2d8c | moderate | 60 ## rk3568_bl31_v1.43.elf 64 | 2023-06-05 | rk3568_bl31_v1.43.elf | bf602aff1 | important | 74 ## rk3568_bl31_rt_v1.01.elf 78 | 2023-05-11 | rk3568_bl31_rt_v1.01.elf | b28ca126a | moderate | 87 ## rk3568_bl31_v1.42.elf 91 | 2023-05-11 | rk3568_bl31_v1.42.elf | 7f859117f | important | 100 ## rk3568_bl31_v1.41.elf 104 | 2023-05-06 | rk3568_bl31_v1.41.elf | e24c3f77b | moderate | [all …]
|
| H A D | RK3588_EN.md | 3 ## rk3588_bl31_v1.40.elf 7 | 2023-07-13 | rk3588_bl31_v1.40.elf | dc1125f48 | important | 34 ## rk3588_bl31_v1.39.elf 38 | 2023-06-27 | rk3588_bl31_v1.39.elf | 001b4889e | important | 48 ## rk3588_bl31_v1.38.elf 52 | 2023-05-09 | rk3588_bl31_v1.38.elf | 3389cfdda | important | 103 ## rk3588_bl31_v1.37.elf 107 | 2023-03-08 | rk3588_bl31_v1.37.elf | 9609b9c19 | important | 137 ## rk3588_bl31_v1.36.elf 141 | 2023-01-30 | rk3588_bl31_v1.36.elf | 78ee25fe7 | important | [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 137 } elf; variable 164 elf.path, ## __VA_ARGS__); \ 172 elf.path, strerror(errno)); \ 198 #define elf_ptr(type, off) ((type *)(elf.begin + (off))) 202 for (var = elf.sh_table; var < elf.sh_table + elf16toh(elf.ehdr->e_shnum); ++var) 218 return elf.sh_string + elf32toh(shdr->sh_name); in section_name() 238 return &elf.sh_table[idx]; in section_by_idx() 251 elf.path = path; in init_elf() 266 elf.begin = mmap(0, stat.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in init_elf() 267 if (elf.begin == MAP_FAILED) { in init_elf() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch | 18 elf/dl-cache.c | 4 ++++ 19 elf/dl-load.c | 4 ++-- 20 elf/dl-usage.c | 6 ++++-- 21 elf/interp.c | 2 +- 22 elf/ldconfig.c | 3 +++ 23 elf/rtld.c | 1 + 28 diff --git a/elf/dl-cache.c b/elf/dl-cache.c 30 --- a/elf/dl-cache.c 31 +++ b/elf/dl-cache.c 43 diff --git a/elf/dl-load.c b/elf/dl-load.c [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | symbol-elf.c | 77 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum() argument 82 ehdr = gelf_getehdr(elf, &gehdr); in elf_getphdrnum() 93 static int elf_getshdrstrndx(Elf *elf __maybe_unused, size_t *dst __maybe_unused) in elf_getshdrstrndx() 190 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index() argument 196 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_addr_to_index() 209 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name() argument 216 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name() 219 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_section_by_name() 223 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name() 235 static int elf_read_program_header(Elf *elf, u64 vaddr, GElf_Phdr *phdr) in elf_read_program_header() argument [all …]
|
| /OK3568_Linux_fs/buildroot/package/glibc/2.28-69-g1e5c5303a522764d7e9d2302a60e4a32cdb902f1/ |
| H A D | 0012-Properly-initialize-audit-cookie-for-the-dynamic-loa.patch | 13 elf/rtld.c | 14 ++++----- 14 elf/tst-auditmany.c | 26 +++++++++++++++++ 15 elf/tst-auditmanymod.h | 64 +++++++++++++++++++++++++++++++++++++++++ 16 elf/tst-auditmanymod1.c | 20 +++++++++++++ 17 elf/tst-auditmanymod2.c | 20 +++++++++++++ 18 elf/tst-auditmanymod3.c | 20 +++++++++++++ 19 elf/tst-auditmanymod4.c | 20 +++++++++++++ 20 elf/tst-auditmanymod5.c | 20 +++++++++++++ 21 elf/tst-auditmanymod6.c | 20 +++++++++++++ 22 elf/tst-auditmanymod7.c | 20 +++++++++++++ [all …]
|
| H A D | 0013-Introduce-link_map_audit_state-accessor-function.patch | 19 elf/dl-close.c | 18 ++++++++++++++---- 20 elf/dl-fini.c | 9 ++++++--- 21 elf/dl-load.c | 18 +++++++++--------- 22 elf/dl-object.c | 8 +++----- 23 elf/dl-open.c | 5 ++++- 24 elf/dl-runtime.c | 24 ++++++++++++++++-------- 25 elf/dl-sym.c | 13 ++++++++----- 26 elf/rtld.c | 18 ++++++++++-------- 43 diff --git a/elf/dl-close.c b/elf/dl-close.c 45 --- a/elf/dl-close.c [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/scripts/ |
| H A D | symbolize.py | 124 elf = glob.glob(d + '/' + elf_or_uuid) 125 if elf: 126 return elf[0] 128 def set_arch(self, elf): argument 132 p = subprocess.Popen(['file', '-L', elf], stdout=subprocess.PIPE) 140 def arch_prefix(self, cmd, elf): argument 141 self.set_arch(elf) 154 elf = self.get_elf(elf_name) 155 if not elf: 157 cmd = self.arch_prefix('addr2line', elf) [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/scripts/ |
| H A D | symbolize.py | 124 elf = glob.glob(d + '/' + elf_or_uuid) 125 if elf: 126 return elf[0] 128 def set_arch(self, elf): argument 132 p = subprocess.Popen(['file', '-L', elf], stdout=subprocess.PIPE) 140 def arch_prefix(self, cmd, elf): argument 141 self.set_arch(elf) 154 elf = self.get_elf(elf_name) 155 if not elf: 157 cmd = self.arch_prefix('addr2line', elf) [all …]
|
| /OK3568_Linux_fs/kernel/scripts/mod/ |
| H A D | modpost.c | 353 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname() argument 355 const char *secname = sec_name(elf, sec); in export_from_secname() 371 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec() argument 373 if (sec == elf->export_sec) in export_from_sec() 375 else if (sec == elf->export_unused_sec) in export_from_sec() 377 else if (sec == elf->export_gpl_sec) in export_from_sec() 379 else if (sec == elf->export_unused_gpl_sec) in export_from_sec() 381 else if (sec == elf->export_gpl_future_sec) in export_from_sec() 825 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() argument 828 return elf->strtab + sym->st_name; in sym_name() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | decode_bl31.py | 19 elf = file.read() 20 if elf[0:7] != b'\x7fELF\x02\x01\x01' or elf[18:20] != b'\xb7\x00': 23 e_entry, e_phoff = struct.unpack_from('<2Q', elf, 0x18) 24 e_phentsize, e_phnum = struct.unpack_from('<2H', elf, 0x36) 29 p_type, p_flags, p_offset = struct.unpack_from('<LLQ', elf, offset) 31 p_paddr, p_filesz = struct.unpack_from('<2Q', elf, offset + 0x18) 33 p_data = elf[p_offset:p_offset + p_filesz]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-support/vim/files/ |
| H A D | vim-add-knob-whether-elf.h-are-checked.patch | 4 Subject: [PATCH] vim: add knob whether elf.h are checked 6 Previously, it still was checked when there was no elf library in sysroots directory. 7 Add knob to decide whether elf.h are checked or not. 25 +AC_MSG_CHECKING(whether or not to look for elf.h) 26 +AC_ARG_ENABLE(elf-check, 27 + [ --enable-elf-check If elfutils, check for elf.h [default=no]], 31 AC_CHECK_HEADER(elf.h, HAS_ELF=1) 34 AC_CHECK_LIB(elf, main)
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/mk/ |
| H A D | link.mk | 15 all: $(link-out-dir)/$(binary).elf $(link-out-dir)/$(binary).dmp \ 16 $(link-out-dir)/$(binary).stripped.elf $(link-out-dir)/$(binary).ta 17 cleanfiles += $(link-out-dir)/$(binary).elf $(link-out-dir)/$(binary).dmp 19 cleanfiles += $(link-out-dir)/$(binary).stripped.elf 34 ldargs-$(binary).elf := $(link-ldflags) $(objs) $(link-ldadd) 51 $(link-out-dir)/$(binary).elf: $(objs) $(libdeps) $(link-script-pp) 53 $(q)$(LD$(sm)) $(ldargs-$(binary).elf) -o $@ 55 $(link-out-dir)/$(binary).dmp: $(link-out-dir)/$(binary).elf 59 $(link-out-dir)/$(binary).stripped.elf: $(link-out-dir)/$(binary).elf 63 $(link-out-dir)/$(binary).ta: $(link-out-dir)/$(binary).stripped.elf \
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/sdk/ |
| H A D | case.py | 38 import oe.qa, oe.elf 44 machine_data = oe.elf.machine_dict(None)[target_os][target_arch] 47 elf = oe.qa.ELFFile(path) 48 elf.open() 50 self.assertEqual(machine, elf.machine(), 52 … (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine))) 53 self.assertEqual(bits, elf.abiSize()) 54 self.assertEqual(endian, elf.isLittleEndian())
|