/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | elf32-avr.c | 585 srel = -srel; 594 srel = -srel; 604 srel = -srel; 616 srel = srel >> 1; 627 srel = srel >> 1; 639 srel = srel >> 1; 649 srel = -srel; 652 srel = srel >> 1; 661 srel = -srel; 664 srel = srel >> 1; [all …]
|
H A D | elf32-msp430.c | 322 bfd_signed_vma srel; local 329 srel += rel->r_addend; 330 srel -= rel->r_offset; 335 if (srel & 1) 339 srel >>= 1; 342 if (srel < -512 || srel > 511) 353 srel += rel->r_addend; 354 srel -= rel->r_offset; 359 if (srel & 1) 368 srel += rel->r_addend; [all …]
|
H A D | elf32-fr30.c | 405 bfd_signed_vma srel; local 429 srel = (bfd_signed_vma) relocation; 430 srel += rel->r_addend; 431 srel -= rel->r_offset; 436 if (srel & 1) 438 if (srel > ((1 << 8) - 1) || (srel < - (1 << 8))) 446 srel = (bfd_signed_vma) relocation; 447 srel += rel->r_addend; 448 srel -= rel->r_offset; 453 if (srel & 1) [all …]
|
H A D | sunos.c | 1606 asection *srel = NULL; local 1769 asection *srel = NULL; local 2504 struct reloc_std_external *srel; local 2512 | (srel->r_index[1] << 8) 2513 | srel->r_index[2]); 2516 | (srel->r_index[1] << 8) 2517 | srel->r_index[0]); 2583 srel->r_address); 2592 srel->r_type[0] = 2606 srel->r_type[0] = [all …]
|
H A D | elfxx-ia64.c | 93 asection *srel; member 2143 asection *srel; local 2167 if (srel == NULL 2179 return srel; 2189 if (rent->srel == srel && rent->type == type) in count_dyn_reloc() 2200 rent->srel = srel; in count_dyn_reloc() 2484 if (!srel) 2487 if (!srel) 3358 asection *srel; 3382 loc = srel->contents; [all …]
|
H A D | elf64-alpha.c | 223 asection *srel; member 3230 rent->srel = sreloc; 3408 if (ri->rtype == rs->rtype && ri->srel == rs->srel) 3947 asection *srel; local 3978 if (!srel) 3989 srel->_cooked_size = srel->_raw_size; 4183 asection *sec, *srel; 4190 BFD_ASSERT (srel != NULL); 4201 loc = srel->contents; 4324 srel = NULL; [all …]
|
H A D | elf64-mmix.c | 1569 bfd_signed_vma srel local 1584 srel -= (input_section->output_section->vma 1589 addr, srel); 1633 if ((srel & 7) != 0 || srel < 32*8 || srel > 255*8) 1639 srel /= 8; 1644 if (srel < 0 || srel > 255) 1671 addr, srel); 1713 if ((srel & 7) != 0 || srel < 32*8 || srel > 255*8) 1717 srel /= 8; 1721 if ((bfd_vma) srel >= first_global) [all …]
|
H A D | elf32-arm.h | 3264 asection *srel; local 3267 BFD_ASSERT (srel != NULL); 3268 srel->_raw_size += sizeof (Elf32_External_Rel); 3507 asection *srel; local 3531 srel = elf_section_data (p->section)->sreloc; 3547 srel = htab->srelgot; 3555 srel->_raw_size += sizeof (Elf32_External_Rel); 3707 asection * srel; local 3791 asection * srel; local 3799 BFD_ASSERT (sgot != NULL && srel != NULL); [all …]
|
H A D | elf32-sh.c | 4138 asection *srel; in sh_elf_adjust_dynamic_symbol() local 4140 srel = htab->srelbss; in sh_elf_adjust_dynamic_symbol() 4470 asection *srel; in sh_elf_size_dynamic_sections() local 4515 srel = htab->srelgot; in sh_elf_size_dynamic_sections() 6970 asection *srel; in sh_elf_finish_dynamic_symbol() local 6984 srel = htab->srelplt; in sh_elf_finish_dynamic_symbol() 7111 asection *srel; in sh_elf_finish_dynamic_symbol() local 7119 srel = htab->srelgot; in sh_elf_finish_dynamic_symbol() 7159 asection *srel; in sh_elf_finish_dynamic_symbol() local 7167 srel = htab->srelgot; in sh_elf_finish_dynamic_symbol() [all …]
|
H A D | elf64-sh64.c | 3519 asection *srel; in sh64_elf64_adjust_dynamic_symbol() local 3521 srel = bfd_get_section_by_name (dynobj, ".rela.bss"); in sh64_elf64_adjust_dynamic_symbol() 3522 BFD_ASSERT (srel != NULL); in sh64_elf64_adjust_dynamic_symbol() 3523 srel->_raw_size += sizeof (Elf64_External_Rela); in sh64_elf64_adjust_dynamic_symbol() 3780 asection *srel; in sh64_elf64_finish_dynamic_symbol() local 3794 srel = bfd_get_section_by_name (dynobj, ".rela.plt"); in sh64_elf64_finish_dynamic_symbol() 3795 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL); in sh64_elf64_finish_dynamic_symbol() 3888 asection *srel; in sh64_elf64_finish_dynamic_symbol() local 3896 srel = bfd_get_section_by_name (dynobj, ".rela.got"); in sh64_elf64_finish_dynamic_symbol() 3897 BFD_ASSERT (sgot != NULL && srel != NULL); in sh64_elf64_finish_dynamic_symbol() [all …]
|
H A D | elf32-i370.c | 564 asection *srel; local 567 srel = bfd_get_section_by_name (dynobj, ".rela.sbss"); 569 srel = bfd_get_section_by_name (dynobj, ".rela.bss"); 570 BFD_ASSERT (srel != NULL); 571 srel->_raw_size += sizeof (Elf32_External_Rela);
|
H A D | elf-m10300.c | 4280 asection * srel; local 4282 srel = bfd_get_section_by_name (dynobj, ".rela.bss"); 4283 BFD_ASSERT (srel != NULL); 4284 srel->_raw_size += sizeof (Elf32_External_Rela); 4544 asection * srel; local 4617 (bfd_byte *) ((Elf32_External_Rela *) srel->contents 4629 asection * srel; local 4636 BFD_ASSERT (sgot != NULL && srel != NULL); 4664 (bfd_byte *) ((Elf32_External_Rela *) srel->contents 4665 + srel->reloc_count)); [all …]
|
H A D | elf64-hppa.c | 514 asection *srel; local 534 srel = bfd_get_section_by_name (dynobj, srel_name); 535 if (srel == NULL) 537 srel = bfd_make_section (dynobj, srel_name); 538 if (srel == NULL 539 || !bfd_set_section_flags (dynobj, srel, 546 || !bfd_set_section_alignment (dynobj, srel, 3)) 550 hppa_info->other_rel_sec = srel;
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elf32-avr.c | 715 srel = -srel; in avr_final_link_relocate() 724 srel = -srel; in avr_final_link_relocate() 734 srel = -srel; in avr_final_link_relocate() 744 srel = -srel; in avr_final_link_relocate() 756 srel = srel >> 1; in avr_final_link_relocate() 767 srel = srel >> 1; in avr_final_link_relocate() 779 srel = srel >> 1; in avr_final_link_relocate() 789 srel = -srel; in avr_final_link_relocate() 792 srel = srel >> 1; in avr_final_link_relocate() 801 srel = -srel; in avr_final_link_relocate() [all …]
|
H A D | elf32-msp430.c | 312 bfd_signed_vma srel; in msp430_final_link_relocate() local 319 srel += rel->r_addend; in msp430_final_link_relocate() 325 if (srel & 1) in msp430_final_link_relocate() 329 srel >>= 1; in msp430_final_link_relocate() 332 if (srel < -512 || srel > 511) in msp430_final_link_relocate() 349 if (srel & 1) in msp430_final_link_relocate() 353 srel >>= 1; in msp430_final_link_relocate() 356 if (srel < -512 || srel > 511) in msp430_final_link_relocate() 364 srel += 1; in msp430_final_link_relocate() 379 if (srel & 1) in msp430_final_link_relocate() [all …]
|
H A D | elf32-fr30.c | 405 bfd_signed_vma srel; local 429 srel = (bfd_signed_vma) relocation; 430 srel += rel->r_addend; 431 srel -= rel->r_offset; 436 if (srel & 1) 438 if (srel > ((1 << 8) - 1) || (srel < - (1 << 8))) 446 srel = (bfd_signed_vma) relocation; 447 srel += rel->r_addend; 448 srel -= rel->r_offset; 453 if (srel & 1) [all …]
|
H A D | sunos.c | 1269 asection *srel = NULL; in sunos_scan_std_relocs() local 1364 srel->size += RELOC_STD_SIZE; in sunos_scan_std_relocs() 1400 srel->size += RELOC_STD_SIZE; in sunos_scan_std_relocs() 1426 asection *srel = NULL; in sunos_scan_ext_relocs() local 1635 srel->size += RELOC_EXT_SIZE; in sunos_scan_ext_relocs() 2443 | srel->r_index[2]); in sunos_check_dynamic_reloc() 2447 | srel->r_index[0]); in sunos_check_dynamic_reloc() 2513 srel->r_address); in sunos_check_dynamic_reloc() 2522 srel->r_type[0] = in sunos_check_dynamic_reloc() 2536 srel->r_type[0] = in sunos_check_dynamic_reloc() [all …]
|
H A D | elf32-m32c.c | 1401 Elf_Internal_Rela *irel, *irelend, *srel; in m32c_elf_relax_section() local 1500 srel = irel; in m32c_elf_relax_section() 1549 srel = irel + (relax_relocs ? 1 : 0); in m32c_elf_relax_section() 1550 symval = OFFSET_FOR_RELOC (srel); in m32c_elf_relax_section() 1559 + srel->r_offset; in m32c_elf_relax_section() 1560 pcrel = symval - pc + srel->r_addend; in m32c_elf_relax_section() 1648 srel ++; in m32c_elf_relax_section() 1675 symval = OFFSET_FOR_RELOC (srel); in m32c_elf_relax_section() 1789 srel ++; in m32c_elf_relax_section() 1811 symval = OFFSET_FOR_RELOC (srel); in m32c_elf_relax_section() [all …]
|
H A D | elfxx-ia64.c | 100 asection *srel; member 2607 asection *srel; local 2636 if (srel == NULL 2642 return srel; 2652 if (rent->srel == srel && rent->type == type) in count_dyn_reloc() 2663 rent->srel = srel; in count_dyn_reloc() 3116 if (!srel) 3119 if (!srel) 4000 asection *srel; 4024 loc = srel->contents; [all …]
|
H A D | elf64-mmix.c | 1565 bfd_signed_vma srel local 1580 srel -= (input_section->output_section->vma 1585 addr, srel); 1629 if ((srel & 7) != 0 || srel < 32*8 || srel > 255*8) 1635 srel /= 8; 1640 if (srel < 0 || srel > 255) 1667 addr, srel); 1709 if ((srel & 7) != 0 || srel < 32*8 || srel > 255*8) 1713 srel /= 8; 1717 if ((bfd_vma) srel >= first_global) [all …]
|
H A D | elf64-alpha.c | 165 asection *srel; member 1951 rent->srel = sreloc; in elf64_alpha_check_relocs() 2097 if (ri->rtype == rs->rtype && ri->srel == rs->srel) in elf64_alpha_merge_ind_symbols() 2601 relent->srel->size += in elf64_alpha_calc_dynrel_sizes() 2665 asection *srel; in elf64_alpha_size_rela_got_section() local 2696 if (!srel) in elf64_alpha_size_rela_got_section() 3864 BFD_ASSERT (srel != NULL); in elf64_alpha_emit_dynrel() 3875 loc = srel->contents; in elf64_alpha_emit_dynrel() 3878 BFD_ASSERT (sizeof (Elf64_External_Rela) * srel->reloc_count <= srel->size); in elf64_alpha_emit_dynrel() 3989 srel = NULL; in elf64_alpha_relocate_section() [all …]
|
H A D | elf32-sh.c | 3946 asection *srel; in sh_elf_adjust_dynamic_symbol() local 3948 srel = htab->srelbss; in sh_elf_adjust_dynamic_symbol() 4290 asection *srel; in sh_elf_size_dynamic_sections() local 4335 srel = htab->srelgot; in sh_elf_size_dynamic_sections() 6781 asection *srel; in sh_elf_finish_dynamic_symbol() local 6795 srel = htab->srelplt; in sh_elf_finish_dynamic_symbol() 6922 asection *srel; in sh_elf_finish_dynamic_symbol() local 6930 srel = htab->srelgot; in sh_elf_finish_dynamic_symbol() 6970 asection *srel; in sh_elf_finish_dynamic_symbol() local 6978 srel = htab->srelgot; in sh_elf_finish_dynamic_symbol() [all …]
|
H A D | elf64-sh64.c | 3468 asection *srel; in sh64_elf64_adjust_dynamic_symbol() local 3470 srel = bfd_get_section_by_name (dynobj, ".rela.bss"); in sh64_elf64_adjust_dynamic_symbol() 3471 BFD_ASSERT (srel != NULL); in sh64_elf64_adjust_dynamic_symbol() 3472 srel->size += sizeof (Elf64_External_Rela); in sh64_elf64_adjust_dynamic_symbol() 3716 asection *srel; in sh64_elf64_finish_dynamic_symbol() local 3730 srel = bfd_get_section_by_name (dynobj, ".rela.plt"); in sh64_elf64_finish_dynamic_symbol() 3731 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL); in sh64_elf64_finish_dynamic_symbol() 3824 asection *srel; in sh64_elf64_finish_dynamic_symbol() local 3832 srel = bfd_get_section_by_name (dynobj, ".rela.got"); in sh64_elf64_finish_dynamic_symbol() 3833 BFD_ASSERT (sgot != NULL && srel != NULL); in sh64_elf64_finish_dynamic_symbol() [all …]
|
H A D | elf32-i370.c | 522 asection *srel; in i370_elf_adjust_dynamic_symbol() local 525 srel = bfd_get_section_by_name (dynobj, ".rela.sbss"); in i370_elf_adjust_dynamic_symbol() 527 srel = bfd_get_section_by_name (dynobj, ".rela.bss"); in i370_elf_adjust_dynamic_symbol() 528 BFD_ASSERT (srel != NULL); in i370_elf_adjust_dynamic_symbol() 529 srel->size += sizeof (Elf32_External_Rela); in i370_elf_adjust_dynamic_symbol()
|
H A D | elf-m10300.c | 4137 asection * srel; local 4139 srel = bfd_get_section_by_name (dynobj, ".rela.bss"); 4140 BFD_ASSERT (srel != NULL); 4141 srel->size += sizeof (Elf32_External_Rela); 4355 asection * srel; local 4428 (bfd_byte *) ((Elf32_External_Rela *) srel->contents 4440 asection * srel; local 4447 BFD_ASSERT (sgot != NULL && srel != NULL); 4475 (bfd_byte *) ((Elf32_External_Rela *) srel->contents 4476 + srel->reloc_count)); [all …]
|