| /freebsd-9-stable/sys/boot/common/ |
| D | reloc_elf.c | 83 Elf_Addr addend, addr; in __elfN() 93 addend = 0; in __elfN() 96 addend = 0; in __elfN() 102 addend = rela->r_addend; in __elfN() 114 addend = *where; in __elfN() 125 val = addr + addend; in __elfN() 129 addr = (Elf_Addr)addend + relbase; in __elfN() 140 Elf_Addr addend, addr, *where, val; in __elfN() 150 addend = 0; in __elfN() 153 addend = 0; in __elfN() [all …]
|
| /freebsd-9-stable/sys/mips/mips/ |
| D | elf_machdep.c | 173 Elf_Addr addend = (Elf_Addr)0; in elf_reloc_internal() local 187 addend = *where; in elf_reloc_internal() 203 addr += addend; in elf_reloc_internal() 213 addend &= 0x03ffffff; in elf_reloc_internal() 214 addend <<= 2; in elf_reloc_internal() 216 addr += ((Elf_Addr)where & 0xf0000000) | addend; in elf_reloc_internal() 224 ahl = addend << 16; in elf_reloc_internal() 229 ahl += (int16_t)addend; in elf_reloc_internal() 234 addend &= 0xffff0000; in elf_reloc_internal() 235 addend |= (uint16_t)(ahl + addr); in elf_reloc_internal() [all …]
|
| /freebsd-9-stable/usr.sbin/kldxref/ |
| D | ef_amd64.c | 49 Elf_Addr addend, addr; in ef_reloc() local 58 addend = 0; in ef_reloc() 65 addend = rela->r_addend; in ef_reloc() 81 addend = *(Elf32_Addr *)where; in ef_reloc() 84 addend = *where; in ef_reloc() 94 val = addr + addend; in ef_reloc() 99 val32 = (Elf32_Addr)(addr + addend); in ef_reloc() 108 addr = (Elf_Addr)addend + relbase; in ef_reloc()
|
| D | ef_i386.c | 47 Elf_Addr *where, addr, addend; in ef_reloc() local 57 addend = 0; in ef_reloc() 64 addend = rela->r_addend; in ef_reloc() 76 addend = *where; in ef_reloc() 80 addr = (Elf_Addr)addend + relbase; in ef_reloc() 85 addr += addend; in ef_reloc()
|
| D | ef_powerpc.c | 50 Elf_Addr *where, addend; in ef_reloc() local 59 addend = rela->r_addend; in ef_reloc() 68 *where = relbase + addend; in ef_reloc()
|
| /freebsd-9-stable/contrib/binutils/bfd/ |
| D | coff-alpha.c | 649 rptr->addend = 0; 664 rptr->addend = 0; 666 rptr->addend = - (intern->r_vaddr + 4); 674 rptr->addend += ecoff_data (abfd)->gp; 682 rptr->addend = intern->r_size; 689 rptr->addend = (intern->r_offset << 8) + intern->r_size; 698 rptr->addend = intern->r_vaddr; 703 rptr->addend = intern->r_symndx + ecoff_data (abfd)->gp; 714 rptr->addend = ecoff_data (abfd)->gp; 739 intern->r_size = rel->addend; [all …]
|
| D | elf32-score.c | 89 bfd_vma addend; member 240 bfd_vma addend = 0, offset = 0; in score_elf_lo16_reloc() local 246 addend = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address); in score_elf_lo16_reloc() 247 offset = ((((addend >> 16) & 0x3) << 15) | (addend & 0x7fff)) >> 1; in score_elf_lo16_reloc() 248 val = reloc_entry->addend; in score_elf_lo16_reloc() 256 addend = (addend & ~0x37fff) | (offset & 0x7fff) | ((offset << 1) & 0x30000); in score_elf_lo16_reloc() 257 bfd_put_32 (abfd, addend, (bfd_byte *) data + reloc_entry->address); in score_elf_lo16_reloc() 375 if (((reloc_entry->addend & 0xffffc000) != 0) in score_elf_gprel15_with_gp() 376 && ((reloc_entry->addend & 0xffffc000) != 0xffffc000)) in score_elf_gprel15_with_gp() 379 insn = (insn & ~0x7fff) | (reloc_entry->addend & 0x7fff); in score_elf_gprel15_with_gp() [all …]
|
| D | reloc.c | 645 relocation += reloc_entry->addend; in bfd_perform_relocation() 694 reloc_entry->addend = relocation; in bfd_perform_relocation() 782 relocation -= reloc_entry->addend; in bfd_perform_relocation() 783 reloc_entry->addend = 0; in bfd_perform_relocation() 787 reloc_entry->addend = relocation; in bfd_perform_relocation() 793 reloc_entry->addend = 0; in bfd_perform_relocation() 1031 relocation += reloc_entry->addend; in bfd_install_relocation() 1078 reloc_entry->addend = relocation; in bfd_install_relocation() 1165 relocation -= reloc_entry->addend; in bfd_install_relocation() 1168 reloc_entry->addend = 0; in bfd_install_relocation() [all …]
|
| D | coff-i386.c | 96 diff = symbol->value + reloc_entry->addend; 99 diff = reloc_entry->addend; 123 diff = reloc_entry->addend - symbol->value; 125 diff = -reloc_entry->addend; 129 diff = reloc_entry->addend; 386 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 389 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 391 cache_ptr->addend = 0; \ 393 cache_ptr->addend += asect->vma; \
|
| D | pe-mips.c | 76 diff = symbol->value + reloc_entry->addend; in coff_mips_reloc() 79 diff = reloc_entry->addend; in coff_mips_reloc() 87 diff = reloc_entry->addend; in coff_mips_reloc() 370 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 373 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 375 cache_ptr->addend = 0; \ 377 cache_ptr->addend += asect->vma; \ 625 bfd_vma addend = 0; in coff_pe_mips_relocate_section() local 649 addend = - sym->n_value; in coff_pe_mips_relocate_section() 651 addend = 0; in coff_pe_mips_relocate_section() [all …]
|
| D | coff-x86_64.c | 88 diff = symbol->value + reloc_entry->addend; in coff_amd64_reloc() 91 diff = reloc_entry->addend; in coff_amd64_reloc() 115 diff = reloc_entry->addend - symbol->value; in coff_amd64_reloc() 117 diff = -reloc_entry->addend; in coff_amd64_reloc() 121 diff = reloc_entry->addend; in coff_amd64_reloc() 486 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 489 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 491 cache_ptr->addend = 0; \ 493 cache_ptr->addend += asect->vma; \
|
| D | coff-mips.c | 379 rptr->addend += ecoff_data (abfd)->gp; 429 && reloc_entry->addend == 0) 451 bfd_vma addend; member 482 && reloc_entry->addend == 0) 500 relocation += reloc_entry->addend; 510 n->addend = relocation; 560 val += l->addend; 620 && reloc_entry->addend == 0) 706 val = ((insn & 0xffff) + reloc_entry->addend) & 0xffff; 921 bfd_vma addend; local [all …]
|
| D | bout.c | 533 value += reloc->addend; in get_value() 570 word += value + reloc_entry->addend; in calljx_callback() 611 + balsym->symbol.value + reloc_entry->addend in callj_callback() 628 + reloc_entry->addend in callj_callback() 772 cache_ptr->addend = 0; in b_out_slurp_reloc_table() 795 cache_ptr->addend = - obj_textsec (abfd)->vma; in b_out_slurp_reloc_table() 800 cache_ptr->addend = - obj_datasec (abfd)->vma; in b_out_slurp_reloc_table() 805 cache_ptr->addend = - obj_bsssec (abfd)->vma; in b_out_slurp_reloc_table() 810 cache_ptr->addend = 0; in b_out_slurp_reloc_table() 823 cache_ptr->addend = 0; in b_out_slurp_reloc_table() [all …]
|
| D | elf32-ppc.c | 1652 relocation += reloc_entry->addend; in ppc_elf_addr16_ha_reloc() 1656 reloc_entry->addend += (relocation & 0x8000) << 1; in ppc_elf_addr16_ha_reloc() 1714 bfd_vma addend; member 2332 bfd_vma addend; member 2723 if (dent->sec == ent->sec && dent->addend == ent->addend) in ppc_elf_copy_indirect_symbol() 2856 bfd_vma addend, in elf_find_pointer_linker_section() argument 2860 if (lsect == linker_pointers->lsect && addend == linker_pointers->addend) in elf_find_pointer_linker_section() 2934 linker_section_ptr->addend = rel->r_addend; in elf_create_pointer_linker_section() 2979 asection *sec, bfd_vma addend) in update_plt_info() argument 2983 if (addend < 32768) in update_plt_info() [all …]
|
| /freebsd-9-stable/sys/powerpc/powerpc/ |
| D | elf32_machdep.c | 164 Elf_Addr addend; in elf_reloc_internal() local 176 addend = rela->r_addend; in elf_reloc_internal() 193 addr += addend; in elf_reloc_internal() 206 if (addr > relocbase && addr <= (relocbase + addend)) in elf_reloc_internal() 207 addr = relocbase + addend; in elf_reloc_internal() 209 addr += addend; in elf_reloc_internal() 222 if (addr > relocbase && addr <= (relocbase + addend)) in elf_reloc_internal() 223 addr = relocbase + addend; in elf_reloc_internal() 225 addr += addend; in elf_reloc_internal() 231 *where = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal()
|
| D | elf64_machdep.c | 135 Elf_Addr addend; in elf_reloc_internal() local 146 addend = rela->r_addend; in elf_reloc_internal() 163 addr += addend; in elf_reloc_internal() 168 *where = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal()
|
| /freebsd-9-stable/sys/amd64/amd64/ |
| D | elf_machdep.c | 151 Elf_Addr addend; in elf_reloc_internal() local 167 addend = *(Elf32_Addr *)where; in elf_reloc_internal() 170 addend = *where; in elf_reloc_internal() 177 addend = rela->r_addend; in elf_reloc_internal() 192 val = addr + addend; in elf_reloc_internal() 204 val32 = (Elf32_Addr)(addr + addend - (Elf_Addr)where); in elf_reloc_internal() 213 val32 = (Elf32_Addr)(addr + addend); in elf_reloc_internal() 240 addr = relocbase + addend; in elf_reloc_internal()
|
| /freebsd-9-stable/sys/ia64/ia64/ |
| D | elf_machdep.c | 183 Elf_Addr addend, addr; in elf_reloc_internal() local 198 addend = *where; in elf_reloc_internal() 201 addend = 0; in elf_reloc_internal() 210 addend = rela->r_addend; in elf_reloc_internal() 218 *where = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal() 229 *where = addr + addend; in elf_reloc_internal() 232 if (addend != 0) { in elf_reloc_internal() 247 where[0] = *((Elf_Addr*)addr) + addend; in elf_reloc_internal()
|
| /freebsd-9-stable/contrib/binutils/gas/ |
| D | literal.c | 45 add_to_literal_pool (sym, addend, sec, size) in add_to_literal_pool() argument 47 valueT addend; 68 if (fixp->fx_addsy == sym && fixp->fx_offset == addend) 87 fix_new (frag_now, p - frag_now->fr_literal, size, sym, addend, 0,
|
| /freebsd-9-stable/contrib/binutils/gas/config/ |
| D | tc-mep.c | 1281 int addend, rn, bit = 0; in md_convert_frag() local 1286 addend = target_address_for (fragP) - (fragP->fr_address + where); in md_convert_frag() 1326 fragP->fr_opcode[0^e] = 0xb0 | ((addend >> 8) & 0x0f); in md_convert_frag() 1327 fragP->fr_opcode[1^e] = 0x01 | (addend & 0xfe); in md_convert_frag() 1333 fragP->fr_opcode[0^e] = 0xd8 | ((addend >> 5) & 0x07); in md_convert_frag() 1334 fragP->fr_opcode[1^e] = 0x09 | ((addend << 3) & 0xf0); in md_convert_frag() 1335 fragP->fr_opcode[2^e] = 0x00 | ((addend >>16) & 0xff); in md_convert_frag() 1336 fragP->fr_opcode[3^e] = 0x00 | ((addend >> 8) & 0xff); in md_convert_frag() 1341 fragP->fr_opcode[0^e] = 0xb0 | ((addend >> 8) & 0x0f); in md_convert_frag() 1342 fragP->fr_opcode[1^e] = 0x00 | (addend & 0xfe); in md_convert_frag() [all …]
|
| /freebsd-9-stable/sys/i386/i386/ |
| D | elf_machdep.c | 150 Elf_Addr addend; in elf_reloc_internal() local 159 addend = *where; in elf_reloc_internal() 166 addend = rela->r_addend; in elf_reloc_internal() 176 addr = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal() 192 addr += addend; in elf_reloc_internal() 201 addr += addend - (Elf_Addr)where; in elf_reloc_internal()
|
| /freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| D | RuntimeDyldImpl.h | 103 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) in RelocationEntry() argument 104 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 107 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 109 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 112 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 114 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
|
| /freebsd-9-stable/sys/arm/arm/ |
| D | elf_machdep.c | 131 Elf_Addr addend; in elf_reloc_internal() local 140 addend = *where; in elf_reloc_internal() 147 addend = rela->r_addend; in elf_reloc_internal() 157 addr = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal()
|
| /freebsd-9-stable/sys/boot/ficl/ |
| D | math64.c | 497 DPUNS addend; in ficlLongMul() local 499 addend.lo = y; in ficlLongMul() 500 addend.hi = 0; /* No sign extension--arguments are unsigned */ in ficlLongMul() 506 result = m64Add(result, addend); in ficlLongMul() 509 addend = m64ASL(addend); in ficlLongMul()
|
| /freebsd-9-stable/libexec/rtld-elf/arm/ |
| D | reloc.c | 157 Elf32_Sword addend; in reloc_nonplt_object() local 162 addend = *where; in reloc_nonplt_object() 163 if (addend & 0x00800000) in reloc_nonplt_object() 164 addend |= 0xff000000; in reloc_nonplt_object() 171 - (Elf_Addr)where + (addend << 2); in reloc_nonplt_object()
|