/frameworks/compile/mclinker/lib/LD/ |
IdenticalCodeFolding.cpp | 141 RelocData::iterator rel, relEnd = (*sect)->getRelocData()->end(); local 142 for (rel = (*sect)->getRelocData()->begin(); rel != relEnd; ++rel) { 143 LDSymbol* sym = rel->symInfo()->outSymbol(); 147 if (!isSymCtorOrDtor(*rel->symInfo()) && 150 ->mayHaveFunctionPointerAccess(*rel)) { 235 for (Relocation& rel : *reloc_sect->getRelocData()) { 240 rel.type(), 241 rel.symValue() 283 std::vector<Relocation*>::const_iterator rel, relEnd = variable_relocs.end(); local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-xc16x.c | 346 Elf_Internal_Rela *rel, *relend; local 351 rel = relocs; 353 for (; rel < relend; rel++) 363 r_symndx = ELF32_R_SYM (rel->r_info); 364 r_type = ELF32_R_TYPE (rel->r_info); 372 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); 378 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 392 rel, 1, relend, howto, 0, contents); 400 contents, rel->r_offset [all...] |
mach-o-i386.c | 196 bfd_mach_o_i386_swap_reloc_out (arelent *rel, bfd_mach_o_reloc_info *rinfo) 198 rinfo->r_address = rel->address; 199 switch (rel->howto->type) 208 rinfo->r_pcrel = rel->howto->pc_relative; 209 rinfo->r_length = rel->howto->size; /* Correct in practice. */ 210 if ((*rel->sym_ptr_ptr)->flags & BSF_SECTION_SYM) 214 (*rel->sym_ptr_ptr)->section->output_section->target_index; 219 rinfo->r_value = (*rel->sym_ptr_ptr)->udata.i; 226 rinfo->r_length = rel->howto->size; 228 rinfo->r_value = rel->addend [all...] |
elf32-mep.c | 239 Elf_Internal_Rela * rel, 262 + rel->r_offset); 264 s = relocation + rel->r_addend; 266 byte = (unsigned char *)contents + rel->r_offset; 345 s -= mep_sdaoff_base(rel->r_offset); 351 s -= mep_tpoff_base(rel->r_offset); 357 u -= mep_tpoff_base(rel->r_offset); 362 u -= mep_tpoff_base(rel->r_offset); 367 u -= mep_tpoff_base(rel->r_offset); 420 actually uses Rel structures, the r_addend field will always b 452 Elf_Internal_Rela * rel; local [all...] |
elf32-i386.c | 33 /* 386 uses REL relocations instead of RELA. */ 681 /* On VxWorks, the .rel.plt.unloaded section has absolute relocations 812 /* The (unloaded but important) .rel.plt.unloaded section on VxWorks. */ 815 /* The index of the next unused R_386_TLS_DESC slot in .rel.plt. */ 818 /* The index of the next unused R_386_JUMP_SLOT slot in .rel.plt. */ 821 /* The index of the next unused R_386_IRELATIVE slot in .rel.plt. */ 896 bfd *abfd, const Elf_Internal_Rela *rel, 902 ELF32_R_SYM (rel->r_info)); 906 e.elf.dynstr_index = ELF32_R_SYM (rel->r_info); 926 ret->elf.dynstr_index = ELF32_R_SYM (rel->r_info) 1418 const Elf_Internal_Rela *rel; local 1860 const Elf_Internal_Rela *rel, *relend; local 3153 Elf_Internal_Rela *rel; local 4442 Elf_Internal_Rela rel; local 4623 Elf_Internal_Rela rel; local 4686 Elf_Internal_Rela rel; local 4862 Elf_Internal_Rela rel; local 4904 Elf_Internal_Rela rel; local [all...] |
aout-arm.c | 97 struct reloc_std_external *rel, 110 *r_index = ((rel->r_index[0] << 16) 111 | (rel->r_index[1] << 8) 112 | rel->r_index[2]); 113 *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG)); 114 r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_BIG)); 115 r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_BIG)); 116 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_BIG) 121 *r_index = ((rel->r_index[2] << 16) 122 | (rel->r_index[1] << 8 [all...] |
mep-relocs.pl | 51 if (($pre,$rel,$rest) = /(.*RELOC_NUMBER \()([^,]+), *\d+(.*)/) { 53 print (MEPHO "$pre$rel, $val$rest\n") || die("mep.h.new write: $!"); 55 $rel =~ s/R_MEP_//; 56 push(@relocs, $rel); 65 printf "%4d $rel p=`$pattern' s=`$sign' a=`$attrs'\n", $#pattern; 137 $pcrel = 1 if $attrs[$i] =~ /pc-rel/i; 159 if ($attrs[$i] =~ /tp-rel/i) { 160 print NEW " $v -= mep_tpoff_base(rel->r_offset);\n"; 162 if ($attrs[$i] =~ /gp-rel/i) { 163 print NEW " $v -= mep_sdaoff_base(rel->r_offset);\n" [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
nlmconv.c | 1412 arelent *rel; local 1887 arelent *rel; local [all...] |
/external/elfutils/src/ |
i386_ld.c | 112 XElf_Rel_vardef (rel); 117 /* Get the relocation data itself. x86 uses Rel 120 xelf_getrel (data, cnt, rel); 121 assert (rel != NULL); 124 si = symindirect[XELF_R_SYM (rel->r_info)]; 129 assert (symref[XELF_R_SYM (rel->r_info)] != NULL); 130 si = symref[XELF_R_SYM (rel->r_info)]->outsymidx; 137 xelf_getsymshndx (insymdata, inxndxdata, XELF_R_SYM (rel->r_info), 150 in the case of Rel relocations is in the target section 155 assert (XELF_R_TYPE (rel->r_info) == R_386_32) [all...] |
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
ldmacho.go | 96 rel []ldMachoRel 297 if sect.rel != nil || sect.nreloc == 0 { 300 rel := make([]ldMachoRel, sect.nreloc) 313 r = &rel[i] 344 sect.rel = rel 434 var rel *ldMachoRel 729 if sect.rel == nil { 737 rel = §.rel[j [all...] |
/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
ldmacho.go | 96 rel []ldMachoRel 297 if sect.rel != nil || sect.nreloc == 0 { 300 rel := make([]ldMachoRel, sect.nreloc) 313 r = &rel[i] 344 sect.rel = rel 434 var rel *ldMachoRel 729 if sect.rel == nil { 737 rel = §.rel[j [all...] |
/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/ |
ELF_x86-64_PIC-small-relocations.s | 12 # Test PC-rel branch.
|
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/ |
ReferencesHeader.java | 26 public static final String REL = "rel"; 34 public void setRel (String rel) throws ParseException;
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
sys_freebsd.go | 100 rel, _ := syscall.SysctlUint32("kern.osreldate") 102 case rel < 800000: 108 case 800000 <= rel && rel < 900000: 114 case 900000 <= rel && rel < 1000000: 120 case 1000000 <= rel && rel < 1100000:
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/ |
sys_freebsd.go | 100 rel, _ := syscall.SysctlUint32("kern.osreldate") 102 case rel < 800000: 108 case 800000 <= rel && rel < 900000: 114 case 900000 <= rel && rel < 1000000: 120 case 1000000 <= rel && rel < 1100000:
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cr16/ |
pic1.s | 3 .section .data.rel
|
pic2.s | 3 .section .data.rel
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-tic6x/ |
mvk-reloc-global-rel.d | 1 #name: C6X MVK relocations, global symbols, REL 2 #as: -mlittle-endian -mgenerate-rel 4 #source: mvk-reloc-global-rel.s
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-x86-64/ |
pr14207.d | 21 01 .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss 23 03 .init_array .fini_array .jcr .data.rel.ro .dynamic .got
|
/external/syslinux/com32/lib/sys/module/x86_64/ |
elf_module.c | 191 int perform_relocation(struct elf_module *module, Elf_Rel *rel) { 192 Elf64_Xword *dest = module_get_absolute(rel->r_offset, module); 195 Elf64_Word sym = ELF64_R_SYM(rel->r_info); 196 unsigned char type = ELF64_R_TYPE(rel->r_info); 275 void *rel = NULL; local 304 rel = module_get_absolute(dyn_entry->d_un.d_ptr, module); 307 rel = module_get_absolute(dyn_entry->d_un.d_ptr, module); 341 crt_rel = (Elf64_Rel*)(rel + i*rel_entry); 354 crt_rel = (Elf64_Rel*)(rel + i*rela_entry);
|
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-xc16x.c | 283 arelent *rel; local 297 rel = xmalloc (sizeof (arelent)); 298 rel->sym_ptr_ptr = xmalloc (sizeof (asymbol *)); 299 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); 300 rel->address = fixp->fx_frag->fr_address + fixp->fx_where; 301 rel->addend = fixp->fx_offset; 311 rel->howto = bfd_reloc_type_lookup (stdoutput, r_type); 312 if (rel->howto == NULL) 320 return rel;
|
tc-pj.c | 473 arelent *rel; 476 rel = xmalloc (sizeof (arelent)); 477 rel->sym_ptr_ptr = xmalloc (sizeof (asymbol *)); 478 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); 479 rel->address = fixp->fx_frag->fr_address + fixp->fx_where; 482 rel->addend = fixp->fx_addnumber; 483 rel->howto = bfd_reloc_type_lookup (stdoutput, r_type); 485 if (rel->howto == NULL) 491 rel->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_32); 492 gas_assert (rel->howto != NULL) 472 arelent *rel; local [all...] |
/external/syslinux/gnu-efi/gnu-efi-3.0/ |
Make.rules | 38 $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
|
/external/syslinux/gnu-efi/gnu-efi-3.0/gnuefi/ |
elf_x86_64_fbsd_efi.lds | 39 *(.rel.local)
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/sh64/ |
movi-3.d | 4 #name: Assembler PC-rel resolved negative MOVI.
|