/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | cpu-ns32k.c | 170 bfd_vma relocation; local 202 relocation = 0; 251 relocation -= 532 if (relocation) 540 if (relocation) 550 relocation = -relocation; 562 if (relocation) 600 relocation = -relocation; 633 check = relocation; 802 bfd_vma relocation; local [all …]
|
H A D | elf32-d30v.c | 41 bfd_signed_vma relocation; in bfd_elf_d30v_reloc() local 79 relocation = 0; in bfd_elf_d30v_reloc() 112 relocation += num; in bfd_elf_d30v_reloc() 119 if (relocation > MAX32 || relocation < MIN32) in bfd_elf_d30v_reloc() 121 relocation = (relocation + tmp_addr) & 0xffffffff; in bfd_elf_d30v_reloc() 150 bfd_vma relocation; in bfd_elf_d30v_reloc_21() local 187 relocation = 0; in bfd_elf_d30v_reloc_21() 225 relocation += num; in bfd_elf_d30v_reloc_21() 229 relocation += 4; in bfd_elf_d30v_reloc_21() 231 if ((int) relocation < 0) in bfd_elf_d30v_reloc_21() [all …]
|
H A D | reloc.c | 583 bfd_vma relocation; in bfd_perform_relocation() local 629 relocation = 0; in bfd_perform_relocation() 680 relocation -= in bfd_perform_relocation() 906 relocation = -relocation; in bfd_perform_relocation() 915 relocation = -relocation; in bfd_perform_relocation() 973 bfd_vma relocation; in bfd_install_relocation() local 1016 relocation = 0; in bfd_install_relocation() 1066 relocation -= in bfd_install_relocation() 1287 relocation = -relocation; in bfd_install_relocation() 1342 bfd_vma relocation; in _bfd_final_link_relocate() local [all …]
|
H A D | elf32-i860.c | 40 bfd_vma relocation; in i860_howto_pc26_reloc() local 58 relocation = 0; in i860_howto_pc26_reloc() 103 bfd_vma relocation; in i860_howto_pc16_reloc() local 121 relocation = 0; in i860_howto_pc16_reloc() 147 relocation = (((relocation & 0xf800) << 5) | (relocation & 0x7ff)) in i860_howto_pc16_reloc() 167 bfd_vma relocation; in i860_howto_highadj_reloc() local 185 relocation = 0; in i860_howto_highadj_reloc() 200 relocation = ((relocation >> 16) & 0xffff); in i860_howto_highadj_reloc() 220 bfd_vma relocation; in i860_howto_splitn_reloc() local 238 relocation = 0; in i860_howto_splitn_reloc() [all …]
|
H A D | elf32-fr30.c | 262 bfd_vma relocation; local 279 relocation = 289 x = (x & 0xff0f0000) | (relocation & 0x0000ffff) | ((relocation & 0x000f0000) << 4); 308 bfd_vma relocation; local 324 relocation = 395 relocation) in fr30_final_link_relocate() argument 401 bfd_vma relocation; 411 relocation += rel->r_addend; 417 x = (x & 0xff0f0000) | (relocation & 0x0000ffff) | ((relocation & 0x000f0000) << 4); 533 bfd_vma relocation; local [all …]
|
H A D | mipsbsd.c | 208 bfd_vma relocation, pc; local 222 relocation = 0; 224 relocation = symbol->value; 228 relocation += reloc_entry->addend; 259 bfd_vma relocation; local 273 relocation = 0; 275 relocation = symbol->value; 279 relocation += reloc_entry->addend; 281 if (relocation & 0x8000) 342 arelent *tblptr = section->relocation; [all …]
|
H A D | coff-arm.c | 571 bfd_vma relocation; in aoutarm_fix_pcrel_26() local 588 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ in aoutarm_fix_pcrel_26() 595 relocation -= addr; in aoutarm_fix_pcrel_26() 597 if (relocation & 3) in aoutarm_fix_pcrel_26() 693 relocation = (relocation ^ signbit) - signbit; /* Sign extend. */ in coff_thumb_pcrel_common() 700 relocation -= addr; in coff_thumb_pcrel_common() 702 if (relocation & 1) in coff_thumb_pcrel_common() 1636 relocation += 2; in coff_arm_relocate_section() 1637 relocation = (((relocation & 0xffe) >> 1) | ((relocation << 4) & 0x07ff0000)); in coff_arm_relocate_section() 1642 relocation += 2; in coff_arm_relocate_section() [all …]
|
H A D | coff-m88k.c | 86 long relocation = 0; local 93 relocation = 0; 95 relocation = symbol->value; 105 relocation += output_base + symbol->section->output_offset; 108 relocation += ((reloc_entry->addend << howto->bitsize) + x); 112 relocation >>= (bfd_vma) howto->rightshift; 116 relocation <<= (bfd_vma) howto->bitpos; 118 if (relocation) 119 bfd_put_16 (abfd, (bfd_vma) relocation,
|
H A D | coff-mips.c | 475 bfd_vma relocation; local 494 relocation = 0; 693 relocation = 0; 780 relocation) in mips_relocate_hi() argument 805 val += relocation; 1126 relocation = 0; 1164 relocation); 1200 relocation = 0; 1224 relocation, 1231 relocation); [all …]
|
H A D | aout-tic30.c | 158 bfd_vma relocation = 1; in tic30_aout_fix_pcrel_16() local 165 relocation -= 3; in tic30_aout_fix_pcrel_16() 167 relocation -= 1; in tic30_aout_fix_pcrel_16() 188 bfd_vma relocation; in tic30_aout_fix_16() local 213 bfd_vma relocation; in tic30_aout_fix_32() local 381 bfd_vma relocation, in tic30_aout_relocate_contents() argument 388 relocation = -relocation; in tic30_aout_relocate_contents() 421 check = relocation; in tic30_aout_relocate_contents() 516 bfd_vma relocation; in tic30_aout_final_link_relocate() local 521 relocation = value + addend; in tic30_aout_final_link_relocate() [all …]
|
H A D | riscix.c | 202 bfd_vma relocation; in riscix_fix_pcrel_26() local 218 relocation = (target & 0x00ffffff) << 2; in riscix_fix_pcrel_26() 219 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ in riscix_fix_pcrel_26() 220 relocation += symbol->value; in riscix_fix_pcrel_26() 223 relocation += reloc_entry->addend; in riscix_fix_pcrel_26() 226 relocation -= addr; in riscix_fix_pcrel_26() 227 if (relocation & 3) in riscix_fix_pcrel_26() 231 if (relocation & 0x02000000) in riscix_fix_pcrel_26() 240 target |= (relocation >> 2) & 0x00ffffff; in riscix_fix_pcrel_26() 420 arelent *tblptr = section->relocation; in MY() [all …]
|
H A D | aout-arm.c | 243 bfd_vma relocation; in MY() local 259 relocation = (target & 0x00ffffff) << 2; in MY() 260 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ in MY() 261 relocation += symbol->value; in MY() 263 relocation += symbol->section->output_offset; in MY() 264 relocation += reloc_entry->addend; in MY() 266 relocation -= input_section->output_offset; in MY() 267 relocation -= addr; in MY() 268 if (relocation & 3) in MY() 272 if (relocation & 0x02000000) in MY() [all …]
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | cpu-ns32k.c | 170 bfd_vma relocation; local 202 relocation = 0; 251 relocation -= 534 if (relocation) 542 if (relocation) 552 relocation = -relocation; 564 if (relocation) 602 relocation = -relocation; 635 check = relocation; 804 bfd_vma relocation; local [all …]
|
H A D | reloc.c | 499 a = relocation; in bfd_check_overflow() 588 bfd_vma relocation; in bfd_perform_relocation() local 635 relocation = 0; in bfd_perform_relocation() 686 relocation -= in bfd_perform_relocation() 914 relocation = -relocation; in bfd_perform_relocation() 923 relocation = -relocation; in bfd_perform_relocation() 981 bfd_vma relocation; in bfd_install_relocation() local 1025 relocation = 0; in bfd_install_relocation() 1075 relocation -= in bfd_install_relocation() 1295 relocation = -relocation; in bfd_install_relocation() [all …]
|
H A D | elf32-i860.c | 40 bfd_vma relocation; in i860_howto_pc26_reloc() local 58 relocation = 0; in i860_howto_pc26_reloc() 103 bfd_vma relocation; in i860_howto_pc16_reloc() local 121 relocation = 0; in i860_howto_pc16_reloc() 147 relocation = (((relocation & 0xf800) << 5) | (relocation & 0x7ff)) in i860_howto_pc16_reloc() 167 bfd_vma relocation; in i860_howto_highadj_reloc() local 185 relocation = 0; in i860_howto_highadj_reloc() 200 relocation = ((relocation >> 16) & 0xffff); in i860_howto_highadj_reloc() 220 bfd_vma relocation; in i860_howto_splitn_reloc() local 238 relocation = 0; in i860_howto_splitn_reloc() [all …]
|
H A D | elf32-d30v.c | 263 bfd_signed_vma relocation; local 301 relocation = 0; 334 relocation += num; 341 if (relocation > MAX32 || relocation < MIN32) 343 relocation = (relocation + tmp_addr) & 0xffffffff; 373 bfd_vma relocation; local 410 relocation = 0; 448 relocation += num; 452 relocation += 4; 455 if ((int)relocation < 0 ) [all …]
|
H A D | cpu-h8500.c | 44 long relocation = 0; 48 HOWTO_PREPARE(relocation, symbol_in); 50 x = (x + relocation + reloc_entry->addend); 66 long relocation = 0; 70 HOWTO_PREPARE(relocation, symbol_in); 72 x = (x + relocation + reloc_entry->addend); 88 long relocation = 0; 93 HOWTO_PREPARE(relocation, symbol_in); 95 x = (x + relocation + reloc_entry->addend); 111 long relocation = 0; [all …]
|
H A D | elf32-fr30.c | 262 bfd_vma relocation; local 279 relocation = 289 x = (x & 0xff0f0000) | (relocation & 0x0000ffff) | ((relocation & 0x000f0000) << 4); 308 bfd_vma relocation; local 324 relocation = 395 relocation) in fr30_final_link_relocate() argument 401 bfd_vma relocation; 411 relocation += rel->r_addend; 417 x = (x & 0xff0f0000) | (relocation & 0x0000ffff) | ((relocation & 0x000f0000) << 4); 533 bfd_vma relocation; local [all …]
|
H A D | mipsbsd.c | 212 bfd_vma relocation, pc; local 226 relocation = 0; 228 relocation = symbol->value; 232 relocation += reloc_entry->addend; 263 bfd_vma relocation; local 277 relocation = 0; 279 relocation = symbol->value; 283 relocation += reloc_entry->addend; 285 if (relocation & 0x8000) 346 arelent *tblptr = section->relocation; [all …]
|
H A D | coff-m88k.c | 86 long relocation = 0; local 93 relocation = 0; 95 relocation = symbol->value; 105 relocation += output_base + symbol->section->output_offset; 108 relocation += ((reloc_entry->addend << howto->bitsize) + x); 112 relocation >>= (bfd_vma) howto->rightshift; 116 relocation <<= (bfd_vma) howto->bitpos; 118 if (relocation) 119 bfd_put_16 (abfd, (bfd_vma) relocation,
|
H A D | coff-arm.c | 631 bfd_vma relocation; local 648 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ 655 relocation -= addr; 657 if (relocation & 3) 756 relocation = (relocation ^ signbit) - signbit; /* Sign extend. */ 763 relocation -= addr; 765 if (relocation & 1) 1721 relocation += 2; 1722 relocation = (((relocation & 0xffe) >> 1) | ((relocation << 4) & 0x07ff0000)); 1727 relocation += 2; [all …]
|
H A D | aout-tic30.c | 244 bfd_vma relocation; local 271 bfd_vma relocation; local 302 bfd_vma relocation = 1; local 309 relocation -= 3; 311 relocation -= 1; 403 bfd_vma relocation; local 408 relocation = value + addend; 413 relocation -= address; 423 bfd_vma relocation; 430 relocation = -relocation; [all …]
|
H A D | elf32-avr.c | 489 contents, rel, relocation) in avr_final_link_relocate() argument 495 bfd_vma relocation; 505 srel = (bfd_signed_vma) relocation; 523 srel = (bfd_signed_vma) relocation; 558 srel = (bfd_signed_vma) relocation + rel->r_addend; 566 srel = (bfd_signed_vma) relocation + rel->r_addend; 575 srel = (bfd_signed_vma) relocation + rel->r_addend; 699 relocation, rel->r_addend); 737 bfd_vma relocation; local 766 h, sec, relocation, [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/ELFRelocs/ |
H A D | Lanai.def | 6 // No relocation 8 // 21-bit symbol relocation 10 // 21-bit symbol relocation with last two bits masked to 0 14 // General 32-bit relocation 16 // Upper 16-bits of a symbolic relocation 18 // Lower 16-bits of a symbolic relocation
|
/openbsd/gnu/llvm/llvm/bindings/python/llvm/tests/ |
H A D | test_object.py | 63 for relocation in section.get_relocations(): 64 assert isinstance(relocation, Relocation) 65 assert isinstance(relocation.address, Integral) 66 assert isinstance(relocation.offset, Integral) 67 assert isinstance(relocation.type_number, Integral) 68 assert isinstance(relocation.type_name, str) 69 assert isinstance(relocation.value_string, str)
|