Home
last modified time | relevance | path

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

12345678910>>...36

/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_cs.c101 p->relocs = kvmalloc_array(p->nrelocs, sizeof(struct radeon_bo_list), in radeon_cs_parser_relocs()
103 if (p->relocs == NULL) { in radeon_cs_parser_relocs()
121 p->relocs[i].robj = gem_to_radeon_bo(gobj); in radeon_cs_parser_relocs()
144 p->relocs[i].preferred_domains = in radeon_cs_parser_relocs()
147 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs()
162 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
165 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
168 if (radeon_ttm_tt_has_userptr(p->relocs[i].robj->tbo.ttm)) { in radeon_cs_parser_relocs()
169 uint32_t domain = p->relocs[i].preferred_domains; in radeon_cs_parser_relocs()
177 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dmep-relocs.pl56 push(@relocs, $rel);
127 for ($i=2; $i<=$#relocs; $i++) {
141 $c = "$relocs[$i],";
148 for ($i=2; $i<=$#relocs; $i++) {
158 print NEW " case R_MEP_$relocs[$i]: /* $pattern[$i] */\n";
159 if ($relocs[$i] =~ /HI16S/) {
237 for $i (2..$#relocs) {
238 printf (NEW "$pattern", $relocs[$i]) || die("$file.new write: $!");
H A Delf32-moxie.c206 Elf_Internal_Rela *relocs, in moxie_elf_relocate_section() argument
217 relend = relocs + input_section->reloc_count; in moxie_elf_relocate_section()
219 for (rel = relocs; rel < relend; rel ++) in moxie_elf_relocate_section()
334 const Elf_Internal_Rela *relocs) in moxie_elf_check_relocs() argument
347 rel_end = relocs + sec->reloc_count; in moxie_elf_check_relocs()
348 for (rel = relocs; rel < rel_end; rel++) in moxie_elf_check_relocs()
H A Delf-m10200.c344 Elf_Internal_Rela *relocs, in mn10200_elf_relocate_section() argument
355 rel = relocs; in mn10200_elf_relocate_section()
356 relend = relocs + input_section->reloc_count; in mn10200_elf_relocate_section()
483 irel = elf_section_data (sec)->relocs; in mn10200_elf_relax_delete_bytes()
492 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in mn10200_elf_relax_delete_bytes()
710 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
763 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
849 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
968 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
1007 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
[all …]
H A Delf32-crx.c609 irel = elf_section_data (sec)->relocs; in elf32_crx_relax_delete_bytes()
618 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes()
637 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes()
811 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents()
821 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents()
833 bfd_byte *contents, Elf_Internal_Rela *relocs, in elf32_crx_relocate_section() argument
844 rel = relocs; in elf32_crx_relocate_section()
845 relend = relocs + input_section->reloc_count; in elf32_crx_relocate_section()
1108 elf_section_data (sec)->relocs = internal_relocs; in elf32_crx_relax_section()
1153 elf_section_data (sec)->relocs = internal_relocs; in elf32_crx_relax_section()
[all …]
H A Delf32-iq2000.c461 const Elf_Internal_Rela *relocs) in iq2000_elf_check_relocs() argument
475 rel_end = relocs + sec->reloc_count; in iq2000_elf_check_relocs()
476 for (rel = relocs; rel < rel_end; rel++) in iq2000_elf_check_relocs()
525 elf_section_data (sec)->relocs = (Elf_Internal_Rela *) relocs; in iq2000_elf_check_relocs()
570 Elf_Internal_Rela * relocs, in iq2000_elf_relocate_section() argument
581 relend = relocs + input_section->reloc_count; in iq2000_elf_relocate_section()
583 for (rel = relocs; rel < relend; rel ++) in iq2000_elf_relocate_section()
H A Delf32-mt.c307 Elf_Internal_Rela * relocs, in mt_elf_relocate_section() argument
318 relend = relocs + input_section->reloc_count; in mt_elf_relocate_section()
320 for (rel = relocs; rel < relend; rel ++) in mt_elf_relocate_section()
431 const Elf_Internal_Rela *relocs) in mt_elf_check_relocs() argument
444 rel_end = relocs + sec->reloc_count; in mt_elf_check_relocs()
445 for (rel = relocs; rel < rel_end; rel++) in mt_elf_check_relocs()
H A Delf32-d10v.c269 const Elf_Internal_Rela *relocs) in elf32_d10v_check_relocs() argument
282 rel_end = relocs + sec->reloc_count; in elf32_d10v_check_relocs()
283 for (rel = relocs; rel < rel_end; rel++) in elf32_d10v_check_relocs()
395 Elf_Internal_Rela *relocs, in elf32_d10v_relocate_section() argument
407 rel = relocs; in elf32_d10v_relocate_section()
408 relend = relocs + input_section->reloc_count; in elf32_d10v_relocate_section()
H A Delf32-mcore.c399 Elf_Internal_Rela * relocs, in mcore_elf_relocate_section() argument
405 Elf_Internal_Rela * rel = relocs; in mcore_elf_relocate_section()
406 Elf_Internal_Rela * relend = relocs + input_section->reloc_count; in mcore_elf_relocate_section()
587 const Elf_Internal_Rela * relocs) in mcore_elf_check_relocs() argument
600 rel_end = relocs + sec->reloc_count; in mcore_elf_check_relocs()
602 for (rel = relocs; rel < rel_end; rel++) in mcore_elf_check_relocs()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dmep-relocs.pl56 push(@relocs, $rel);
127 for ($i=2; $i<=$#relocs; $i++) {
141 $c = "$relocs[$i],";
148 for ($i=2; $i<=$#relocs; $i++) {
158 print NEW " case R_MEP_$relocs[$i]: /* $pattern[$i] */\n";
159 if ($relocs[$i] =~ /HI16S/) {
237 for $i (2..$#relocs) {
238 printf (NEW "$pattern", $relocs[$i]) || die("$file.new write: $!");
H A Delf32-moxie.c206 Elf_Internal_Rela *relocs, in moxie_elf_relocate_section() argument
217 relend = relocs + input_section->reloc_count; in moxie_elf_relocate_section()
219 for (rel = relocs; rel < relend; rel ++) in moxie_elf_relocate_section()
334 const Elf_Internal_Rela *relocs) in moxie_elf_check_relocs() argument
347 rel_end = relocs + sec->reloc_count; in moxie_elf_check_relocs()
348 for (rel = relocs; rel < rel_end; rel++) in moxie_elf_check_relocs()
H A Delf32-crx.c609 irel = elf_section_data (sec)->relocs; in elf32_crx_relax_delete_bytes()
618 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes()
637 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes()
804 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents()
814 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents()
824 bfd_byte *contents, Elf_Internal_Rela *relocs, in elf32_crx_relocate_section() argument
835 rel = relocs; in elf32_crx_relocate_section()
836 relend = relocs + input_section->reloc_count; in elf32_crx_relocate_section()
1098 elf_section_data (sec)->relocs = internal_relocs; in elf32_crx_relax_section()
1143 elf_section_data (sec)->relocs = internal_relocs; in elf32_crx_relax_section()
[all …]
H A Delf-m10200.c344 Elf_Internal_Rela *relocs, in mn10200_elf_relocate_section() argument
355 rel = relocs; in mn10200_elf_relocate_section()
356 relend = relocs + input_section->reloc_count; in mn10200_elf_relocate_section()
483 irel = elf_section_data (sec)->relocs; in mn10200_elf_relax_delete_bytes()
492 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in mn10200_elf_relax_delete_bytes()
709 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
762 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
848 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
967 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
1006 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section()
[all …]
H A Delf32-iq2000.c461 const Elf_Internal_Rela *relocs) in iq2000_elf_check_relocs() argument
475 rel_end = relocs + sec->reloc_count; in iq2000_elf_check_relocs()
476 for (rel = relocs; rel < rel_end; rel++) in iq2000_elf_check_relocs()
525 elf_section_data (sec)->relocs = (Elf_Internal_Rela *) relocs; in iq2000_elf_check_relocs()
570 Elf_Internal_Rela * relocs, in iq2000_elf_relocate_section() argument
581 relend = relocs + input_section->reloc_count; in iq2000_elf_relocate_section()
583 for (rel = relocs; rel < relend; rel ++) in iq2000_elf_relocate_section()
H A Delf32-d10v.c269 const Elf_Internal_Rela *relocs) in elf32_d10v_check_relocs() argument
282 rel_end = relocs + sec->reloc_count; in elf32_d10v_check_relocs()
283 for (rel = relocs; rel < rel_end; rel++) in elf32_d10v_check_relocs()
395 Elf_Internal_Rela *relocs, in elf32_d10v_relocate_section() argument
407 rel = relocs; in elf32_d10v_relocate_section()
408 relend = relocs + input_section->reloc_count; in elf32_d10v_relocate_section()
H A Delf32-mt.c307 Elf_Internal_Rela * relocs, in mt_elf_relocate_section() argument
318 relend = relocs + input_section->reloc_count; in mt_elf_relocate_section()
320 for (rel = relocs; rel < relend; rel ++) in mt_elf_relocate_section()
431 const Elf_Internal_Rela *relocs) in mt_elf_check_relocs() argument
444 rel_end = relocs + sec->reloc_count; in mt_elf_check_relocs()
445 for (rel = relocs; rel < rel_end; rel++) in mt_elf_check_relocs()
H A Delf32-mcore.c399 Elf_Internal_Rela * relocs, in mcore_elf_relocate_section() argument
405 Elf_Internal_Rela * rel = relocs; in mcore_elf_relocate_section()
406 Elf_Internal_Rela * relend = relocs + input_section->reloc_count; in mcore_elf_relocate_section()
587 const Elf_Internal_Rela * relocs) in mcore_elf_check_relocs() argument
600 rel_end = relocs + sec->reloc_count; in mcore_elf_check_relocs()
602 for (rel = relocs; rel < rel_end; rel++) in mcore_elf_check_relocs()
H A Delf32-cr16.c699 const Elf_Internal_Rela *relocs) in cr16_elf_check_relocs() argument
723 rel_end = relocs + sec->reloc_count; in cr16_elf_check_relocs()
724 for (rel = relocs; rel < rel_end; rel++) in cr16_elf_check_relocs()
1228 irel = elf_section_data (sec)->relocs; in elf32_cr16_relax_delete_bytes()
1237 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_cr16_relax_delete_bytes()
1254 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_cr16_relax_delete_bytes()
1338 bfd_byte *contents, Elf_Internal_Rela *relocs, in elf32_cr16_relocate_section() argument
1349 rel = relocs; in elf32_cr16_relocate_section()
1350 relend = relocs + input_section->reloc_count; in elf32_cr16_relocate_section()
1542 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/bpf/
H A Dcoreout.cc122 vec <bpf_core_reloc_ref, va_gc> * GTY (()) relocs;
183 vec_safe_push (sec->relocs, bpfcr); in bpf_core_reloc_add()
195 vec_alloc (sec->relocs, 1); in bpf_core_reloc_add()
196 vec_safe_push (sec->relocs, bpfcr); in bpf_core_reloc_add()
266 vec_safe_length (sec->relocs) * sizeof (struct btf_ext_reloc); in output_btfext_header()
304 FOR_EACH_VEC_ELT (*(sec->relocs), i, bpfcr) in output_btfext_core_relocs()
331 dw2_asm_output_data (4, vec_safe_length (sec->relocs), in output_btfext_core_sections()
/netbsd-src/lib/csu/common/
H A Dcrt0-common.c256 const REL_TYPE *relocs = 0, *relocslim; in relocate_self() local
262 relocs = in relocate_self()
270 relocslim = (const REL_TYPE *)((const uint8_t *)relocs + relocssz); in relocate_self()
271 for (; relocs < relocslim; ++relocs) { in relocate_self()
274 where = (Elf_Addr *)(relocbase + relocs->r_offset); in relocate_self()
276 switch (ELF_R_TYPE(relocs->r_info)) { in relocate_self()
279 *where = (Elf_Addr)(relocbase + relocs->r_addend); in relocate_self()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dehframe.cc647 Track_relocs<size, big_endian> relocs; in do_add_ehframe_input_section() local
653 if (!relocs.initialize(object, reloc_shndx, reloc_type)) in do_add_ehframe_input_section()
665 if (relocs.advance(p + 4 - pcontents) > 0) in do_add_ehframe_input_section()
688 if (relocs.advance(p + 4 - pcontents) > 0) in do_add_ehframe_input_section()
699 pcontents, p, pentend, &relocs, &cies, in do_add_ehframe_input_section()
707 pcontents, id, p, pentend, &relocs, &cies)) in do_add_ehframe_input_section()
730 Track_relocs<size, big_endian>* relocs, in read_cie() argument
889 if (relocs->advance(per_offset) > 0) in read_cie()
891 if (relocs->next_offset() != per_offset) in read_cie()
894 unsigned int personality_symndx = relocs->next_symndx(); in read_cie()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dehframe.cc647 Track_relocs<size, big_endian> relocs; in do_add_ehframe_input_section() local
653 if (!relocs.initialize(object, reloc_shndx, reloc_type)) in do_add_ehframe_input_section()
665 if (relocs.advance(p + 4 - pcontents) > 0) in do_add_ehframe_input_section()
688 if (relocs.advance(p + 4 - pcontents) > 0) in do_add_ehframe_input_section()
699 pcontents, p, pentend, &relocs, &cies, in do_add_ehframe_input_section()
707 pcontents, id, p, pentend, &relocs, &cies)) in do_add_ehframe_input_section()
730 Track_relocs<size, big_endian>* relocs, in read_cie() argument
889 if (relocs->advance(per_offset) > 0) in read_cie()
891 if (relocs->next_offset() != per_offset) in read_cie()
894 unsigned int personality_symndx = relocs->next_symndx(); in read_cie()
[all …]
/netbsd-src/external/gpl3/binutils/dist/ld/emultempl/
H A Dcr16elf.em47 /* In the embedded relocs mode we create a .emreloc section for each
57 generate the embedded relocs, and we have such functions only for
62 "for --embedded-relocs\n"));
71 read in the relocs into BFD canonical form, which would waste
96 relocs. This is called via bfd_map_over_sections. */
104 einfo (_("%X%P: %pB: section %s has relocs; can not use --embedded-relocs\n"),
140 /* If we are generating embedded relocs, call a special BFD backend
/netbsd-src/external/gpl3/binutils.old/dist/ld/emultempl/
H A Dcr16elf.em47 /* In the embedded relocs mode we create a .emreloc section for each
57 generate the embedded relocs, and we have such functions only for
62 "for --embedded-relocs\n"));
71 read in the relocs into BFD canonical form, which would waste
96 relocs. This is called via bfd_map_over_sections. */
104 einfo (_("%X%P: %pB: section %s has relocs; can not use --embedded-relocs\n"),
140 /* If we are generating embedded relocs, call a special BFD backend
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dkvx-opc.c4158 .relocs = { R_KVX_16 }
4164 .relocs = { R_KVX_32 }
4170 .relocs = { R_KVX_64 }
4176 .relocs = { R_KVX_S16_PCREL }
4182 .relocs = { R_KVX_PCREL17 }
4188 .relocs = { R_KVX_PCREL27 }
4194 .relocs = { R_KVX_32_PCREL }
4200 .relocs = { R_KVX_S37_PCREL_UP27, R_KVX_S37_PCREL_LO10 }
4206 .relocs = { R_KVX_S43_PCREL_EX6, R_KVX_S43_PCREL_UP27, R_KVX_S43_PCREL_LO10 }
4212 .relocs = { R_KVX_S64_PCREL_EX27, R_KVX_S64_PCREL_UP27, R_KVX_S64_PCREL_LO10 }
[all …]

12345678910>>...36