/freebsd-10.0-release/usr.sbin/kldxref/ |
H A D | ef_amd64.c | 49 Elf_Addr addend, addr; local 58 addend = 0; 65 addend = rela->r_addend; 81 addend = *(Elf32_Addr *)where; 84 addend = *where; 94 val = addr + addend; 99 val32 = (Elf32_Addr)(addr + addend); 108 addr = (Elf_Addr)addend + relbase;
|
H A D | ef_i386.c | 47 Elf_Addr *where, addr, addend; local 57 addend = 0; 64 addend = rela->r_addend; 76 addend = *where; 80 addr = (Elf_Addr)addend + relbase; 85 addr += addend;
|
H A D | ef_powerpc.c | 50 Elf_Addr *where, addend; local 59 addend = rela->r_addend; 68 *where = relbase + addend;
|
/freebsd-10.0-release/sys/boot/common/ |
H A D | reloc_elf.c | 83 Elf_Addr addend, addr; 93 addend = 0; 96 addend = 0; 102 addend = rela->r_addend; 114 addend = *where; 125 val = addr + addend; 129 addr = (Elf_Addr)addend + relbase; 140 Elf_Addr addend, addr, *where, val; 150 addend = 0; 153 addend [all...] |
/freebsd-10.0-release/sys/mips/mips/ |
H A D | elf_machdep.c | 166 /* Process one elf relocation with addend. */ 173 Elf_Addr addend = (Elf_Addr)0; local 192 addend = *(Elf64_Addr *)where; 195 addend = *where; 203 addend = rela->r_addend; 219 addr += addend; 229 addend &= 0x03ffffff; 234 addend <<= 2; 236 addr += ((Elf_Addr)where & 0xf0000000) | addend; 247 addr += addend; [all...] |
/freebsd-10.0-release/contrib/binutils/gas/ |
H A D | literal.c | 45 add_to_literal_pool (sym, addend, sec, size) 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,
|
H A D | write.h | 107 coff targets pass the `addend' field from the cpu file via this 149 bfd_vma addend; member in struct:reloc_list::__anon376::__anon377
|
/freebsd-10.0-release/sys/powerpc/powerpc/ |
H A D | elf32_machdep.c | 156 /* Process one elf relocation with addend. */ 164 Elf_Addr addend; local 176 addend = rela->r_addend; 193 addr += addend; 202 * addend values are sometimes relative to sections 206 if (addr > relocbase && addr <= (relocbase + addend)) 207 addr = relocbase + addend; 209 addr += addend; 218 * addend values are sometimes relative to sections 222 if (addr > relocbase && addr <= (relocbase + addend)) [all...] |
H A D | elf64_machdep.c | 128 /* Process one elf relocation with addend. */ 135 Elf_Addr addend; local 146 addend = rela->r_addend; 163 addr += addend; 168 *where = elf_relocaddr(lf, relocbase + addend);
|
/freebsd-10.0-release/contrib/binutils/bfd/ |
H A D | coff-alpha.c | 654 rptr->addend = 0; 669 rptr->addend = 0; 671 rptr->addend = - (intern->r_vaddr + 4); 676 /* Copy the gp value for this object file into the addend, to 679 rptr->addend += ecoff_data (abfd)->gp; 685 addend, but they do use a special code. Put this code in the 686 addend field. */ 687 rptr->addend = intern->r_size; 692 them in the addend. */ 694 rptr->addend 954 bfd_vma addend; local 1536 bfd_vma addend; local 1805 stack[tos - 1] >>= addend; local [all...] |
H A D | elf32-score.c | 87 /* If abfd != NULL && symndx != -1, the addend of the relocation 89 bfd_vma addend; member in union:score_got_entry::__anon229 97 corresponding to this symbol+addend. If it's a global symbol 240 bfd_vma addend = 0, offset = 0; local 246 addend = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address); 247 offset = ((((addend >> 16) & 0x3) << 15) | (addend & 0x7fff)) >> 1; 248 val = reloc_entry->addend; 256 addend = (addend 534 bfd_vma addend = 0, offset = 0; local 1591 score_elf_record_local_got_symbol(bfd *abfd, long symndx, bfd_vma addend, struct score_got_info *g) argument 1753 bfd_signed_vma addend; local 1853 bfd_vma addend; local 2272 bfd_vma addend, value; local [all...] |
H A D | reloc.c | 106 . {* addend for relocation value. *} 107 . bfd_vma addend; 146 o <<addend>> 148 The <<addend>> is a value provided by the back end to be added (!) 188 0x12340000 in their addend field. The data would consist of: 200 it to the addend to get the original offset, and then adds the 308 . data section of the addend. The relocation function will 332 . {* Some formats record a relocation addend in the section contents 336 . addend is recorded with the section contents; when performing a 339 . recorded with the relocation (in arelent.addend); whe 1334 _bfd_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, bfd_vma address, bfd_vma value, bfd_vma addend) argument [all...] |
H A D | coff-i386.c | 91 ORIG is the negative of reloc_entry->addend, which is set by 96 diff = symbol->value + reloc_entry->addend; 99 diff = reloc_entry->addend; 105 ignores the addend for a COFF target when producing 107 COFF, so we handle the addend here instead. */ 123 diff = reloc_entry->addend - symbol->value; 125 diff = -reloc_entry->addend; 129 diff = reloc_entry->addend; 363 /* Compute the addend of a reloc. If the reloc is to a common symbol, 369 symbol from the original file, and uses it to set the addend valu [all...] |
H A D | coff-x86_64.c | 83 ORIG is the negative of reloc_entry->addend, which is set by 88 diff = symbol->value + reloc_entry->addend; 91 diff = reloc_entry->addend; 97 ignores the addend for a COFF target when producing 99 COFF, so we handle the addend here instead. */ 115 diff = reloc_entry->addend - symbol->value; 117 diff = -reloc_entry->addend; 121 diff = reloc_entry->addend; 461 /* Compute the addend of a reloc. If the reloc is to a common symbol, 467 symbol from the original file, and uses it to set the addend valu [all...] |
H A D | pe-mips.c | 71 ORIG is the negative of reloc_entry->addend, which is set by 76 diff = symbol->value + reloc_entry->addend; 79 diff = reloc_entry->addend; 84 ignores the addend for a COFF target when producing 86 COFF, so we handle the addend here instead. */ 87 diff = reloc_entry->addend; 347 /* Compute the addend of a reloc. If the reloc is to a common symbol, 353 symbol from the original file, and uses it to set the addend value 354 correctly. If this is not a common symbol, the usual addend 370 cache_ptr->addend 625 bfd_vma addend = 0; local [all...] |
H A D | coff-mips.c | 384 rptr->addend += ecoff_data (abfd)->gp; 408 additional addend, the resulting reloc will also be against the 434 && reloc_entry->addend == 0) 456 bfd_vma addend; 487 && reloc_entry->addend == 0) 505 relocation += reloc_entry->addend; 515 n->addend = relocation; 559 where to find the low 16 bits of the addend needed by the 565 val += l->addend; 620 addend, w 451 bfd_vma addend; member in struct:mips_hi 921 bfd_vma addend; local [all...] |
H A D | bout.c | 534 value += reloc->addend; 571 word += value + reloc_entry->addend; 612 + balsym->symbol.value + reloc_entry->addend 629 + reloc_entry->addend 773 cache_ptr->addend = 0; 780 The reloc entry addend has added to it the offset into the 796 cache_ptr->addend = - obj_textsec (abfd)->vma; 801 cache_ptr->addend = - obj_datasec (abfd)->vma; 806 cache_ptr->addend = - obj_bsssec (abfd)->vma; 811 cache_ptr->addend [all...] |
/freebsd-10.0-release/sys/amd64/amd64/ |
H A D | elf_machdep.c | 142 /* Process one elf relocation with addend. */ 150 Elf_Addr addend; local 165 addend = *(Elf32_Addr *)where; 168 addend = *where; 175 addend = rela->r_addend; 190 val = addr + addend; 200 val32 = (Elf32_Addr)(addr + addend - (Elf_Addr)where); 209 val32 = (Elf32_Addr)(addr + addend); 227 case R_X86_64_JMP_SLOT: /* XXX need addend + offset */ 236 addr = relocbase + addend; [all...] |
/freebsd-10.0-release/sys/ia64/ia64/ |
H A D | elf_machdep.c | 177 /* Process one elf relocation with addend. */ 183 Elf_Addr addend, addr; local 198 addend = *where; 201 addend = 0; 210 addend = rela->r_addend; 218 *where = elf_relocaddr(lf, relocbase + addend); 229 *where = addr + addend; 232 if (addend != 0) { 233 printf("%s: addend ignored for OPD relocation\n", 247 where[0] = *((Elf_Addr*)addr) + addend; [all...] |
/freebsd-10.0-release/sys/arm/arm/ |
H A D | elf_machdep.c | 124 /* Process one elf relocation with addend. */ 131 Elf_Addr addend; local 140 addend = *where; 147 addend = rela->r_addend; 157 addr = elf_relocaddr(lf, relocbase + addend);
|
/freebsd-10.0-release/contrib/binutils/gas/config/ |
H A D | tc-mep.c | 92 has only 16 bits of space to store an addend. This means that in 1284 int addend, rn, bit = 0; 1289 addend = target_address_for (fragP) - (fragP->fr_address + where); 1329 fragP->fr_opcode[0^e] = 0xb0 | ((addend >> 8) & 0x0f); 1330 fragP->fr_opcode[1^e] = 0x01 | (addend & 0xfe); 1336 fragP->fr_opcode[0^e] = 0xd8 | ((addend >> 5) & 0x07); 1337 fragP->fr_opcode[1^e] = 0x09 | ((addend << 3) & 0xf0); 1338 fragP->fr_opcode[2^e] = 0x00 | ((addend >>16) & 0xff); 1339 fragP->fr_opcode[3^e] = 0x00 | ((addend >> 8) & 0xff); 1344 fragP->fr_opcode[0^e] = 0xb0 | ((addend >> 1281 int addend, rn, bit = 0; local [all...] |
/freebsd-10.0-release/sys/i386/i386/ |
H A D | elf_machdep.c | 143 /* Process one elf relocation with addend. */ 150 Elf_Addr addend; local 159 addend = *where; 166 addend = rela->r_addend; 176 addr = elf_relocaddr(lf, relocbase + addend); 192 addr += addend; 201 addr += addend - (Elf_Addr)where;
|
/freebsd-10.0-release/sys/boot/ficl/ |
H A D | math64.c | 497 DPUNS addend; local 499 addend.lo = y; 500 addend.hi = 0; /* No sign extension--arguments are unsigned */ 506 result = m64Add(result, addend); 509 addend = m64ASL(addend);
|
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldImpl.h | 88 /// Addend - the relocation addend encoded in the instruction itself. Also 98 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) argument 99 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 102 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, argument 104 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
|
/freebsd-10.0-release/libexec/rtld-elf/arm/ |
H A D | reloc.c | 157 Elf32_Sword addend; local 160 * Extract addend and sign-extend if needed. 162 addend = *where; 163 if (addend & 0x00800000) 164 addend |= 0xff000000; 171 - (Elf_Addr)where + (addend << 2);
|