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

123

/haiku-fatelf/src/bin/gdb/bfd/
H A Dcpu-h8500.c35 howto16_callback (abfd, reloc_entry, symbol_in, data,
38 arelent *reloc_entry;
45 bfd_vma addr = reloc_entry->address;
50 x = (x + relocation + reloc_entry->addend);
57 howto8_callback (abfd, reloc_entry, symbol_in, data,
60 arelent *reloc_entry;
67 bfd_vma addr = reloc_entry->address;
72 x = (x + relocation + reloc_entry->addend);
79 howto8_FFnn_callback (abfd, reloc_entry, symbol_in, data,
82 arelent *reloc_entry;
[all...]
H A Delf32-i960.c110 elf32_i960_relocate (abfd, reloc_entry, symbol, data, input_section,
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 Delf32-or32.c281 or32_elf_32_reloc (abfd, reloc_entry, symbol, data, input_section,
284 arelent *reloc_entry;
294 bfd_size_type addr = reloc_entry->address;
296 reloc_entry->address += input_section->output_offset;
311 or32_elf_16_reloc (abfd, reloc_entry, symbol, data, input_section,
314 arelent *reloc_entry;
324 bfd_size_type addr = reloc_entry->address;
326 reloc_entry->address += input_section->output_offset;
341 or32_elf_8_reloc (abfd, reloc_entry, symbol, data, input_section,
344 arelent *reloc_entry;
[all...]
H A Delf32-d30v.c36 arelent *reloc_entry,
44 arelent *reloc_entry,
254 bfd_elf_d30v_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, error_message)
256 arelent *reloc_entry;
268 bfd_size_type addr = reloc_entry->address;
271 reloc_howto_type *howto = reloc_entry->howto;
277 reloc_entry->address += input_section->output_offset;
281 r = bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
293 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
312 relocation += reloc_entry
[all...]
H A Delf32-dlx.c248 _bfd_dlx_elf_hi16_reloc (abfd, reloc_entry, symbol, data,
251 arelent *reloc_entry;
268 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
275 && reloc_entry->addend == 0)
277 reloc_entry->address += input_section->output_offset;
291 vallo = bfd_get_16 (abfd, (bfd_byte *) data + reloc_entry->address);
292 printf ("DEBUG: The relocation address = 0x%08x\n", reloc_entry->address);
300 printf ("DEBUG: The addend = 0x%08x\n", reloc_entry->addend);
307 relocation += reloc_entry->addend;
308 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry
[all...]
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 Dreloc.c556 arelent *reloc_entry,
582 arelent *reloc_entry,
590 bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd);
592 reloc_howto_type *howto = reloc_entry->howto;
596 symbol = *(reloc_entry->sym_ptr_ptr);
600 reloc_entry->address += input_section->output_offset;
618 cont = howto->special_function (abfd, reloc_entry, symbol, data,
626 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
650 relocation += reloc_entry->addend;
689 relocation -= reloc_entry
581 bfd_perform_relocation(bfd *abfd, arelent *reloc_entry, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
973 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-pj.c185 pj_elf_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
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
[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.c217 arc_elf_b22_pcrel (abfd, reloc_entry, symbol, data, input_section,
220 arelent * reloc_entry;
233 reloc_entry->addend -= reloc_entry->address;
236 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
H A Delf32-mips.c764 _bfd_mips_elf32_gprel16_reloc (bfd *abfd, arelent *reloc_entry, argument
786 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
795 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, argument
816 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section,
821 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry, argument
836 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
840 val = reloc_entry->addend;
842 if (reloc_entry->howto->partial_inplace)
843 val += bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address);
852 if (reloc_entry
868 mips32_64bit_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol ATTRIBUTE_UNUSED, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
903 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
933 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.c1315 mips_elf_gprel16_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry,
1337 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1345 mips_elf_literal_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1367 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1376 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1410 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section,
1415 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry,
1430 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
1433 if (reloc_entry->howto->src_mask == 0)
1436 val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry
1313 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
1343 mips_elf_literal_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1374 mips_elf_gprel32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1413 gprel32_with_gp(bfd *abfd, asymbol *symbol, arelent *reloc_entry, asection *input_section, bfd_boolean relocatable, void *data, bfd_vma gp) argument
1458 mips_elf_shift6_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1498 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 Dmipsbsd.c202 mips_fix_jmp_addr (abfd, reloc_entry, symbol, data, input_section, output_bfd,
205 arelent *reloc_entry;
232 relocation += reloc_entry->addend;
235 reloc_entry->address + 4;
253 mips_fix_hi16_s (abfd, reloc_entry, symbol, data, input_section,
256 arelent *reloc_entry;
283 relocation += reloc_entry->addend;
286 reloc_entry->addend += 0x10000;
H A Delf32-fr30.c253 fr30_elf_i20_reloc (abfd, reloc_entry, symbol, data,
256 arelent *reloc_entry;
269 && (! reloc_entry->howto->partial_inplace
270 || reloc_entry->addend == 0))
272 reloc_entry->address += input_section->output_offset;
284 + reloc_entry->addend;
289 x = bfd_get_32 (abfd, (char *) data + reloc_entry->address);
291 bfd_put_32 (abfd, (bfd_vma) x, (char *) data + reloc_entry->address);
300 fr30_elf_i32_reloc (abfd, reloc_entry, symbol, data,
303 arelent *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;
127 diff = reloc_entry->addend;
132 if (reloc_entry->howto->type == R_IMAGEBASE
143 reloc_howto_type *howto = reloc_entry
[all...]
H A Dcoff-a29k.c74 a29k_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
77 arelent *reloc_entry;
93 unsigned long addr = reloc_entry->address ; /*+ input_section->vma*/
96 r_type = reloc_entry->howto->type;
101 reloc_entry->address += input_section->output_offset;
137 if (signed_value == - (long) reloc_entry->address)
140 signed_value += sym_value + reloc_entry->addend;
150 signed_value -= (reloc_entry->address
163 unsigned_value += sym_value + reloc_entry->addend;
172 part1_consth_value = sym_value + reloc_entry
[all...]
H A Dcoff-or32.c80 or32_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
83 arelent *reloc_entry;
101 unsigned long addr = reloc_entry->address ; /*+ input_section->vma*/
104 r_type = reloc_entry->howto->type;
109 reloc_entry->address += input_section->output_offset;
147 if (signed_value == - (long) reloc_entry->address)
150 signed_value += sym_value + reloc_entry->addend;
162 signed_value -= (reloc_entry->address
176 unsigned_value += sym_value + reloc_entry->addend;
187 part1_consth_value = sym_value + reloc_entry
[all...]
H A Delf64-mips.c1506 mips_elf64_gprel16_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1520 reloc_entry->address += input_section->output_offset;
1537 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1545 mips_elf64_literal_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1559 reloc_entry->address += input_section->output_offset;
1577 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1586 mips_elf64_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1628 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
1632 val = reloc_entry->addend;
1634 if (reloc_entry
1502 mips_elf64_gprel16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1541 mips_elf64_literal_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1582 mips_elf64_gprel32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1655 mips_elf64_shift6_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1673 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
1704 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-tic80.c366 ppbase_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
369 arelent *reloc_entry ATTRIBUTE_UNUSED;
383 glob15_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
386 arelent *reloc_entry ATTRIBUTE_UNUSED;
400 glob16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
403 arelent *reloc_entry ATTRIBUTE_UNUSED;
417 local16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
420 arelent *reloc_entry ATTRIBUTE_UNUSED;
H A Delf32-m68hc1x.h154 (bfd *abfd, arelent *reloc_entry,
158 (bfd *abfd, arelent *reloc_entry,
H A Dcoff-ppc.c1022 pe_ppc_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
1025 arelent *reloc_entry;
1039 unsigned long addr = reloc_entry->address ; /*+ input_section->vma*/
1041 r_type = reloc_entry->howto->type;
1046 reloc_entry->address += input_section->output_offset;
1764 ppc_refhi_reloc (abfd, reloc_entry, symbol, data,
1767 arelent *reloc_entry ATTRIBUTE_UNUSED;
1775 DUMP_RELOC("REFHI",reloc_entry);
1786 ppc_reflo_reloc (abfd, reloc_entry, symbol, data,
1789 arelent *reloc_entry;
[all...]
H A Dcoff-i860.c50 arelent *reloc_entry,
70 ORIG is the negative of reloc_entry->addend, which is set by
75 diff = symbol->value + reloc_entry->addend;
83 diff = reloc_entry->addend;
91 reloc_howto_type *howto = reloc_entry->howto;
92 unsigned char *addr = (unsigned char *) data + reloc_entry->address;
134 arelent *reloc_entry,
141 reloc_howto_type *howto = reloc_entry->howto;
49 coff_i860_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section ATTRIBUTE_UNUSED, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
133 coff_i860_reloc_nyi(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol ATTRIBUTE_UNUSED, void *data ATTRIBUTE_UNUSED, asection *input_section ATTRIBUTE_UNUSED, bfd *output_bfd ATTRIBUTE_UNUSED, char **error_message ATTRIBUTE_UNUSED) argument
H A Dcoff-arm.c159 coff_arm_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd,
162 arelent *reloc_entry;
173 diff = reloc_entry->addend;
181 reloc_howto_type *howto = reloc_entry->howto;
182 unsigned char *addr = (unsigned char *) data + reloc_entry->address;
604 aoutarm_fix_pcrel_26_done (abfd, reloc_entry, symbol, data, input_section,
607 arelent *reloc_entry ATTRIBUTE_UNUSED;
621 aoutarm_fix_pcrel_26 (abfd, reloc_entry, symbol, data, input_section,
624 arelent *reloc_entry;
632 bfd_size_type addr = reloc_entry
[all...]

Completed in 111 milliseconds

123