/external/mesa3d/src/gallium/drivers/r600/ |
r600_hw_context.c | 172 block->reloc[block->nbo].bo_pm4_index = block->pm4_ndwords - 1; 557 pipe_resource_reference((struct pipe_resource**)&block->reloc[k].bo, NULL); 710 * If reg needs a reloc, this function will add it to its block's reloc list. 711 * @return true if reg needs a reloc, false otherwise 723 (struct pipe_resource**)®->block->reloc[reloc_id].bo, 725 reg->block->reloc[reloc_id].bo_usage = reg->bo_usage; 764 /* Update the reloc for this register if necessary. */ 827 struct r600_block_reloc *reloc = &block->reloc[block->pm4_bo_index[j]] local [all...] |
r600.h | 142 struct r600_block_reloc reloc[R600_BLOCK_MAX_BO]; member in struct:r600_block
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonRelocator.cpp | 265 Relocation& reloc = helper_DynRel_init(rsym, local 273 getRelRelMap().record(pReloc, reloc); 328 Relocation& reloc = helper_DynRel_init(rsym, local 336 getRelRelMap().record(pReloc, reloc);
|
HexagonLDBackend.cpp | 558 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 559 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { 560 switch (reloc->type()) { 566 Relocation* relocation = llvm::cast<Relocation>(reloc); 581 // reset the branch target of the reloc to this stub instead [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
coff-h8300.c | 191 the code in reloc.c assumes that we can manipulate the targets of 209 /* Adjust the reloc address to that in the output section. */ 236 /* Internal reloc for relaxing. This is created when a 16-bit pc-relative 249 /* Turn a howto into a reloc number. */ 259 /* Code to swap in the reloc. */ 347 /* Perform any necessary magic to the addend in a reloc entry. */ 352 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \ 353 reloc_processing (relent, reloc, symbols, abfd, section) 356 reloc_processing (arelent *relent, struct internal_reloc *reloc, 359 relent->address = reloc->r_vaddr 1314 arelent *reloc = relocs[i]; local [all...] |
elf32-xstormy16.c | 28 /* Handle the R_XSTORMY16_24 reloc, which has an odd bit arrangement. */ 73 /* This reloc does nothing. */ 304 /* Map BFD reloc types to XSTORMY16 ELF reloc types. */ 377 /* Set the howto pointer for an XSTORMY16 ELF reloc. */ 456 (info, _("non-zero addend in @fptr reloc"), 0, 746 output file) adjusting the reloc addend as necessary. 748 This function does not have to worry about setting the reloc 749 address or the reloc symbol index. 852 bfd_vma reloc = relocation + rel->r_addend 849 bfd_vma reloc = relocation + rel->r_addend; local [all...] |
libnlm.h | 32 /* A reloc for an imported NLM symbol. Normal relocs are associated 38 /* Section of reloc. */ 40 /* Reloc info (sym_ptr_ptr field set only when canonicalized). */ 41 arelent reloc; member in struct:nlm_relent 50 /* Number of reloc entries for imported symbol. */ 52 /* Array of reloc information for imported symbol. */ 164 /* Read a relocation fixup from abfd. The reloc information is 166 an import, or NULL if this is a reloc fixup. This function 167 should set the third argument to the section which the reloc 168 belongs in, and the fourth argument to the reloc itself; it doe [all...] |
bout.c | 425 /* Now write out reloc info, followed by syms and strings */ 477 /* Some reloc hackery. */ 490 get_value (arelent *reloc, 495 asymbol *symbol = *(reloc->sym_ptr_ptr); 523 input_section->owner, input_section, reloc->address, 533 value += reloc->addend; 669 /* Allocate enough room for all the reloc entries, plus pointers to them all. */ 779 The reloc entry addend has added to it the offset into the 780 file of the data, so subtract the base to make the reloc 856 /* Ouch! this reloc is out of order, insert into the right place. * 1249 arelent *reloc ; local [all...] |
oasys.c | 325 /* The howto table is build using the top two bits of a reloc byte to 443 unsigned char reloc = *src; local 445 switch (reloc & RELOCATION_TYPE_BITS) 469 r->relent.howto = &howto_table[reloc >> 6]; 503 r->relent.howto = &howto_table[reloc >> 6]; 967 /* Sort the reloc records so it's easy to insert the relocs into the [all...] |
/toolchain/binutils/binutils-2.25/gas/ |
cgen.c | 79 OPINFO is something the caller chooses to help in reloc determination. */ 242 OPINFO is something the caller chooses to help in reloc determination. 247 operand type. We pick a BFD reloc type in md_apply_fix. */ 283 OPINFO is something the caller chooses to help in reloc determination. 288 operand type. We pick a BFD reloc type in md_apply_fix. */ 343 OPINFO is something the caller chooses to help in reloc determination. 446 /* Fragment the expression as necessary, and queue a reloc. */ 635 can use gas_cgen_md_record_fixup to record the appropriate reloc. */ 731 /* Shift reloc value by number of bits remaining after this 737 /* Truncate reloc values to length, *after* leftmost one. * 1047 arelent *reloc; local [all...] |
/frameworks/compile/mclinker/lib/Object/ |
ObjectLinker.cpp | 588 // bypass the reloc section if 591 // 2. it has no reloc data. (All symbols in the input relocs are in the 595 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 596 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { 597 Relocation* relocation = llvm::cast<Relocation>(reloc); 599 // bypass the reloc if the symbol is in the discarded input section 792 // bypass the reloc section if 795 // 2. it has no reloc data. (All symbols in the input relocs are in th 799 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 883 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 914 Relocation* reloc = *iter; local 939 Relocation* reloc = llvm::cast<Relocation>(relocIter); local [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMLDBackend.cpp | 568 // 2. it has no reloc data. (All symbols in the input relocs are in the 583 Relocation* reloc = llvm::cast<Relocation>(reloc_it); local 584 ResolveInfo* sym = reloc->symInfo(); 759 Relocation* reloc = local 763 reloc->setSymInfo( 765 addExtraRelocation(reloc); 779 Relocation* reloc = local 783 reloc->setSymInfo(CreateLocalSymbolToFragmentEnd(pModule, *prevTextFrag)); 784 addExtraRelocation(reloc); 830 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end() local [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86Relocator.cpp | 770 // Allocate 2 got entries and 1 dynamic reloc for R_386_TLS_LDM 786 Relocation* reloc = local 792 reloc->setSymInfo(pReloc.symInfo()); 795 uint8_t* op = (reinterpret_cast<uint8_t*>(&reloc->target())); 799 // create the new reloc (move 1 byte forward). 800 reloc = Relocation::Create( 805 reloc->setSymInfo(pReloc.symInfo()); 806 op = (reinterpret_cast<uint8_t*>(&reloc->target())); 824 // 3. insert the new relocs "BEFORE" the original reloc. 825 assert(reloc != NULL) 827 RelocData::iterator(pReloc), reloc); local 1302 Relocation& reloc = helper_DynRel_init(rsym, local 1322 Relocation& reloc = helper_DynRel_init(rsym, local 1402 Relocation& reloc = helper_DynRel_init(rsym, local 1409 Relocation& reloc = helper_DynRel_init(rsym, local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_cmdbuf.c | 70 * Reloc buffer layout: 221 psb_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->reloc_buf); /* reloc buf == 0 */ 327 uint32_t dst_buffer) /* 0 = reloc buf, 1 = cmdbuf, 2 = for host reloc */ 329 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local 336 reloc->where = addr_in_cmdbuf - (uint32_t *) cmdbuf->cmd_base; /* Location in DWORDs */ 340 reloc->where = addr_in_cmdbuf - (uint32_t *) cmdbuf->MTX_msg; /* Location in DWORDs */ 343 reloc->buffer = psb_cmdbuf_buffer_ref(cmdbuf, ref_buffer); 344 ASSERT(reloc->buffer != -1); 346 reloc->reloc_op = PSB_RELOC_OP_OFFSET [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-dlx.c | 54 int reloc_offset; /* Offset of reloc within insn. */ 55 int reloc; member in struct:machine_it 322 reloc displacement, and if there is a register then it ought 670 the_insn.reloc = NO_RELOC; 710 /* Set the sip reloc HI16 flag. */ 806 the_insn.reloc = (the_insn.HI) ? RELOC_DLX_HI16 823 the_insn.reloc = RELOC_DLX_REL16; 838 the_insn.reloc = RELOC_DLX_REL26; 913 if (the_insn.reloc != NO_RELOC) 918 the_insn.reloc); 1190 arelent * reloc; local [all...] |
tc-i860.c | 62 bfd_reloc_code_real_type reloc; member in struct:i860_it::i860_fi 437 the_insn.fi[tmp].reloc); 523 the_insn.fi[t].reloc = BFD_RELOC_NONE; 1046 fprintf (stderr, "reloc = %s\t\n", 1047 bfd_get_reloc_code_name (insn->reloc)); 1198 bfd_reloc_code_real_type reloc; 1220 reloc = BFD_RELOC_860_HIGHADJ; 1225 reloc = BFD_RELOC_860_HIGH; 1235 reloc = BFD_RELOC_860_SPLIT1; 1240 reloc = BFD_RELOC_860_SPLIT2 1196 bfd_reloc_code_real_type reloc; local 1427 arelent *reloc; local [all...] |
tc-mn10200.c | 84 bfd_reloc_code_real_type reloc; 750 /* If while processing a fixup, a reloc really needs to be created 756 arelent *reloc; 757 reloc = xmalloc (sizeof (arelent)); 781 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type); 782 if (reloc->howto == NULL) 785 _("reloc %d not supported by object file format"), 789 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 790 reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *)); 791 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy) 82 bfd_reloc_code_real_type reloc; member in struct:mn10200_fixup 753 arelent *reloc; local 1280 int reloc, pcrel, offset; local [all...] |
tc-pdp11.c | 42 } reloc; member in struct:pdp11_code 417 seg = expression (&operand->reloc.exp); 428 operand->reloc.pc_rel = 0; 471 operand->word = operand->reloc.exp.X_add_number; 472 switch (operand->reloc.exp.X_op) 479 operand->reloc.type = BFD_RELOC_16; 480 operand->reloc.pc_rel = 0; 483 if (operand->reloc.exp.X_add_number > 0) 489 know (operand->reloc.exp.X_add_number < 0); 532 operand->reloc.type = BFD_RELOC_16_PCREL 1388 arelent *reloc; local [all...] |
tc-spu.c | 47 bfd_reloc_code_real_type reloc[MAX_RELOCS]; member in struct:spu_insn 199 bfd_reloc_code_real_type reloc; 312 insn.reloc[i] = BFD_RELOC_NONE; 371 bfd_reloc_code_real_type reloc = insn.reloc[i]; 374 if (reloc == BFD_RELOC_SPU_PCREL9a 375 || reloc == BFD_RELOC_SPU_PCREL9b 376 || reloc == BFD_RELOC_SPU_PCREL16) 383 reloc); 711 insn->reloc[reloc_i] = BFD_RELOC_SPU_HI16 197 bfd_reloc_code_real_type reloc; member in struct:arg_encode 369 bfd_reloc_code_real_type reloc = insn.reloc[i]; local 824 enum bfd_reloc_code_real reloc; local 865 arelent *reloc; local [all...] |
tc-arc.c | 327 /* Compute the reloc type of an expression. 345 insns we return fudged reloc types (real_value - BFD_RELOC_UNUSED). When 346 called for data or limm values we use real reloc types. */ 1205 /* This may be a special ARC reloc (eg: %st()). */ 1223 given a PC relative reloc. */ 1234 above we used a reloc code which was the largest legal reloc code 1237 and we attempt to completely resolve the reloc. If we can not do 1238 that, we determine the correct reloc code and put it back in the fixup. */ 1288 /* Determine a BFD reloc value based on the operand information 1354 arelent *reloc; local [all...] |
tc-avr.c | 369 #define EXP_MOD_RELOC(i) exp_mod[i].reloc 376 bfd_reloc_code_real_type reloc; member in struct:exp_mod_s 404 /* Reloc modifiers hash control (hh8,hi8,lo8,pm_xx). */ 1603 arelent *reloc; local [all...] |
tc-crx.c | 276 /* This macro decides whether a particular reloc is an entry in a 309 arelent * reloc; local 311 reloc = xmalloc (sizeof (arelent)); 312 reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *)); 313 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy); 314 reloc->address = fixP->fx_frag->fr_address + fixP->fx_where; 315 reloc->addend = fixP->fx_offset; 322 reloc->addend = (S_GET_VALUE (fixP->fx_addsy) 356 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixP->fx_r_type); 358 if (reloc->howto == (reloc_howto_type *) NULL 406 bfd_reloc_code_real_type reloc; local [all...] |
tc-d10v.c | 52 bfd_reloc_code_real_type reloc; member in struct:d10v_fixup 555 fixups->fix[fixups->fc].reloc = BFD_RELOC_D10V_18; 567 fixups->fix[fixups->fc].reloc = 572 && (fixups->fix[fixups->fc].reloc == 0)) 576 if (fixups->fix[fixups->fc].reloc == BFD_RELOC_16 || 577 fixups->fix[fixups->fc].reloc == BFD_RELOC_D10V_18) 619 if (fx->fix[i].reloc) 625 if (fx->fix[i].reloc == BFD_RELOC_D10V_18) 664 if (fx->fix[i].reloc) 670 if (fx->fix[i].reloc == BFD_RELOC_D10V_18 1453 arelent *reloc; local [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
mep-asm.c | 477 int reloc; 482 reloc = BFD_RELOC_MEP_TPREL7; 485 reloc = BFD_RELOC_MEP_TPREL7A2; 488 reloc = BFD_RELOC_MEP_TPREL7A4; 494 errmsg = cgen_parse_address (cd, strp, opindex, reloc, 476 int reloc; local [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
nlmconv.c | 1644 asymbol *reloc; member in struct:powerpc_stub 1829 arelent *reloc; local [all...] |