Home
last modified time | relevance | path

Searched refs:src_mask (Results 1 – 25 of 42) sorted by relevance

12

/toolchain/binutils/binutils-2.25/bfd/
Delf32-score.c1859 addend = contents & howto->src_mask; in score_elf_add_to_rel()
1860 if (addend & ((howto->src_mask + 1) >> 1)) in score_elf_add_to_rel()
1865 mask &= ~howto->src_mask; in score_elf_add_to_rel()
1873 (((contents & howto->src_mask) & 0x3ff0000) >> 6) | ((contents & howto->src_mask) & 0x3ff); in score_elf_add_to_rel()
1877 src_mask) | (((offset << 6) & howto->src_mask) & 0x3ff0000) | (offset & 0x3ff); in score_elf_add_to_rel()
1898 (((contents & howto->src_mask) >> 1) & 0x1ff8000) | ((contents & howto->src_mask) & 0x7fff); in score_elf_add_to_rel()
1902 src_mask) | (((offset << 1) & howto->src_mask) & 0x3ff0000) | (offset & 0x7fff); in score_elf_add_to_rel()
1909 offset = contents & howto->src_mask; in score_elf_add_to_rel()
1911 contents = (contents & ~howto->src_mask) | (offset & howto->src_mask); in score_elf_add_to_rel()
1918 offset = (contents & howto->src_mask) + ((increment >> 1) & 0x1ff); in score_elf_add_to_rel()
[all …]
Dcpu-ns32k.c501 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask)) in do_ns32k_reloc()
633 add = x & howto->src_mask; in _bfd_do_ns32k_reloc_contents()
644 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0) in _bfd_do_ns32k_reloc_contents()
645 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1; in _bfd_do_ns32k_reloc_contents()
718 | (((x & howto->src_mask) + relocation) & howto->dst_mask)); in _bfd_do_ns32k_reloc_contents()
Delf32-score7.c1726 addend = contents & howto->src_mask; in score_elf_add_to_rel()
1727 if (addend & ((howto->src_mask + 1) >> 1)) in score_elf_add_to_rel()
1732 mask &= ~howto->src_mask; in score_elf_add_to_rel()
1740 (((contents & howto->src_mask) & 0x3ff0000) >> 6) | ((contents & howto->src_mask) & 0x3ff); in score_elf_add_to_rel()
1744 src_mask) | (((offset << 6) & howto->src_mask) & 0x3ff0000) | (offset & 0x3ff); in score_elf_add_to_rel()
1765 (((contents & howto->src_mask) >> 1) & 0x1ff8000) | ((contents & howto->src_mask) & 0x7fff); in score_elf_add_to_rel()
1769 src_mask) | (((offset << 1) & howto->src_mask) & 0x3ff0000) | (offset & 0x7fff); in score_elf_add_to_rel()
1775 offset = contents & howto->src_mask; in score_elf_add_to_rel()
1777 contents = (contents & ~howto->src_mask) | (offset & howto->src_mask); in score_elf_add_to_rel()
1784 offset = (contents & howto->src_mask) + ((increment >> 1) & 0xff); in score_elf_add_to_rel()
[all …]
Dreloc.c869 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask)) in bfd_perform_relocation()
1248 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask)) in bfd_install_relocation()
1431 b = (x & howto->src_mask & addrmask) >> bitpos; in _bfd_relocate_contents()
1459 ss = ((~howto->src_mask) >> 1) & howto->src_mask; in _bfd_relocate_contents()
1513 | (((x & howto->src_mask) + relocation) & howto->dst_mask)); in _bfd_relocate_contents()
Dnlm32-i386.c159 || rel->howto->src_mask != 0xffffffff in nlm_i386_write_import()
283 && rel->howto->src_mask == 0xffffffff in nlm_i386_mangle_relocs()
307 && rel->howto->src_mask == 0xffffffff in nlm_i386_mangle_relocs()
Dnlm32-ppc.c675 || (rel->howto->src_mask != 0xffffffff && rel->addend != 0) in nlm_powerpc_write_import()
785 && (howto->src_mask == rel->howto->src_mask in nlm_powerpc_write_reloc()
786 || (rel->howto->src_mask == 0 in nlm_powerpc_write_reloc()
Daout-tic30.c448 add = x & howto->src_mask; in tic30_aout_relocate_contents()
450 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0) in tic30_aout_relocate_contents()
451 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1; in tic30_aout_relocate_contents()
500 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask)); in tic30_aout_relocate_contents()
Dnlm32-sparc.c154 && tmp->src_mask == rel->howto->src_mask in nlm_sparc_write_reloc()
Dcoff-rs6000.c2882 howto->src_mask &= ~3; in xcoff_reloc_type_ba()
2883 howto->dst_mask = howto->src_mask; in xcoff_reloc_type_ba()
2961 howto->src_mask &= ~3; in xcoff_reloc_type_br()
2962 howto->dst_mask = howto->src_mask; in xcoff_reloc_type_br()
3009 howto->src_mask &= ~3; in xcoff_reloc_type_crel()
3010 howto->dst_mask = howto->src_mask; in xcoff_reloc_type_crel()
3046 b = val & howto->src_mask; in xcoff_complain_overflow_bitfield_func()
3121 b = val & howto->src_mask; in xcoff_complain_overflow_signed_func()
3139 signmask = ((~ howto->src_mask) >> 1) & howto->src_mask; in xcoff_complain_overflow_signed_func()
3182 b = val & howto->src_mask; in xcoff_complain_overflow_unsigned_func()
[all …]
Dcoff-arm.c110 | (((x & howto->src_mask) + diff) & howto->dst_mask)) in coff_arm_reloc()
1607 bfd_vma src_mask = 0x007FFFFE; in coff_arm_relocate_section() local
1656 if ((add & (((~ src_mask) >> 1) & src_mask)) != 0) in coff_arm_relocate_section()
1657 signed_add -= (((~ src_mask) >> 1) & src_mask) << 1; in coff_arm_relocate_section()
Dcoff-i860.c91 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) in coff_i860_reloc()
Delfxx-aarch64.c173 if (howto->src_mask != 0xffffffff) in _bfd_aarch64_elf_put_addend()
Dcoff-m68k.c300 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) in m68kcoff_common_addend_special_fn()
Dcoff-i386.c140 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) in coff_i386_reloc()
Dcoff-x86_64.c139 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) in coff_amd64_reloc()
Dcoff64-rs6000.c1134 howto->src_mask &= ~3; in xcoff64_reloc_type_br()
1135 howto->dst_mask = howto->src_mask; in xcoff64_reloc_type_br()
1219 howto.src_mask = howto.dst_mask = N_ONES (howto.bitsize); in xcoff64_ppc_relocate_section()
1351 | (((value_to_relocate & howto.src_mask) in xcoff64_ppc_relocate_section()
Dpe-mips.c96 …x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_… in coff_mips_reloc()
Delf32-arm.c8263 addend = bfd_get_32 (input_bfd, hit_data) & howto->src_mask; in elf32_arm_final_link_relocate()
8265 if (addend & ((howto->src_mask + 1) >> 1)) in elf32_arm_final_link_relocate()
8268 signed_addend &= ~ howto->src_mask; in elf32_arm_final_link_relocate()
8775 addend = bfd_get_16 (input_bfd, hit_data) & howto->src_mask; in elf32_arm_final_link_relocate()
9236 addend = bfd_get_16 (input_bfd, hit_data) & howto->src_mask; in elf32_arm_final_link_relocate()
9237 if (addend & ((howto->src_mask + 1) >> 1)) in elf32_arm_final_link_relocate()
9240 signed_addend &= ~ howto->src_mask; in elf32_arm_final_link_relocate()
10451 addend = contents & howto->src_mask; in arm_add_to_rel()
10452 if (addend & ((howto->src_mask + 1) >> 1)) in arm_add_to_rel()
10457 mask &= ~ howto->src_mask; in arm_add_to_rel()
[all …]
Dsyms.c1085 val &= r->howto->src_mask; in _bfd_stab_section_find_nearest_line()
Delf32-m32r.c120 x = (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask); in m32r_elf_do_10_pcrel_reloc()
221 (((x & reloc_entry->howto->src_mask) + relocation) & \ in m32r_elf_generic_reloc()
Delfn32-mips.c3064 if (reloc_entry->howto->src_mask == 0) in gprel32_with_gp()
Delf64-mmix.c1136 (in1 & howto->src_mask) in mmix_elf_perform_relocation()
Delf32-nds32.c2431 | (((x & howto->src_mask) + relocation) & howto->dst_mask); in nds32_elf_do_9_pcrel_reloc()
2689 (((x & reloc_entry->howto->src_mask) + relocation) & \ in nds32_elf_generic_reloc()
4216 b = (x & howto->src_mask & addrmask) >> bitpos; in nds32_relocate_contents()
4243 ss = ((~howto->src_mask) >> 1) & howto->src_mask; in nds32_relocate_contents()
4304 | (((x & howto->src_mask) + relocation) & howto->dst_mask)); in nds32_relocate_contents()
DChangeLog-02035181 * reloc.c (struct reloc_howto_struct): Revise src_mask and
7097 * elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries.
7141 * coff-rs6000.c (xcoff_howto_table): Fix src_mask entries. Make all
7143 (xcoff_reloc_type_ba): Correct src_mask and dst_mask adjustment.
7146 (xcoff_ppc_relocate_section): Set up src_mask and dst_mask correctly.
7147 * coff64-rs6000.c (xcoff64_reloc_type_br): Correct src_mask and
7149 (xcoff64_ppc_relocate_section): Set up src_mask and dst_mask correctly.
7150 (xcoff64_howto_table): Fix src_mask entries. Make all relocs with
7581 missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill
10485 Zero src_mask.
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Dnlmconv.c1483 && rel->howto->src_mask == 0xffffffff in i386_mangle_relocs()
1511 && rel->howto->src_mask == 0xffffffff in i386_mangle_relocs()
1933 | (((val & rel->howto->src_mask) in powerpc_mangle_relocs()
1982 | (((val & rel->howto->src_mask) in powerpc_mangle_relocs()
1997 | (((val & rel->howto->src_mask) in powerpc_mangle_relocs()

12