Home
last modified time | relevance | path

Searched refs:linker (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlinker.c3 * BPF static linker
158 static int init_output_elf(struct bpf_linker *linker, const char *file);
160 static int linker_load_obj_file(struct bpf_linker *linker, const char *filename,
169 static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj);
170 static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj);
171 static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj,
173 static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj);
174 static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj);
175 static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj);
177 static int finalize_btf(struct bpf_linker *linker);
180 bpf_linker__free(struct bpf_linker *linker) bpf_linker__free() argument
219 struct bpf_linker *linker; bpf_linker__new() local
247 add_dst_sec(struct bpf_linker *linker, const char *sec_name) add_dst_sec() argument
271 add_new_sym(struct bpf_linker *linker, size_t *sym_idx) add_new_sym() argument
295 init_output_elf(struct bpf_linker *linker, const char *file) init_output_elf() argument
440 bpf_linker__add_file(struct bpf_linker *linker, const char *filename, const struct bpf_linker_file_opts *opts) bpf_linker__add_file() argument
538 linker_load_obj_file(struct bpf_linker *linker, const char *filename, const struct bpf_linker_file_opts *opts, struct src_obj *obj) linker_load_obj_file() argument
978 init_sec(struct bpf_linker *linker, struct dst_sec *dst_sec, struct src_sec *src_sec) init_sec() argument
1034 find_dst_sec_by_name(struct bpf_linker *linker, const char *sec_name) find_dst_sec_by_name() argument
1079 extend_sec(struct bpf_linker *linker, struct dst_sec *dst, struct src_sec *src) extend_sec() argument
1169 linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj) linker_append_sec_data() argument
1221 linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj) linker_append_elf_syms() argument
1254 get_sym_by_idx(struct bpf_linker *linker, size_t sym_idx) get_sym_by_idx() argument
1262 find_glob_sym(struct bpf_linker *linker, const char *sym_name) find_glob_sym() argument
1279 add_glob_sym(struct bpf_linker *linker) add_glob_sym() argument
1580 glob_map_defs_match(const char *sym_name, struct bpf_linker *linker, struct glob_sym *glob_sym, struct src_obj *obj, Elf64_Sym *sym, int btf_id) glob_map_defs_match() argument
1620 glob_syms_match(const char *sym_name, struct bpf_linker *linker, struct glob_sym *glob_sym, struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) glob_syms_match() argument
1811 linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj, Elf64_Sym *sym, const char *sym_name, int src_sym_idx) linker_append_elf_sym() argument
2009 linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj) linker_append_elf_relos() argument
2234 linker_append_btf(struct bpf_linker *linker, struct src_obj *obj) linker_append_btf() argument
2432 linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj) linker_append_btf_ext() argument
2554 bpf_linker__finalize(struct bpf_linker *linker) bpf_linker__finalize() argument
2617 emit_elf_data_sec(struct bpf_linker *linker, const char *sec_name, size_t align, const void *raw_data, size_t raw_sz) emit_elf_data_sec() argument
2657 finalize_btf(struct bpf_linker *linker) finalize_btf() argument
2730 emit_btf_ext_data(struct bpf_linker *linker, void *output, const char *sec_name, struct btf_ext_sec_data *sec_data) emit_btf_ext_data() argument
2757 finalize_btf_ext(struct bpf_linker *linker) finalize_btf_ext() argument
[all...]
H A Dlibbpf.h1634 LIBBPF_API int bpf_linker__add_file(struct bpf_linker *linker,
1637 LIBBPF_API int bpf_linker__finalize(struct bpf_linker *linker);
1638 LIBBPF_API void bpf_linker__free(struct bpf_linker *linker);
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dgen.c1576 struct bpf_linker *linker; in do_object() local
1587 linker = bpf_linker__new(output_file, NULL); in do_object()
1588 if (!linker) { in do_object()
1589 p_err("failed to create BPF linker instance"); in do_object()
1596 err = bpf_linker__add_file(linker, file, NULL); in do_object()
1603 err = bpf_linker__finalize(linker); in do_object()
1611 bpf_linker__free(linker); in do_object()
/kernel/linux/linux-6.6/arch/loongarch/
H A DMakefile20 # Select the object file format to substitute into the linker script.
83 LDFLAGS_vmlinux += -static -pie --no-dynamic-linker -z notext $(call ld-option, --apply-dynamic-relocs)
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A DMakefile67 LDFLAGS_vmlinux := -pie $(call ld-option, --no-dynamic-linker)
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A DMakefile69 LDFLAGS_vmlinux := -pie $(call ld-option, --no-dynamic-linker)
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dsha512-avx-asm.S379 # Mergeable 640-byte rodata section. This allows linker to merge the table
H A Dsha512-ssse3-asm.S381 # Mergeable 640-byte rodata section. This allows linker to merge the table
H A Dsha512-avx2-asm.S691 # Mergeable 640-byte rodata section. This allows linker to merge the table
H A Daesni-intel_avx-x86_64.S124 # constants in mergeable sections, linker can reorder and merge
H A Daesni-intel_asm.S45 # constants in mergeable sections, linker can reorder and merge
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dsha512-ssse3-asm.S379 # Mergeable 640-byte rodata section. This allows linker to merge the table
H A Dsha512-avx-asm.S377 # Mergeable 640-byte rodata section. This allows linker to merge the table
H A Dsha512-avx2-asm.S690 # Mergeable 640-byte rodata section. This allows linker to merge the table
H A Daesni-intel_asm.S45 # constants in mergeable sections, linker can reorder and merge
H A Daesni-intel_avx-x86_64.S124 # constants in mergeable sections, linker can reorder and merge

Completed in 32 milliseconds