Home
last modified time | relevance | path

Searched refs:relocs (Results 1 – 20 of 20) sorted by relevance

/arch/mips/boot/tools/
DMakefile3 hostprogs += relocs
4 relocs-objs += relocs_32.o
5 relocs-objs += relocs_64.o
6 relocs-objs += relocs_main.o
7 PHONY += relocs
8 relocs: $(obj)/relocs target
D.gitignore2 relocs
Drelocs.c16 struct relocs { struct
22 static struct relocs relocs; argument
442 static void add_reloc(struct relocs *r, uint32_t offset, unsigned type) in add_reloc()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
613 for (i = 0; i < relocs.count; i++) in emit_relocs()
614 size += write_reloc(relocs.offset[i], outf); in emit_relocs()
/arch/x86/realmode/rm/
DMakefile18 always-y := realmode.bin realmode.relocs
52 LDFLAGS_realmode.elf := -m elf_i386 --emit-relocs -T
62 $(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
66 cmd_relocs = arch/x86/tools/relocs --realmode $< > $@
68 targets += realmode.relocs
69 $(obj)/realmode.relocs: $(obj)/realmode.elf FORCE
70 $(call if_changed,relocs)
D.gitignore4 realmode.relocs
/arch/mips/kvm/
Dentry.c297 struct uasm_reloc relocs[2]; in kvm_mips_build_enter_guest() local
299 struct uasm_reloc __maybe_unused *r = relocs; in kvm_mips_build_enter_guest()
302 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_enter_guest()
425 uasm_resolve_relocs(relocs, labels); in kvm_mips_build_enter_guest()
443 struct uasm_reloc relocs[2]; in kvm_mips_build_tlb_refill_exception() local
446 struct uasm_reloc *r = relocs; in kvm_mips_build_tlb_refill_exception()
450 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_tlb_refill_exception()
531 struct uasm_reloc relocs[2]; in kvm_mips_build_exception() local
533 struct uasm_reloc *r = relocs; in kvm_mips_build_exception()
536 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_exception()
[all …]
/arch/x86/tools/
DMakefile42 hostprogs += relocs
43 relocs-objs := relocs_32.o relocs_64.o relocs_common.o
44 PHONY += relocs
45 relocs: $(obj)/relocs target
D.gitignore2 relocs
Drelocs.c18 struct relocs { struct
24 static struct relocs relocs16; argument
25 static struct relocs relocs32;
27 static struct relocs relocs32neg;
28 static struct relocs relocs64;
652 static void add_reloc(struct relocs *r, uint32_t offset) in add_reloc()
989 static void sort_relocs(struct relocs *r) in sort_relocs()
/arch/x86/boot/compressed/
D.gitignore2 relocs
4 vmlinux.relocs
DMakefile119 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs
121 CMD_RELOCS = arch/x86/tools/relocs
123 cmd_relocs = $(CMD_RELOCS) $< > $@;$(CMD_RELOCS) --abs-relocs $<
124 $(obj)/vmlinux.relocs: vmlinux FORCE
125 $(call if_changed,relocs)
128 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
/arch/mips/
DMakefile.postlink19 CMD_RELOCS = arch/mips/boot/tools/relocs
31 $(call if_changed,relocs)
DMakefile20 $(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs
105 LDFLAGS_vmlinux += --emit-relocs
/arch/mips/mm/
Dtlbex.c319 static struct uasm_reloc relocs[128]; variable
1310 struct uasm_reloc *r = relocs; in build_r4000_tlb_refill_handler()
1318 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_refill_handler()
1396 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler()
1402 && uasm_insn_has_bdelay(relocs, in build_r4000_tlb_refill_handler()
1411 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler()
1448 if (uasm_insn_has_bdelay(relocs, split - 1)) in build_r4000_tlb_refill_handler()
1452 uasm_copy_handler(relocs, labels, tlb_handler, split, f); in build_r4000_tlb_refill_handler()
1459 if (uasm_insn_has_bdelay(relocs, split)) in build_r4000_tlb_refill_handler()
1462 uasm_copy_handler(relocs, labels, in build_r4000_tlb_refill_handler()
[all …]
Dpage.c68 static struct uasm_reloc relocs[5]; variable
280 struct uasm_reloc *r = relocs; in build_clear_page()
289 memset(relocs, 0, sizeof(relocs)); in build_clear_page()
356 uasm_resolve_relocs(relocs, labels); in build_clear_page()
429 struct uasm_reloc *r = relocs; in build_copy_page()
438 memset(relocs, 0, sizeof(relocs)); in build_copy_page()
602 uasm_resolve_relocs(relocs, labels); in build_copy_page()
/arch/mips/kernel/
Dpm-cps.c70 static struct uasm_reloc relocs[32]; variable
345 struct uasm_reloc *r = relocs; in cps_gen_entry_code()
374 memset(relocs, 0, sizeof(relocs)); in cps_gen_entry_code()
622 BUG_ON((r - relocs) > ARRAY_SIZE(relocs)); in cps_gen_entry_code()
625 uasm_resolve_relocs(relocs, labels); in cps_gen_entry_code()
/arch/powerpc/kernel/
Dmodule_64.c191 unsigned long relocs = 1; in get_stubs_size() local
211 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
219 relocs++; in get_stubs_size()
222 relocs++; in get_stubs_size()
226 pr_debug("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size()
227 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size()
/arch/x86/
DMakefile195 LDFLAGS_vmlinux := --emit-relocs --discard-none
211 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
/arch/arm64/
DMakefile20 $(call ld-option, --no-apply-dynamic-relocs)
/arch/mips/vdso/
DMakefile33 -mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \