Home
last modified time | relevance | path

Searched refs:reloc_entry (Results 1 – 25 of 134) sorted by relevance

123456

/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoff-maxq.c78 arelent * reloc_entry, in coff_maxq20_reloc() argument
97 if (data && reloc_entry) in coff_maxq20_reloc()
99 howto = reloc_entry->howto; in coff_maxq20_reloc()
115 addend = reloc_entry->addend; in coff_maxq20_reloc()
149 addend = (reloc_entry->addend - reloc_entry->addend); in coff_maxq20_reloc()
152 addend = reloc_entry->addend; in coff_maxq20_reloc()
167 && (reloc_entry->addend != 0)) in coff_maxq20_reloc()
176 addend = reloc_entry->addend; in coff_maxq20_reloc()
219 addend = (reloc_entry->addend - reloc_entry->addend); in coff_maxq20_reloc()
254 addend = (reloc_entry->addend - reloc_entry->addend); in coff_maxq20_reloc()
[all …]
H A Delf32-or32.c53 arelent *reloc_entry, in or32_elf_32_reloc() argument
63 bfd_size_type addr = reloc_entry->address; in or32_elf_32_reloc()
81 arelent *reloc_entry, in or32_elf_16_reloc() argument
91 bfd_size_type addr = reloc_entry->address; in or32_elf_16_reloc()
109 arelent *reloc_entry, in or32_elf_8_reloc() argument
119 bfd_size_type addr = reloc_entry->address; in or32_elf_8_reloc()
157 arelent *reloc_entry, in or32_elf_consth_reloc() argument
181 relocation += reloc_entry->addend; in or32_elf_consth_reloc()
207 arelent *reloc_entry, in or32_elf_const_reloc() argument
249 bfd_size_type addr = reloc_entry->address; in or32_elf_const_reloc()
[all …]
H A Delf32-i860.c32 arelent *reloc_entry, in i860_howto_pc26_reloc() argument
46 || reloc_entry->addend == 0)) in i860_howto_pc26_reloc()
64 relocation += reloc_entry->addend; in i860_howto_pc26_reloc()
72 + reloc_entry->address in i860_howto_pc26_reloc()
109 || reloc_entry->addend == 0)) in i860_howto_pc16_reloc()
127 relocation += reloc_entry->addend; in i860_howto_pc16_reloc()
135 + reloc_entry->address in i860_howto_pc16_reloc()
173 || reloc_entry->addend == 0)) in i860_howto_highadj_reloc()
191 relocation += reloc_entry->addend; in i860_howto_highadj_reloc()
226 || reloc_entry->addend == 0)) in i860_howto_splitn_reloc()
[all …]
H A Dreloc.c577 arelent *reloc_entry, in bfd_perform_relocation() argument
645 relocation += reloc_entry->addend; in bfd_perform_relocation()
684 relocation -= reloc_entry->address; in bfd_perform_relocation()
694 reloc_entry->addend = relocation; in bfd_perform_relocation()
783 reloc_entry->addend = 0; in bfd_perform_relocation()
793 reloc_entry->addend = 0; in bfd_perform_relocation()
967 arelent *reloc_entry, in bfd_install_relocation() argument
1031 relocation += reloc_entry->addend; in bfd_install_relocation()
1070 relocation -= reloc_entry->address; in bfd_install_relocation()
1168 reloc_entry->addend = 0; in bfd_install_relocation()
[all …]
H A Dcpu-ns32k.c160 arelent *reloc_entry;
172 bfd_size_type addr = reloc_entry->address;
217 relocation += reloc_entry->addend;
255 relocation -= reloc_entry->address;
265 reloc_entry->addend = relocation;
356 relocation -= reloc_entry->addend;
357 reloc_entry->addend = 0;
361 reloc_entry->addend = relocation;
367 reloc_entry->addend = 0;
762 arelent *reloc_entry;
[all …]
H A Delf32-d30v.c34 arelent *reloc_entry, in bfd_elf_d30v_reloc() argument
46 bfd_size_type addr = reloc_entry->address; in bfd_elf_d30v_reloc()
49 reloc_howto_type *howto = reloc_entry->howto; in bfd_elf_d30v_reloc()
55 reloc_entry->address += input_section->output_offset; in bfd_elf_d30v_reloc()
90 relocation += reloc_entry->addend; in bfd_elf_d30v_reloc()
98 + reloc_entry->address; in bfd_elf_d30v_reloc()
143 arelent *reloc_entry, in bfd_elf_d30v_reloc_21() argument
154 bfd_size_type addr = reloc_entry->address; in bfd_elf_d30v_reloc_21()
157 reloc_howto_type *howto = reloc_entry->howto; in bfd_elf_d30v_reloc_21()
198 relocation += reloc_entry->addend; in bfd_elf_d30v_reloc_21()
[all …]
H A Delf32-dlx.c53 arelent *reloc_entry, in _bfd_dlx_elf_hi16_reloc() argument
67 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, in _bfd_dlx_elf_hi16_reloc()
74 && reloc_entry->addend == 0) in _bfd_dlx_elf_hi16_reloc()
76 reloc_entry->address += input_section->output_offset; in _bfd_dlx_elf_hi16_reloc()
89 relocation += reloc_entry->addend; in _bfd_dlx_elf_hi16_reloc()
96 (bfd_byte *)data + reloc_entry->address); in _bfd_dlx_elf_hi16_reloc()
113 arelent *reloc_entry, in elf32_dlx_relocate16() argument
129 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, in elf32_dlx_relocate16()
169 (bfd_byte *) data + reloc_entry->address); in elf32_dlx_relocate16()
176 arelent *reloc_entry, in elf32_dlx_relocate26() argument
[all …]
H A Delf32-i960.c45 arelent *reloc_entry, in elf32_i960_relocate() argument
57 && reloc_entry->howto->pc_relative in elf32_i960_relocate()
58 && !reloc_entry->howto->pcrel_offset) in elf32_i960_relocate()
59 reloc_entry->addend -= symbol->value; in elf32_i960_relocate()
64 reloc_entry->addend -= symbol->section->output_section->vma; in elf32_i960_relocate()
71 && (! reloc_entry->howto->partial_inplace in elf32_i960_relocate()
72 || reloc_entry->addend == 0)) in elf32_i960_relocate()
74 reloc_entry->address += input_section->output_offset; in elf32_i960_relocate()
H A Delf32-pj.c33 arelent *reloc_entry, in pj_elf_reloc() argument
43 bfd_vma addr = reloc_entry->address; in pj_elf_reloc()
46 r_type = (enum elf_pj_reloc_type) reloc_entry->howto->type; in pj_elf_reloc()
51 reloc_entry->address += input_section->output_offset; in pj_elf_reloc()
70 insn += sym_value + reloc_entry->addend; in pj_elf_reloc()
79 insn += sym_value + reloc_entry->addend; in pj_elf_reloc()
85 insn += sym_value + reloc_entry->addend in pj_elf_reloc()
92 insn += sym_value + reloc_entry->addend; in pj_elf_reloc()
98 insn += (sym_value + reloc_entry->addend) >> 16; in pj_elf_reloc()
H A Dcoff-m88k.c56 m88k_special_reloc (abfd, reloc_entry, symbol, data, in m88k_special_reloc() argument
59 arelent *reloc_entry;
66 reloc_howto_type *howto = reloc_entry->howto;
78 reloc_entry->address += input_section->output_offset;
83 bfd_vma addr = reloc_entry->address;
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
110 reloc_entry->addend = 0;
137 reloc_entry->address += input_section->output_offset;
H A Delf32-mips.c968 if (reloc_entry->howto->type == R_MIPS_LITERAL in _bfd_mips_elf32_gprel16_reloc()
1055 val = reloc_entry->addend; in gprel32_with_gp()
1057 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp()
1067 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp()
1070 reloc_entry->addend = val; in gprel32_with_gp()
1073 reloc_entry->address += input_section->output_offset; in gprel32_with_gp()
1083 mips32_64bit_reloc (bfd *abfd, arelent *reloc_entry, in mips32_64bit_reloc() argument
1094 reloc32 = *reloc_entry; in mips32_64bit_reloc()
1107 addr = reloc_entry->address; in mips32_64bit_reloc()
1125 && reloc_entry->addend == 0) in mips16_jump_reloc()
[all …]
H A Delf32-fr30.c252 fr30_elf_i20_reloc (abfd, reloc_entry, symbol, data, in fr30_elf_i20_reloc() argument
255 arelent *reloc_entry;
268 && (! reloc_entry->howto->partial_inplace
269 || reloc_entry->addend == 0))
271 reloc_entry->address += input_section->output_offset;
283 + reloc_entry->addend;
298 fr30_elf_i32_reloc (abfd, reloc_entry, symbol, data, in fr30_elf_i32_reloc() argument
301 arelent *reloc_entry;
313 && (! reloc_entry->howto->partial_inplace
314 || reloc_entry->addend == 0))
[all …]
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dcpu-h8500.c38 arelent *reloc_entry;
45 bfd_vma addr = reloc_entry->address;
50 x = (x + relocation + reloc_entry->addend);
60 arelent *reloc_entry;
67 bfd_vma addr = reloc_entry->address;
72 x = (x + relocation + reloc_entry->addend);
82 arelent *reloc_entry;
89 bfd_vma addr = reloc_entry->address;
95 x = (x + relocation + reloc_entry->addend);
105 arelent *reloc_entry;
[all …]
H A Delf32-or32.c284 arelent *reloc_entry;
294 bfd_size_type addr = reloc_entry->address;
314 arelent *reloc_entry;
324 bfd_size_type addr = reloc_entry->address;
344 arelent *reloc_entry;
354 bfd_size_type addr = reloc_entry->address;
394 arelent *reloc_entry;
418 relocation += reloc_entry->addend;
446 arelent *reloc_entry;
488 bfd_size_type addr = reloc_entry->address;
[all …]
H A Delf32-dlx.c248 _bfd_dlx_elf_hi16_reloc (abfd, reloc_entry, symbol, data, in _bfd_dlx_elf_hi16_reloc() argument
251 arelent *reloc_entry;
275 && reloc_entry->addend == 0)
307 relocation += reloc_entry->addend;
318 (bfd_byte *)data + reloc_entry->address);
334 elf32_dlx_relocate16 (abfd, reloc_entry, symbol, data, in elf32_dlx_relocate16() argument
337 arelent *reloc_entry;
406 (bfd_byte *) data + reloc_entry->address);
412 elf32_dlx_relocate26 (abfd, reloc_entry, symbol, data, in elf32_dlx_relocate26() argument
415 arelent *reloc_entry;
[all …]
H A Delf32-i860.c32 arelent *reloc_entry, in i860_howto_pc26_reloc() argument
46 || reloc_entry->addend == 0)) in i860_howto_pc26_reloc()
64 relocation += reloc_entry->addend; in i860_howto_pc26_reloc()
72 + reloc_entry->address in i860_howto_pc26_reloc()
109 || reloc_entry->addend == 0)) in i860_howto_pc16_reloc()
127 relocation += reloc_entry->addend; in i860_howto_pc16_reloc()
135 + reloc_entry->address in i860_howto_pc16_reloc()
173 || reloc_entry->addend == 0)) in i860_howto_highadj_reloc()
191 relocation += reloc_entry->addend; in i860_howto_highadj_reloc()
226 || reloc_entry->addend == 0)) in i860_howto_splitn_reloc()
[all …]
H A Dreloc.c582 arelent *reloc_entry, in bfd_perform_relocation() argument
651 relocation += reloc_entry->addend; in bfd_perform_relocation()
690 relocation -= reloc_entry->address; in bfd_perform_relocation()
700 reloc_entry->addend = relocation; in bfd_perform_relocation()
791 reloc_entry->addend = 0; in bfd_perform_relocation()
801 reloc_entry->addend = 0; in bfd_perform_relocation()
975 arelent *reloc_entry, in bfd_install_relocation() argument
1040 relocation += reloc_entry->addend; in bfd_install_relocation()
1079 relocation -= reloc_entry->address; in bfd_install_relocation()
1176 reloc_entry->addend = 0; in bfd_install_relocation()
[all …]
H A Delf32-d30v.c36 arelent *reloc_entry,
44 arelent *reloc_entry,
256 arelent *reloc_entry;
268 bfd_size_type addr = reloc_entry->address;
271 reloc_howto_type *howto = reloc_entry->howto;
312 relocation += reloc_entry->addend;
320 + reloc_entry->address;
366 arelent *reloc_entry;
377 bfd_size_type addr = reloc_entry->address;
421 relocation += reloc_entry->addend;
[all …]
H A Dcpu-ns32k.c160 arelent *reloc_entry;
172 bfd_size_type addr = reloc_entry->address;
217 relocation += reloc_entry->addend;
255 relocation -= reloc_entry->address;
265 reloc_entry->addend = relocation;
357 relocation -= reloc_entry->addend;
359 reloc_entry->addend = 0;
363 reloc_entry->addend = relocation;
369 reloc_entry->addend = 0;
764 arelent *reloc_entry;
[all …]
H A Delf32-i960.c110 elf32_i960_relocate (abfd, reloc_entry, symbol, data, input_section, in elf32_i960_relocate() argument
113 arelent *reloc_entry;
125 && reloc_entry->howto->pc_relative
126 && !reloc_entry->howto->pcrel_offset)
128 reloc_entry->addend -= symbol->value;
134 reloc_entry->addend -= symbol->section->output_section->vma;
141 && (! reloc_entry->howto->partial_inplace
142 || reloc_entry->addend == 0))
144 reloc_entry->address += input_section->output_offset;
H A Delfn32-mips.c1431 if (reloc_entry->howto->src_mask == 0) in gprel32_with_gp()
1437 val += reloc_entry->addend; in gprel32_with_gp()
1462 if (reloc_entry->howto->partial_inplace) in mips_elf_shift6_reloc()
1464 reloc_entry->addend = ((reloc_entry->addend & 0x00007c0) in mips_elf_shift6_reloc()
1477 arelent *reloc_entry ATTRIBUTE_UNUSED, in mips16_jump_reloc()
1535 val = reloc_entry->addend; in mips16_gprel_reloc()
1537 if (reloc_entry->howto->partial_inplace) in mips16_gprel_reloc()
1554 if (reloc_entry->howto->partial_inplace) in mips16_gprel_reloc()
1558 (bfd_byte *) data + reloc_entry->address); in mips16_gprel_reloc()
1561 (bfd_byte *) data + reloc_entry->address + 2); in mips16_gprel_reloc()
[all …]
H A Delf32-mips.c886 val = reloc_entry->addend; in gprel32_with_gp()
888 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp()
898 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp()
901 reloc_entry->addend = val; in gprel32_with_gp()
925 reloc32 = *reloc_entry; in mips32_64bit_reloc()
938 addr = reloc_entry->address; in mips32_64bit_reloc()
956 && reloc_entry->addend == 0) in mips16_jump_reloc()
1026 val = reloc_entry->addend; in mips16_gprel_reloc()
1028 if (reloc_entry->howto->partial_inplace) in mips16_gprel_reloc()
1045 if (reloc_entry->howto->partial_inplace) in mips16_gprel_reloc()
[all …]
H A Delf32-pj.c185 pj_elf_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in pj_elf_reloc() argument
188 arelent *reloc_entry;
198 bfd_vma addr = reloc_entry->address;
201 r_type = (enum elf_pj_reloc_type) reloc_entry->howto->type;
206 reloc_entry->address += input_section->output_offset;
225 insn += sym_value + reloc_entry->addend;
234 insn += sym_value + reloc_entry->addend;
240 insn += sym_value + reloc_entry->addend
247 insn += sym_value + reloc_entry->addend;
253 insn += (sym_value + reloc_entry->addend) >> 16;
H A Dcoff-m88k.c56 m88k_special_reloc (abfd, reloc_entry, symbol, data, in m88k_special_reloc() argument
59 arelent *reloc_entry;
66 reloc_howto_type *howto = reloc_entry->howto;
78 reloc_entry->address += input_section->output_offset;
83 bfd_vma addr = reloc_entry->address;
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
110 reloc_entry->addend = 0;
137 reloc_entry->address += input_section->output_offset;
H A Delf32-fr30.c252 fr30_elf_i20_reloc (abfd, reloc_entry, symbol, data, in fr30_elf_i20_reloc() argument
255 arelent *reloc_entry;
268 && (! reloc_entry->howto->partial_inplace
269 || reloc_entry->addend == 0))
271 reloc_entry->address += input_section->output_offset;
283 + reloc_entry->addend;
298 fr30_elf_i32_reloc (abfd, reloc_entry, symbol, data, in fr30_elf_i32_reloc() argument
301 arelent *reloc_entry;
313 && (! reloc_entry->howto->partial_inplace
314 || reloc_entry->addend == 0))
[all …]

123456