Searched refs:reloc_entry (Results 1 - 25 of 133) sorted by relevance

123456

/haiku-buildtools/legacy/binutils/bfd/
H A Dcoff-maxq.c78 arelent * reloc_entry,
97 if (data && reloc_entry)
99 howto = reloc_entry->howto;
100 addr = (unsigned char *) data + reloc_entry->address;
109 switch (reloc_entry->howto->type)
115 addend = reloc_entry->addend;
124 diff = ((call_addr << 1) - (reloc_entry->address << 1));
149 addend = (reloc_entry->addend - reloc_entry->addend);
152 addend = reloc_entry
77 coff_maxq20_reloc(bfd * abfd, arelent * reloc_entry, asymbol * symbol_in, void * data, asection * input_section ATTRIBUTE_UNUSED, bfd * output_bfd ATTRIBUTE_UNUSED, char ** error_message ATTRIBUTE_UNUSED) argument
[all...]
H A Delf32-i960.c45 arelent *reloc_entry,
57 && reloc_entry->howto->pc_relative
58 && !reloc_entry->howto->pcrel_offset)
59 reloc_entry->addend -= symbol->value;
64 reloc_entry->addend -= symbol->section->output_section->vma;
71 && (! reloc_entry->howto->partial_inplace
72 || reloc_entry->addend == 0))
74 reloc_entry->address += input_section->output_offset;
44 elf32_i960_relocate(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, PTR data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
H A Delf32-or32.c53 arelent *reloc_entry,
63 bfd_size_type addr = reloc_entry->address;
65 reloc_entry->address += input_section->output_offset;
81 arelent *reloc_entry,
91 bfd_size_type addr = reloc_entry->address;
93 reloc_entry->address += input_section->output_offset;
109 arelent *reloc_entry,
119 bfd_size_type addr = reloc_entry->address;
121 reloc_entry->address += input_section->output_offset;
157 arelent *reloc_entry,
52 or32_elf_32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
80 or32_elf_16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
108 or32_elf_8_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
156 or32_elf_consth_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
206 or32_elf_const_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
270 or32_elf_jumptarg_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol ATTRIBUTE_UNUSED, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
[all...]
H A Delf32-pj.c33 arelent *reloc_entry,
43 bfd_vma addr = reloc_entry->address;
46 r_type = (enum elf_pj_reloc_type) reloc_entry->howto->type;
51 reloc_entry->address += input_section->output_offset;
70 insn += sym_value + reloc_entry->addend;
79 insn += sym_value + reloc_entry->addend;
85 insn += sym_value + reloc_entry->addend
92 insn += sym_value + reloc_entry->addend;
98 insn += (sym_value + reloc_entry->addend) >> 16;
32 pj_elf_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol_in, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
H A Dcoff-m88k.c56 m88k_special_reloc (abfd, reloc_entry, symbol, data,
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-d30v.c34 arelent *reloc_entry,
46 bfd_size_type addr = reloc_entry->address;
49 reloc_howto_type *howto = reloc_entry->howto;
55 reloc_entry->address += input_section->output_offset;
59 r = bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
71 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
90 relocation += reloc_entry->addend;
98 + reloc_entry->address;
143 arelent *reloc_entry,
154 bfd_size_type addr = reloc_entry
33 bfd_elf_d30v_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
142 bfd_elf_d30v_reloc_21(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
[all...]
H A Delf32-dlx.c53 arelent *reloc_entry,
67 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
74 && reloc_entry->addend == 0)
76 reloc_entry->address += input_section->output_offset;
89 relocation += reloc_entry->addend;
90 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry->address);
92 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
96 (bfd_byte *)data + reloc_entry->address);
113 arelent *reloc_entry,
129 return bfd_elf_generic_reloc (abfd, reloc_entry, symbo
52 _bfd_dlx_elf_hi16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
112 elf32_dlx_relocate16(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
175 elf32_dlx_relocate26(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
[all...]
H A Dreloc.c551 arelent *reloc_entry,
577 arelent *reloc_entry,
585 bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd);
587 reloc_howto_type *howto = reloc_entry->howto;
591 symbol = *(reloc_entry->sym_ptr_ptr);
595 reloc_entry->address += input_section->output_offset;
613 cont = howto->special_function (abfd, reloc_entry, symbol, data,
621 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
645 relocation += reloc_entry->addend;
684 relocation -= reloc_entry
576 bfd_perform_relocation(bfd *abfd, arelent *reloc_entry, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
966 bfd_install_relocation(bfd *abfd, arelent *reloc_entry, void *data_start, bfd_vma data_start_offset, asection *input_section, char **error_message) argument
[all...]
H A Dcpu-ns32k.c157 do_ns32k_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd,
160 arelent *reloc_entry;
172 bfd_size_type addr = reloc_entry->address;
174 reloc_howto_type *howto = reloc_entry->howto;
181 reloc_entry->address += input_section->output_offset;
194 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
217 relocation += reloc_entry->addend;
255 relocation -= reloc_entry->address;
265 reloc_entry->addend = relocation;
266 reloc_entry
[all...]
H A Delf32-i860.c32 arelent *reloc_entry,
45 && (! reloc_entry->howto->partial_inplace
46 || reloc_entry->addend == 0))
48 reloc_entry->address += input_section->output_offset;
64 relocation += reloc_entry->addend;
66 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
72 + reloc_entry->address
80 addr = (bfd_byte *) data + reloc_entry->address;
83 relocation >>= reloc_entry->howto->rightshift;
84 insn = (insn & ~reloc_entry
31 i860_howto_pc26_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
94 i860_howto_pc16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
158 i860_howto_highadj_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
211 i860_howto_splitn_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
[all...]
H A Delf32-arc.c37 arelent * reloc_entry,
50 reloc_entry->addend -= reloc_entry->address;
53 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
36 arc_elf_b22_pcrel(bfd * abfd, arelent * reloc_entry, asymbol * symbol, void * data, asection * input_section, bfd * output_bfd, char ** error_message) argument
H A Delf32-mips.c958 _bfd_mips_elf32_gprel16_reloc (bfd *abfd, arelent *reloc_entry, argument
968 if (reloc_entry->howto->type == R_MIPS_LITERAL
991 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1000 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, argument
1031 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section,
1036 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry, argument
1051 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
1055 val = reloc_entry->addend;
1057 if (reloc_entry->howto->partial_inplace)
1058 val += bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry
1083 mips32_64bit_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol ATTRIBUTE_UNUSED, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1118 mips16_jump_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
1148 mips16_gprel_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
[all...]
H A Delfn32-mips.c1736 mips_elf_gprel16_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry,
1758 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1766 mips_elf_literal_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1798 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1807 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1841 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section,
1846 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry,
1861 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
1864 if (reloc_entry->howto->src_mask == 0)
1867 val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry
1734 mips_elf_gprel16_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
1764 mips_elf_literal_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1805 mips_elf_gprel32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1844 gprel32_with_gp(bfd *abfd, asymbol *symbol, arelent *reloc_entry, asection *input_section, bfd_boolean relocatable, void *data, bfd_vma gp) argument
1889 mips_elf_shift6_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1929 mips16_gprel_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
[all...]
H A Dcoff-mips.c418 reloc_entry,
425 arelent *reloc_entry;
434 && reloc_entry->addend == 0)
436 reloc_entry->address += input_section->output_offset;
465 reloc_entry,
472 arelent *reloc_entry;
487 && reloc_entry->addend == 0)
489 reloc_entry->address += input_section->output_offset;
505 relocation += reloc_entry->addend;
507 if (reloc_entry
[all...]
H A Dcoff-i386.c65 coff_i386_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd,
68 arelent *reloc_entry;
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;
111 reloc_howto_type *howto = reloc_entry->howto;
123 diff = reloc_entry->addend - symbol->value;
125 diff = -reloc_entry->addend;
129 diff = reloc_entry->addend;
134 if (reloc_entry
[all...]
H A Dmipsbsd.c198 mips_fix_jmp_addr (abfd, reloc_entry, symbol, data, input_section, output_bfd,
201 arelent *reloc_entry;
228 relocation += reloc_entry->addend;
231 reloc_entry->address + 4;
249 mips_fix_hi16_s (abfd, reloc_entry, symbol, data, input_section,
252 arelent *reloc_entry;
279 relocation += reloc_entry->addend;
282 reloc_entry->addend += 0x10000;
/haiku-buildtools/binutils/bfd/
H A Delf32-i960.c47 arelent *reloc_entry,
59 && reloc_entry->howto->pc_relative
60 && !reloc_entry->howto->pcrel_offset)
61 reloc_entry->addend -= symbol->value;
66 reloc_entry->addend -= symbol->section->output_section->vma;
73 && (! reloc_entry->howto->partial_inplace
74 || reloc_entry->addend == 0))
76 reloc_entry->address += input_section->output_offset;
46 elf32_i960_relocate(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void * data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
H A Delf32-dlx.c53 arelent *reloc_entry,
67 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
74 && reloc_entry->addend == 0)
76 reloc_entry->address += input_section->output_offset;
89 relocation += reloc_entry->addend;
90 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry->address);
92 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
96 (bfd_byte *)data + reloc_entry->address);
113 arelent *reloc_entry,
129 return bfd_elf_generic_reloc (abfd, reloc_entry, symbo
52 _bfd_dlx_elf_hi16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
112 elf32_dlx_relocate16(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
175 elf32_dlx_relocate26(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
[all...]
H A Delf32-d30v.c33 arelent *reloc_entry,
45 bfd_size_type addr = reloc_entry->address;
48 reloc_howto_type *howto = reloc_entry->howto;
54 reloc_entry->address += input_section->output_offset;
58 r = bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
70 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
89 relocation += reloc_entry->addend;
97 + reloc_entry->address;
142 arelent *reloc_entry,
153 bfd_size_type addr = reloc_entry
32 bfd_elf_d30v_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
141 bfd_elf_d30v_reloc_21(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
[all...]
H A Dcoff-m88k.c50 arelent *reloc_entry,
57 reloc_howto_type *howto = reloc_entry->howto;
69 reloc_entry->address += input_section->output_offset;
74 bfd_vma addr = reloc_entry->address;
99 relocation += ((reloc_entry->addend << howto->bitsize) + x);
101 reloc_entry->addend = 0;
128 reloc_entry->address += input_section->output_offset;
49 m88k_special_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
H A Dreloc.c548 arelent *reloc_entry,
574 arelent *reloc_entry,
584 reloc_howto_type *howto = reloc_entry->howto;
588 symbol = *(reloc_entry->sym_ptr_ptr);
604 cont = howto->special_function (abfd, reloc_entry, symbol, data,
614 reloc_entry->address += input_section->output_offset;
625 octets = reloc_entry->address * bfd_octets_per_byte (abfd);
651 relocation += reloc_entry->addend;
690 relocation -= reloc_entry->address;
700 reloc_entry
573 bfd_perform_relocation(bfd *abfd, arelent *reloc_entry, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
968 bfd_install_relocation(bfd *abfd, arelent *reloc_entry, void *data_start, bfd_vma data_start_offset, asection *input_section, char **error_message) argument
[all...]
H A Dcpu-ns32k.c147 arelent * reloc_entry,
159 bfd_size_type addr = reloc_entry->address;
161 reloc_howto_type *howto = reloc_entry->howto;
168 reloc_entry->address += input_section->output_offset;
181 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
204 relocation += reloc_entry->addend;
242 relocation -= reloc_entry->address;
252 reloc_entry->addend = relocation;
253 reloc_entry->address += input_section->output_offset;
264 reloc_entry
146 do_ns32k_reloc(bfd * abfd, arelent * reloc_entry, struct bfd_symbol * symbol, void * data, asection * input_section, bfd * output_bfd, char ** error_message ATTRIBUTE_UNUSED, bfd_vma (* get_data) (bfd_byte *, int), void (* put_data) (bfd_vma, bfd_byte *, int)) argument
745 _bfd_ns32k_reloc_disp(bfd *abfd, arelent *reloc_entry, struct bfd_symbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
760 _bfd_ns32k_reloc_imm(bfd *abfd, arelent *reloc_entry, struct bfd_symbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message) argument
[all...]
H A Delf32-i860.c32 arelent *reloc_entry,
45 && (! reloc_entry->howto->partial_inplace
46 || reloc_entry->addend == 0))
48 reloc_entry->address += input_section->output_offset;
64 relocation += reloc_entry->addend;
66 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
72 + reloc_entry->address
80 addr = (bfd_byte *) data + reloc_entry->address;
83 relocation >>= reloc_entry->howto->rightshift;
84 insn = (insn & ~reloc_entry
31 i860_howto_pc26_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
94 i860_howto_pc16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
158 i860_howto_highadj_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
211 i860_howto_splitn_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
[all...]
H A Delf32-pj.c34 arelent *reloc_entry,
44 bfd_vma addr = reloc_entry->address;
47 r_type = (enum elf_pj_reloc_type) reloc_entry->howto->type;
52 reloc_entry->address += input_section->output_offset;
71 insn += sym_value + reloc_entry->addend;
80 insn += sym_value + reloc_entry->addend;
86 insn += sym_value + reloc_entry->addend
93 insn += sym_value + reloc_entry->addend;
99 insn += (sym_value + reloc_entry->addend) >> 16;
33 pj_elf_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol_in, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
H A Delf32-fr30.c237 arelent *reloc_entry,
250 && (! reloc_entry->howto->partial_inplace
251 || reloc_entry->addend == 0))
253 reloc_entry->address += input_section->output_offset;
265 + reloc_entry->addend;
270 x = bfd_get_32 (abfd, (char *) data + reloc_entry->address);
272 bfd_put_32 (abfd, (bfd_vma) x, (char *) data + reloc_entry->address);
282 arelent *reloc_entry,
294 && (! reloc_entry->howto->partial_inplace
295 || reloc_entry
235 fr30_elf_i20_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
279 fr30_elf_i32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void * data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
[all...]

Completed in 320 milliseconds

123456