Home
last modified time | relevance | path

Searched refs:reloc_index (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_renderstate.c79 unsigned int i = 0, reloc_index = 0; in render_state_setup() local
93 if (i * 4 == rodata->reloc[reloc_index]) { in render_state_setup()
105 reloc_index++; in render_state_setup()
111 if (rodata->reloc[reloc_index] != -1) { in render_state_setup()
112 DRM_ERROR("only %d relocs resolved\n", reloc_index); in render_state_setup()
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Dradeon_cs.c172 parser.reloc_index = -1; in radeon_cs_ioctl()
194 parser.reloc_index = i; in radeon_cs_ioctl()
201 parser.reloc_index = -1; in radeon_cs_ioctl()
284 struct drm_radeon_kernel_chunk *reloc_chunk = &parser->chunks[parser->reloc_index]; in r600_nomm_relocate()
H A Dradeon_drv.h257 int reloc_index; member
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf-sframe.c90 unsigned int reloc_index) in sframe_decoder_set_func_reloc_index() argument
93 sfd_info->sfd_func_bfdinfo[func_idx].func_reloc_index = reloc_index; in sframe_decoder_set_func_reloc_index()
H A Delf-eh-frame.c47 unsigned int reloc_index; member
717 this_inf->reloc_index = cookie->rel - cookie->rels; in _bfd_elf_parse_eh_frame()
834 cie->personality.reloc_index in _bfd_elf_parse_eh_frame()
1153 for (cookie->rel = cookie->rels + ent->reloc_index; in mark_entry()
1238 rel = cookie->rels + cie->personality.reloc_index; in find_merged_cie()
1515 cookie->rel = cookie->rels + ent->reloc_index; in _bfd_elf_discard_section_eh_frame()
H A Delf32-ppc.c9489 bfd_vma reloc_index; in write_global_sym_plt() local
9494 reloc_index = ent->plt.offset / 4; in write_global_sym_plt()
9497 reloc_index = ((ent->plt.offset - htab->plt_initial_entry_size) in write_global_sym_plt()
9499 if (reloc_index > PLT_NUM_SINGLE_ENTRIES in write_global_sym_plt()
9501 reloc_index -= (reloc_index - PLT_NUM_SINGLE_ENTRIES) / 2; in write_global_sym_plt()
9512 got_offset = (reloc_index + 3) * 4; in write_global_sym_plt()
9552 plt_entry[4] | reloc_index, in write_global_sym_plt()
9581 + ((VXWORKS_PLTRESOLVE_RELOCS + reloc_index in write_global_sym_plt()
9693 loc = relplt->contents + (reloc_index in write_global_sym_plt()
H A Delf32-xtensa.c2265 unsigned reloc_index) in elf_xtensa_create_plt_entry() argument
2273 chunk = reloc_index / PLT_ENTRIES_PER_CHUNK; in elf_xtensa_create_plt_entry()
2281 lit_offset = 8 + (reloc_index % PLT_ENTRIES_PER_CHUNK) * 4; in elf_xtensa_create_plt_entry()
2282 code_offset = (reloc_index % PLT_ENTRIES_PER_CHUNK) * PLT_ENTRY_SIZE; in elf_xtensa_create_plt_entry()
2286 bfd_put_32 (output_bfd, reloc_index * sizeof (Elf32_External_Rela), in elf_xtensa_create_plt_entry()
10278 int reloc_index, chunk; in shrink_dynamic_reloc_sections() local
10286 reloc_index = srel->size / sizeof (Elf32_External_Rela); in shrink_dynamic_reloc_sections()
10288 chunk = reloc_index / PLT_ENTRIES_PER_CHUNK; in shrink_dynamic_reloc_sections()
10294 if (reloc_index % PLT_ENTRIES_PER_CHUNK == 0) in shrink_dynamic_reloc_sections()
H A Delf32-i386.c3690 int s, k, reloc_index; in elf_i386_finish_dynamic_symbol() local
3705 reloc_index = k + s * PLT_NON_JUMP_SLOT_RELOCS; in elf_i386_finish_dynamic_symbol()
3706 loc = (htab->srelplt2->contents + reloc_index in elf_i386_finish_dynamic_symbol()
H A Delf32-microblaze.c913 unsigned long reloc_index, in microblaze_elf_output_dynamic_relocation() argument
927 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); in microblaze_elf_output_dynamic_relocation()
H A Delf-bfd.h411 unsigned int reloc_index; member
H A Delf32-arm.c15852 bfd_vma reloc_index; in elf32_arm_update_relocs() local
15855 reloc_index = (irela->r_offset - offset) / 8; in elf32_arm_update_relocs()
15860 edit_next && edit_next->index <= reloc_index; in elf32_arm_update_relocs()
15868 || edit_node->index != reloc_index) in elf32_arm_update_relocs()
H A DChangeLog-2007182 * elf-bfd.h (eh_cie_fde): Put cie_inf in a union. Add a reloc_index
188 (_bfd_elf_discard_section_eh_frame): Likewise. Set up reloc_index.
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf-eh-frame.c47 unsigned int reloc_index; member
716 this_inf->reloc_index = cookie->rel - cookie->rels; in _bfd_elf_parse_eh_frame()
833 cie->personality.reloc_index in _bfd_elf_parse_eh_frame()
1152 for (cookie->rel = cookie->rels + ent->reloc_index; in mark_entry()
1237 rel = cookie->rels + cie->personality.reloc_index; in find_merged_cie()
1514 cookie->rel = cookie->rels + ent->reloc_index; in _bfd_elf_discard_section_eh_frame()
H A Delf32-ppc.c9471 bfd_vma reloc_index; in write_global_sym_plt() local
9476 reloc_index = ent->plt.offset / 4; in write_global_sym_plt()
9479 reloc_index = ((ent->plt.offset - htab->plt_initial_entry_size) in write_global_sym_plt()
9481 if (reloc_index > PLT_NUM_SINGLE_ENTRIES in write_global_sym_plt()
9483 reloc_index -= (reloc_index - PLT_NUM_SINGLE_ENTRIES) / 2; in write_global_sym_plt()
9494 got_offset = (reloc_index + 3) * 4; in write_global_sym_plt()
9534 plt_entry[4] | reloc_index, in write_global_sym_plt()
9563 + ((VXWORKS_PLTRESOLVE_RELOCS + reloc_index in write_global_sym_plt()
9672 loc = relplt->contents + (reloc_index in write_global_sym_plt()
H A Delf32-xtensa.c2276 unsigned reloc_index) in elf_xtensa_create_plt_entry() argument
2284 chunk = reloc_index / PLT_ENTRIES_PER_CHUNK; in elf_xtensa_create_plt_entry()
2292 lit_offset = 8 + (reloc_index % PLT_ENTRIES_PER_CHUNK) * 4; in elf_xtensa_create_plt_entry()
2293 code_offset = (reloc_index % PLT_ENTRIES_PER_CHUNK) * PLT_ENTRY_SIZE; in elf_xtensa_create_plt_entry()
2297 bfd_put_32 (output_bfd, reloc_index * sizeof (Elf32_External_Rela), in elf_xtensa_create_plt_entry()
10285 int reloc_index, chunk; in shrink_dynamic_reloc_sections() local
10293 reloc_index = srel->size / sizeof (Elf32_External_Rela); in shrink_dynamic_reloc_sections()
10295 chunk = reloc_index / PLT_ENTRIES_PER_CHUNK; in shrink_dynamic_reloc_sections()
10301 if (reloc_index % PLT_ENTRIES_PER_CHUNK == 0) in shrink_dynamic_reloc_sections()
H A Delf32-i386.c3654 int s, k, reloc_index; in elf_i386_finish_dynamic_symbol() local
3669 reloc_index = k + s * PLT_NON_JUMP_SLOT_RELOCS; in elf_i386_finish_dynamic_symbol()
3670 loc = (htab->srelplt2->contents + reloc_index in elf_i386_finish_dynamic_symbol()
H A Delf32-microblaze.c895 unsigned long reloc_index, in microblaze_elf_output_dynamic_relocation() argument
909 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); in microblaze_elf_output_dynamic_relocation()
H A Delf-bfd.h411 unsigned int reloc_index; member
H A Delf32-arm.c15842 bfd_vma reloc_index; in elf32_arm_update_relocs() local
15845 reloc_index = (irela->r_offset - offset) / 8; in elf32_arm_update_relocs()
15850 edit_next && edit_next->index <= reloc_index; in elf32_arm_update_relocs()
15858 || edit_node->index != reloc_index) in elf32_arm_update_relocs()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-riscv.c2296 size_t reloc_index; in my_getSmallExpression() local
2305 reloc_index = -1; in my_getSmallExpression()
2309 reloc_index++; in my_getSmallExpression()
2320 && reloc_index < 1 in my_getSmallExpression()
2335 if (str_depth || reloc_index) in my_getSmallExpression()
2353 return reloc_index; in my_getSmallExpression()
H A Dtc-mips.c14770 size_t reloc_index, i; in my_getSmallExpression() local
14778 reloc_index = -1; in my_getSmallExpression()
14782 reloc_index++; in my_getSmallExpression()
14793 && reloc_index < (HAVE_NEWABI ? 3 : 1) in my_getSmallExpression()
14794 && parse_relocation (&str, &reversed_reloc[reloc_index])); in my_getSmallExpression()
14809 for (i = 0; i < reloc_index; i++) in my_getSmallExpression()
14810 reloc[i] = reversed_reloc[reloc_index - 1 - i]; in my_getSmallExpression()
14812 return reloc_index; in my_getSmallExpression()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-riscv.c2066 size_t reloc_index; in my_getSmallExpression() local
2086 reloc_index = -1; in my_getSmallExpression()
2090 reloc_index++; in my_getSmallExpression()
2101 && reloc_index < 1 in my_getSmallExpression()
2117 return reloc_index; in my_getSmallExpression()
H A Dtc-mips.c14776 size_t reloc_index, i; in my_getSmallExpression() local
14784 reloc_index = -1; in my_getSmallExpression()
14788 reloc_index++; in my_getSmallExpression()
14799 && reloc_index < (HAVE_NEWABI ? 3 : 1) in my_getSmallExpression()
14800 && parse_relocation (&str, &reversed_reloc[reloc_index])); in my_getSmallExpression()
14815 for (i = 0; i < reloc_index; i++) in my_getSmallExpression()
14816 reloc[i] = reversed_reloc[reloc_index - 1 - i]; in my_getSmallExpression()
14818 return reloc_index; in my_getSmallExpression()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dreloc.cc1150 unsigned int reloc_index = in incremental_relocs_write_reltype() local
1155 unsigned char* pov = view + reloc_index * incr_reloc_size; in incremental_relocs_write_reltype()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dreloc.cc1150 unsigned int reloc_index = in incremental_relocs_write_reltype() local
1155 unsigned char* pov = view + reloc_index * incr_reloc_size; in incremental_relocs_write_reltype()

12