| /NextBSD/sys/mips/mips/ |
| HD | elf_machdep.c | 171 Elf_Addr addend = (Elf_Addr)0; in elf_reloc_internal() local 191 addend = *(Elf64_Addr *)where; in elf_reloc_internal() 194 addend = *where; in elf_reloc_internal() 202 addend = rela->r_addend; in elf_reloc_internal() 218 addr += addend; in elf_reloc_internal() 228 addend &= 0x03ffffff; in elf_reloc_internal() 233 addend <<= 2; in elf_reloc_internal() 235 addr += ((Elf_Addr)where & 0xf0000000) | addend; in elf_reloc_internal() 246 addr += addend; in elf_reloc_internal() 256 addr += addend; in elf_reloc_internal() [all …]
|
| /NextBSD/sys/boot/common/ |
| HD | 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 …]
|
| /NextBSD/usr.sbin/kldxref/ |
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| /NextBSD/contrib/binutils/bfd/ |
| HD | 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 …]
|
| HD | 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 …]
|
| HD | 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 …]
|
| HD | 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; \
|
| HD | 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 …]
|
| HD | 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; \
|
| HD | 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 …]
|
| HD | 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 …]
|
| HD | elf32-ppc.c | 1682 relocation += reloc_entry->addend; in ppc_elf_addr16_ha_reloc() 1686 reloc_entry->addend += (relocation & 0x8000) << 1; in ppc_elf_addr16_ha_reloc() 1744 bfd_vma addend; member 2362 bfd_vma addend; member 2771 if (dent->sec == ent->sec && dent->addend == ent->addend) in ppc_elf_copy_indirect_symbol() 2904 bfd_vma addend, in elf_find_pointer_linker_section() argument 2908 if (lsect == linker_pointers->lsect && addend == linker_pointers->addend) in elf_find_pointer_linker_section() 2982 linker_section_ptr->addend = rel->r_addend; in elf_create_pointer_linker_section() 3027 asection *sec, bfd_vma addend) in update_plt_info() argument 3031 if (addend < 32768) in update_plt_info() [all …]
|
| /NextBSD/sys/amd64/amd64/ |
| HD | elf_machdep.c | 165 Elf_Addr addend; in elf_reloc_internal() local 181 addend = *(Elf32_Addr *)where; in elf_reloc_internal() 184 addend = *where; in elf_reloc_internal() 191 addend = rela->r_addend; in elf_reloc_internal() 206 val = addr + addend; in elf_reloc_internal() 216 val32 = (Elf32_Addr)(addr + addend - (Elf_Addr)where); in elf_reloc_internal() 225 val32 = (Elf32_Addr)(addr + addend); in elf_reloc_internal() 252 addr = relocbase + addend; in elf_reloc_internal()
|
| /NextBSD/sys/powerpc/powerpc/ |
| HD | elf32_machdep.c | 181 Elf_Addr addend; in elf_reloc_internal() local 194 addend = rela->r_addend; in elf_reloc_internal() 211 *where = elf_relocaddr(lf, addr + addend); in elf_reloc_internal() 223 if (addr > relocbase && addr <= (relocbase + addend)) in elf_reloc_internal() 225 addr = elf_relocaddr(lf, addr + addend); in elf_reloc_internal() 238 if (addr > relocbase && addr <= (relocbase + addend)) in elf_reloc_internal() 240 addr = elf_relocaddr(lf, addr + addend); in elf_reloc_internal() 246 *where = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal()
|
| HD | elf64_machdep.c | 257 Elf_Addr addend; in elf_reloc_internal() local 269 addend = rela->r_addend; in elf_reloc_internal() 286 addr += addend; in elf_reloc_internal() 291 *where = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal()
|
| /NextBSD/contrib/binutils/gas/ |
| HD | 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,
|
| /NextBSD/contrib/binutils/gas/config/ |
| HD | 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 …]
|
| /NextBSD/sys/i386/i386/ |
| HD | elf_machdep.c | 176 Elf_Addr addend; in elf_reloc_internal() local 186 addend = *where; in elf_reloc_internal() 193 addend = rela->r_addend; in elf_reloc_internal() 203 addr = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal() 219 addr += addend; in elf_reloc_internal() 228 addr += addend - (Elf_Addr)where; in elf_reloc_internal()
|
| /NextBSD/sys/arm64/arm64/ |
| HD | elf_machdep.c | 136 Elf_Addr *where, addr, addend; in elf_reloc_internal() local 146 addend = *where; in elf_reloc_internal() 153 addend = rela->r_addend; in elf_reloc_internal() 163 *where = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal() 177 *where = addr + addend; in elf_reloc_internal()
|
| /NextBSD/sys/sys/mach/ |
| HD | time_value.h | 110 #define time_value_add(result, addend) { \ argument 111 (result)->microseconds += (addend)->microseconds; \ 112 (result)->seconds += (addend)->seconds; \
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| HD | RuntimeDyldImpl.h | 119 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) in RelocationEntry() argument 120 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 123 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 125 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 128 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 130 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 133 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 137 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
|
| /NextBSD/sys/boot/ficl/ |
| HD | 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()
|
| /NextBSD/sys/arm/arm/ |
| HD | elf_machdep.c | 169 Elf_Addr addend; in elf_reloc_internal() local 179 addend = load_ptr(where); in elf_reloc_internal() 186 addend = rela->r_addend; in elf_reloc_internal() 196 addr = elf_relocaddr(lf, relocbase + addend); in elf_reloc_internal()
|