/external/elfutils/0.153/backends/ |
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, 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) 95 return reloc >= 0 && reloc < nreloc && EBLHOOK(reloc_nameidx)[reloc] != 0 [all...] |
/external/llvm/test/MC/ARM/ |
dwarf-asm-no-code.s | 3 // RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s 23 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_info]: 25 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]: 27 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_aranges]:
|
dwarf-asm-nonstandard-section.s | 3 // RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s 46 // RELOC: RELOCATION RECORDS FOR [.rel.debug_info]: 47 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev 48 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line 49 // RELOC-NEXT: R_ARM_ABS32 foo 50 // RELOC-NEXT: R_ARM_ABS32 foo 51 // RELOC-NEXT: R_ARM_ABS32 foo 53 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]: 55 // RELOC: RELOCATION RECORDS FOR [.rel.debug_aranges]: 56 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_inf [all...] |
dwarf-asm-single-section.s | 3 // RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s 45 // RELOC: RELOCATION RECORDS FOR [.rel.debug_info]: 46 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev 47 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line 48 // RELOC-NEXT: R_ARM_ABS32 .text 49 // RELOC-NEXT: R_ARM_ABS32 .text 50 // RELOC-NEXT: R_ARM_ABS32 .text 52 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]: 54 // RELOC: RELOCATION RECORDS FOR [.rel.debug_aranges]: 55 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_inf [all...] |
dwarf-asm-multiple-sections.s | 3 // RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s 59 // RELOC: RELOCATION RECORDS FOR [.rel.debug_info]: 60 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev 61 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line 62 // RELOC-NEXT: 00000010 R_ARM_ABS32 .debug_ranges 63 // RELOC-NEXT: R_ARM_ABS32 .text 64 // RELOC-NEXT: R_ARM_ABS32 foo 66 // RELOC: RELOCATION RECORDS FOR [.rel.debug_ranges]: 67 // RELOC-NEXT: 00000004 R_ARM_ABS32 .text 68 // RELOC-NEXT: 00000014 R_ARM_ABS32 fo [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/ |
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 = NULL local [all...] |
/external/llvm/test/CodeGen/AArch64/ |
arm64-tls-execs.ll | 2 ; RUN: llc -mtriple=arm64-none-linux-gnu -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-RELOC %s 15 ; CHECK-RELOC: R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 16 ; CHECK-RELOC: R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC 30 ; CHECK-RELOC: R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 31 ; CHECK-RELOC: R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC 46 ; CHECK-RELOC: R_AARCH64_TLSLE_MOVW_TPREL_G1 47 ; CHECK-RELOC: R_AARCH64_TLSLE_MOVW_TPREL_G0_NC 61 ; CHECK-RELOC: R_AARCH64_TLSLE_MOVW_TPREL_G1 62 ; CHECK-RELOC: R_AARCH64_TLSLE_MOVW_TPREL_G0_NC
|
arm64-tls-dynamics.ll | 2 ; RUN: llc -mtriple=arm64-none-linux-gnu -relocation-model=pic -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-RELOC %s 23 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADR_PAGE 24 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADD_LO12_NC 25 ; CHECK-RELOC: R_AARCH64_TLSDESC_LD64_LO12_NC 26 ; CHECK-RELOC: R_AARCH64_TLSDESC_CALL 46 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADR_PAGE 47 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADD_LO12_NC 48 ; CHECK-RELOC: R_AARCH64_TLSDESC_LD64_LO12_NC 49 ; CHECK-RELOC: R_AARCH64_TLSDESC_CALL 76 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADR_PAG [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
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) 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.sym, &elf_symrec_data) [all...] |
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) 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 == R_X86_64_GOT32 [all...] |
/external/clang/test/PCH/ |
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/llvm/test/Object/ |
elf-reloc-no-sym.test | 1 RUN: llvm-readobj -r %p/Inputs/elf-reloc-no-sym.x86_64 | FileCheck %s
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
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/ |
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/llvm/include/llvm/MC/ |
MCCodeGenInfo.h | 25 Reloc::Model RelocationModel; 36 void InitMCCodeGenInfo(Reloc::Model RM = Reloc::Default, 40 Reloc::Model getRelocationModel() const { return RelocationModel; }
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests/nasm32/ |
Makefile.inc | 7 EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho-reloc.asm 8 EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho-reloc.hex
|
/external/llvm/lib/Target/Sparc/ |
SparcCodeEmitter.cpp | 54 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} 90 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc) const; 91 void emitExternalSymbolAddress(const char *ES, unsigned Reloc) const; 92 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const; 93 void emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc) const; 244 llvm_unreachable("unknown reloc!"); 248 unsigned Reloc) const { 249 MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc, 255 emitExternalSymbolAddress(const char *ES, unsigned Reloc) const { 257 Reloc, ES, 0, 0)) [all...] |
/hardware/intel/img/libdrm/libdrm/radeon/ |
radeon_cs_gem.c | 117 struct cs_reloc_gem *reloc; local 139 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; 140 if (reloc->handle == bo->handle) { 143 * set we only need to check that if previous reloc as the read 148 if (write_domain && (reloc->read_domain & write_domain)) { 149 reloc->read_domain = 0; 150 reloc->write_domain = write_domain; 151 } else if (read_domain & reloc->write_domain) { 152 reloc->read_domain = 0; 154 if (write_domain != reloc->write_domain [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/ |
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->shift = value->rshift 288 xdf_reloc *reloc; local [all...] |
/external/llvm/tools/llvm-readobj/ |
MachODumper.cpp | 44 void printRelocation(const RelocationRef &Reloc); 46 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 253 for (const RelocationRef &Reloc : Section.relocations()) 254 printRelocation(Reloc); 288 for (const RelocationRef &Reloc : Section.relocations()) { 295 printRelocation(Reloc); 305 void MachODumper::printRelocation(const RelocationRef &Reloc) { 306 return printRelocation(Obj, Reloc); 310 const RelocationRef &Reloc) { 313 if (error(Reloc.getOffset(Offset)) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/ |
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->type = RDF_RELOC_REL 385 rdf_reloc *reloc; local [all...] |
/external/llvm/lib/Target/ARM/ |
ARMTargetMachine.h | 31 Reloc::Model RM, CodeModel::Model CM, 74 const TargetOptions &Options, Reloc::Model RM, 85 Reloc::Model RM, CodeModel::Model CM, 95 const TargetOptions &Options, Reloc::Model RM, 107 const TargetOptions &Options, Reloc::Model RM, 118 Reloc::Model RM, CodeModel::Model CM, 129 Reloc::Model RM, CodeModel::Model CM,
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/ |
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->length = 1 650 macho_reloc *reloc; local [all...] |
/hardware/intel/img/psb_video/src/ |
vsp_cmdbuf.c | 208 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local 211 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */ 213 reloc->buffer = vsp_cmdbuf_buffer_ref(cmdbuf, ref_buffer); 214 ASSERT(reloc->buffer != -1); 216 reloc->reloc_op = PSB_RELOC_OP_OFFSET; 229 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base; 231 reloc->mask = mask; 232 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; 233 reloc->pre_add = buf_offset; 234 reloc->background = background [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
radeon_drm_cs.c | 40 Reloc writes and space checking are faster and simpler than their 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, 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] 253 struct drm_radeon_cs_reloc *reloc; local [all...] |