/external/elfutils/0.153/libebl/ |
H A D | eblcopyrelocp.c | 59 ebl_copy_reloc_p (ebl, reloc) 61 int reloc; 63 return ebl->copy_reloc_p (reloc);
|
H A D | eblnonerelocp.c | 59 ebl_none_reloc_p (ebl, reloc) 61 int reloc; 63 return ebl->none_reloc_p (reloc);
|
H A D | eblrelativerelocp.c | 59 ebl_relative_reloc_p (ebl, reloc) 61 int reloc; 63 return ebl->relative_reloc_p (reloc);
|
H A D | eblgotpcreloccheck.c | 60 ebl_gotpc_reloc_check (ebl, reloc) 62 int reloc; 64 return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false;
|
H A D | eblrelocsimpletype.c | 58 ebl_reloc_simple_type (ebl, reloc) 60 int reloc; 62 return ebl != NULL ? ebl->reloc_simple_type (ebl, reloc) : ELF_T_NUM;
|
H A D | eblreloctypecheck.c | 59 ebl_reloc_type_check (ebl, reloc) 61 int reloc; 63 return ebl != NULL ? ebl->reloc_type_check (reloc) : false;
|
H A D | eblrelocvaliduse.c | 59 ebl_reloc_valid_use (ebl, reloc) 61 int reloc; 63 return ebl != NULL ? ebl->reloc_valid_use (ebl->elf, reloc) : false;
|
H A D | eblreloctypename.c | 60 ebl_reloc_type_name (ebl, reloc, buf, len) 62 int reloc; 68 res = ebl != NULL ? ebl->reloc_type_name (reloc, buf, len) : NULL;
|
H A D | libebl.h | 104 extern const char *ebl_reloc_type_name (Ebl *ebl, int reloc, 108 extern bool ebl_reloc_type_check (Ebl *ebl, int reloc); 111 extern bool ebl_reloc_valid_use (Ebl *ebl, int reloc); 115 extern Elf_Type ebl_reloc_simple_type (Ebl *ebl, int reloc); 119 extern bool ebl_gotpc_reloc_check (Ebl *ebl, int reloc); 208 extern bool ebl_copy_reloc_p (Ebl *ebl, int reloc); 211 extern bool ebl_none_reloc_p (Ebl *ebl, int reloc); 214 extern bool ebl_relative_reloc_p (Ebl *ebl, int reloc);
|
/external/clang/test/PCH/ |
H A D | reloc.c | 2 // RUN: -isysroot %S/libroot %S/libroot/usr/include/reloc.h 7 #include <reloc.h> 13 // expected-note@libroot/usr/include/reloc.h:13{{previous definition}}
|
/external/elfutils/0.153/backends/ |
H A D | common-reloc.c | 1 /* Common code for ebl reloc functions. 36 #define RELOC_TYPES STRINGIFIED_PASTE (BACKEND, reloc.def) 41 /* Provide a table of reloc type names, in a PIC-friendly fashion. */ 83 EBLHOOK(reloc_type_name) (int reloc, argument 87 if (reloc >= 0 && reloc < nreloc && EBLHOOK(reloc_nameidx)[reloc] != 0) 88 return &reloc_namestr[EBLHOOK(reloc_nameidx)[reloc]]; 93 EBLHOOK(reloc_type_check) (int reloc) argument 95 return reloc > 99 reloc_valid_use(Elf *elf, int reloc) argument 113 copy_reloc_p(int reloc) argument 119 none_reloc_p(int reloc) argument 126 relative_reloc_p(int reloc) argument [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
H A D | elf-x86-amd64.c | 140 elf_reloc_entry *reloc, 144 reloc->addend = yasm_intnum_copy(intn); 149 elf_x86_amd64_map_reloc_info_to_type(elf_reloc_entry *reloc) argument 151 if (reloc->wrt) { 153 yasm_symrec_get_data(reloc->wrt, &elf_ssym_symrec_data); 154 if (!ssym || reloc->valsize != ssym->size) 161 esym = yasm_symrec_get_data(reloc->reloc.sym, &elf_symrec_data); 166 if (reloc->rtype_rel && ssym->reloc 139 elf_x86_amd64_handle_reloc_addend(yasm_intnum *intn, elf_reloc_entry *reloc, unsigned long offset) argument 194 elf_x86_amd64_write_reloc(unsigned char *bufp, elf_reloc_entry *reloc, unsigned int r_type, unsigned int r_sym) argument [all...] |
H A D | elf-x86-x86.c | 139 elf_reloc_entry *reloc, 142 if (!reloc->wrt && reloc->is_GOT_sym && reloc->valsize == 32 && offset != 0) 152 elf_x86_x86_map_reloc_info_to_type(elf_reloc_entry *reloc) argument 154 if (reloc->wrt) { 156 yasm_symrec_get_data(reloc->wrt, &elf_ssym_symrec_data); 157 if (!ssym || reloc->valsize != ssym->size) 164 esym = yasm_symrec_get_data(reloc->reloc 138 elf_x86_x86_handle_reloc_addend(yasm_intnum *intn, elf_reloc_entry *reloc, unsigned long offset) argument 190 elf_x86_x86_write_reloc(unsigned char *bufp, elf_reloc_entry *reloc, unsigned int r_type, unsigned int r_sym) argument [all...] |
H A D | elf-machine.h | 59 elf_reloc_entry *reloc, 61 typedef unsigned int(*func_map_reloc_info_to_type)(elf_reloc_entry *reloc); 63 elf_reloc_entry *reloc, 80 const unsigned int reloc; /* relocation type */ member in struct:__anon16334
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/ |
H A D | nasm-listfmt.c | 53 unsigned long offset; /* start of reloc from start of bytecode */ 54 size_t size; /* size of reloc in bytes */ 102 /* Generate reloc if needed */ 104 bcreloc *reloc = yasm_xmalloc(sizeof(bcreloc)); local 105 reloc->offset = offset; 106 reloc->size = destsize; 107 reloc->rel = value->curpos_rel; 108 STAILQ_INSERT_TAIL(&info->bcrelocs, reloc, link); 110 /* Get next reloc's info */ 154 /*@null@*/ bcreloc *reloc local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
H A D | nv30_vertprog.c | 88 struct nv30_shader_reloc *reloc = vp->branch_relocs.data; local 89 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc); 106 inst = vp->insns[reloc->location].data; 107 target = vp->exec->start + reloc->target; 111 reloc++; 115 inst = vp->insns[reloc->location].data; 116 target = vp->exec->start + reloc->target; 122 reloc++; 131 struct nv30_shader_reloc *reloc = vp->const_relocs.data; local 132 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc); [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_vertprog.c | 88 struct nv30_shader_reloc *reloc = vp->branch_relocs.data; local 89 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc); 106 inst = vp->insns[reloc->location].data; 107 target = vp->exec->start + reloc->target; 111 reloc++; 115 inst = vp->insns[reloc->location].data; 116 target = vp->exec->start + reloc->target; 122 reloc++; 131 struct nv30_shader_reloc *reloc = vp->const_relocs.data; local 132 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_cs.c | 49 The adding is skipped if the reloc is already present in the list, but it 60 cs_write_reloc(cs, buf) just writes a reloc that has been added using 199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc, argument 204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain); 206 reloc->read_domains |= rd; 207 reloc->write_domain |= wd; 212 struct drm_radeon_cs_reloc *reloc; local 218 reloc = &csc->relocs[i]; 219 if (reloc 253 struct drm_radeon_cs_reloc *reloc; local [all...] |
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_cs.c | 49 The adding is skipped if the reloc is already present in the list, but it 60 cs_write_reloc(cs, buf) just writes a reloc that has been added using 199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc, argument 204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain); 206 reloc->read_domains |= rd; 207 reloc->write_domain |= wd; 212 struct drm_radeon_cs_reloc *reloc; local 218 reloc = &csc->relocs[i]; 219 if (reloc 253 struct drm_radeon_cs_reloc *reloc; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/ |
H A D | macho-objfmt.c | 237 yasm_reloc reloc; member in struct:macho_reloc 416 macho_reloc *reloc = NULL; local 447 reloc = yasm_xcalloc(sizeof(macho_reloc), 1); 448 reloc->reloc.addr = yasm_intnum_create_uint(bc->offset + offset); 449 reloc->reloc.sym = value->rel; 452 reloc->length = 3; 455 reloc->length = 2; 458 reloc 650 macho_reloc *reloc; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/ |
H A D | xdf-objfmt.c | 41 yasm_reloc reloc; member in struct:xdf_reloc 186 xdf_reloc *reloc; local 188 reloc = yasm_xmalloc(sizeof(xdf_reloc)); 189 reloc->reloc.addr = yasm_intnum_create_uint(bc->offset + offset); 190 reloc->reloc.sym = value->rel; 191 reloc->base = NULL; 192 reloc->size = valsize/8; 193 reloc 288 xdf_reloc *reloc; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/ |
H A D | rdf-objfmt.c | 69 yasm_reloc reloc; member in struct:rdf_reloc 228 rdf_reloc *reloc; local 232 reloc = yasm_xmalloc(sizeof(rdf_reloc)); 233 reloc->reloc.addr = yasm_intnum_create_uint(bc->offset + offset); 234 reloc->reloc.sym = value->rel; 235 reloc->size = valsize/8; 238 reloc->type = RDF_RELOC_SEG; 240 reloc 385 rdf_reloc *reloc; local [all...] |
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_elf_relocations.cpp | 476 const ELF::Addr reloc = static_cast<ELF::Addr>(rela->r_offset + load_bias_); local 478 RLOG(" rela reloc=%p offset=%p type=%d addend=%p\n", 479 reloc, 485 ELF::Addr* CRAZY_UNUSED target = reinterpret_cast<ELF::Addr*>(reloc); 551 *target = sym_addr + (addend - reloc); 570 const ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_); local 572 RLOG(" rel reloc=%p offset=%p type=%d\n", reloc, rel->r_offset, rel_type); 575 ELF::Addr* CRAZY_UNUSED target = reinterpret_cast<ELF::Addr*>(reloc); 648 *target += (sym_addr - reloc); 669 ResolveSymbol(ELF::Word rel_type, ELF::Word rel_symbol, const ElfSymbols* symbols, SymbolResolver* resolver, ELF::Addr reloc, ELF::Addr* sym_addr, Error* error) argument 739 ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_); local 789 ELF::Addr reloc = static_cast<ELF::Addr>(rela->r_offset + load_bias_); local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | section.h | 43 /*@reldef@*/ STAILQ_ENTRY(yasm_reloc) link; /**< Link to next reloc */ 269 * \param reloc relocation 271 * \note Does not make a copy of reloc. The same destroy_func must be 277 void yasm_section_add_reloc(yasm_section *sect, yasm_reloc *reloc, 278 void (*destroy_func) (/*@only@*/ void *reloc)); 288 * \param reloc previous relocation 291 /*@null@*/ yasm_reloc *yasm_section_reloc_next(yasm_reloc *reloc); 297 * \param reloc relocation 302 void yasm_reloc_get(yasm_reloc *reloc, yasm_intnum **addrp,
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
H A D | vmw_context.c | 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; local 146 if(!vmw_gmr_bufmgr_region_ptr(reloc->buffer, &ptr)) 149 ptr.offset += reloc->offset; 151 *reloc->where = ptr; 279 struct vmw_region_relocation *reloc; local 285 reloc = &vswc->region.relocs[vswc->region.used + vswc->region.staged]; 286 reloc->where = where; 287 pb_reference(&reloc->buffer, vmw_pb_buffer(buffer)); 288 reloc->offset = offset; 293 ret = pb_validate_add_buffer(vswc->validate, reloc [all...] |