Searched refs:relocation (Results 1 - 25 of 92) sorted by relevance

1234

/haiku-fatelf/src/bin/gdb/bfd/
H A Delf32-d30v.c68 /* A 6 bit absolute relocation */
83 /* A relative 9 bit relocation, right shifted by 3 */
98 /* A relative 9 bit relocation, right shifted by 3 */
113 /* An absolute 15 bit relocation, right shifted by 3 */
128 /* A relative 15 bit relocation, right shifted by 3 */
143 /* A relative 15 bit relocation, right shifted by 3 */
158 /* An absolute 21 bit relocation, right shifted by 3 */
173 /* A relative 21 bit relocation, right shifted by 3 */
188 /* A relative 21 bit relocation, right shifted by 3, in the Right container */
203 /* A D30V 32 bit absolute relocation */
263 bfd_signed_vma relocation; local
373 bfd_vma relocation; local
[all...]
H A Dcpu-ns32k.c170 bfd_vma relocation; local
193 /* Is the address of the relocation really within the section? */
197 /* Work out which section the relocation is targeted at and the
198 initial relocation command value. */
202 relocation = 0;
204 relocation = symbol->value;
214 relocation += output_base + symbol->section->output_offset;
217 relocation += reloc_entry->addend;
219 /* Here the variable relocation holds the final address of the
224 /* This is a PC relative relocation
804 bfd_vma relocation; local
[all...]
H A Dcpu-h8500.c44 long relocation = 0;
48 HOWTO_PREPARE(relocation, symbol_in);
50 x = (x + relocation + reloc_entry->addend);
66 long relocation = 0;
70 HOWTO_PREPARE(relocation, symbol_in);
72 x = (x + relocation + reloc_entry->addend);
88 long relocation = 0;
93 HOWTO_PREPARE(relocation, symbol_in);
95 x = (x + relocation + reloc_entry->addend);
111 long relocation
[all...]
H A Dreloc.c1 /* BFD support for handling relocation entries.
37 a <<struct reloc_cache_entry>> for each relocation
62 This is the structure of a relocation entry:
71 . {* The relocation was performed, but there was an overflow. *}
80 . {* Unsupported relocation size requested. *}
89 . {* The relocation was performed, but may not be ok - presently
106 . {* addend for relocation value. *}
109 . {* Pointer to how to perform the required relocation. *}
125 associated with the relocation request. It is the pointer
130 modifying only one pointer. The relocation routin
490 bfd_check_overflow(enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation) argument
588 bfd_vma relocation; local
980 bfd_vma relocation; local
1348 bfd_vma relocation; local
1385 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument
[all...]
H A Dcoff-m88k.c74 /* This is a partial relocation, and we want to apply the
75 relocation to the reloc entry rather than the raw data.
86 long relocation = 0; local
88 /* Work out which section the relocation is targeted at and the
89 initial relocation command value. */
93 relocation = 0;
95 relocation = symbol->value;
105 relocation += output_base + symbol->section->output_offset;
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
112 relocation >>
[all...]
H A Delf32-i860.c29 /* special_function for R_860_PC26 relocation. */
40 bfd_vma relocation; local
58 relocation = 0;
60 relocation = symbol->value;
62 relocation += symbol->section->output_section->vma;
63 relocation += symbol->section->output_offset;
64 relocation += reloc_entry->addend;
69 /* Adjust for PC-relative relocation. */
70 relocation -= (input_section->output_section->vma
76 if ((bfd_signed_vma)relocation > (
103 bfd_vma relocation; local
167 bfd_vma relocation; local
220 bfd_vma relocation; local
1011 i860_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument
1083 bfd_vma relocation; local
[all...]
H A Dmipsbsd.c110 /* Determine the size of a relocation entry, based on the architecture */
130 file header, symbols, and relocation. */
186 /* MIPS relocation types. */
194 /* This is only called when performing a BFD_RELOC_MIPS_JMP relocation.
212 bfd_vma relocation, pc; local
214 /* If this is a partial relocation, just continue. */
223 /* Work out which section the relocation is targeted at and the
224 initial relocation command value. */
226 relocation = 0;
228 relocation
263 bfd_vma relocation; local
[all...]
H A Delf32-fr30.c69 /* An 8 bit absolute relocation. */
84 /* A 20 bit absolute relocation. */
99 /* A 32 bit absolute relocation. */
114 /* A 32 bit into 48 bits absolute relocation. */
129 /* A 6 bit absolute relocation. */
144 /* An 8 bit absolute relocation. */
159 /* A 9 bit absolute relocation. */
174 /* A 10 bit absolute relocation. */
189 /* A PC relative 9 bit relocation, right shifted by 1. */
204 /* A PC relative 12 bit relocation, righ
262 bfd_vma relocation; local
308 bfd_vma relocation; local
533 bfd_vma relocation; local
[all...]
H A Delf32-avr.c80 /* A 7 bit PC relative relocation. */
95 /* A 13 bit PC relative relocation. */
110 /* A 16 bit absolute relocation. */
125 /* A 16 bit absolute relocation for command address. */
139 /* A low 8 bit absolute relocation of 16 bit address.
154 /* A high 8 bit absolute relocation of 16 bit address.
169 /* A high 6 bit absolute relocation of 22 bit address.
184 /* A negative low 8 bit absolute relocation of 16 bit address.
199 /* A hegative high 8 bit absolute relocation of 16 bit address.
214 /* A hegative high 6 bit absolute relocation o
737 bfd_vma relocation; local
[all...]
H A Dcoff-mips.c64 bfd_vma relocation));
233 /* FIXME: This relocation is used (internally only) to represent branches
443 /* Do a REFHI relocation. This has to be done in combination with a
446 relocation when we see the REFLO. MIPS ECOFF requires that the
480 bfd_vma relocation;
499 relocation = 0;
501 relocation = symbol->value;
503 relocation += symbol->section->output_section->vma;
504 relocation += symbol->section->output_offset;
505 relocation
475 bfd_vma relocation; local
610 bfd_vma relocation; local
909 bfd_vma relocation; local
[all...]
H A Dcoff-arm.c559 /* Return TRUE if this relocation should
631 bfd_vma relocation; local
641 /* If the sections are different, and we are doing a partial relocation,
647 relocation = (target & 0x00ffffff) << 2;
648 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */
649 relocation += symbol->value;
650 relocation += symbol->section->output_section->vma;
651 relocation += symbol->section->output_offset;
652 relocation
692 bfd_vma relocation = 0; local
1633 bfd_vma relocation = val + addend; local
[all...]
H A Driscix.c216 bfd_vma relocation; local
226 /* If the sections are different, and we are doing a partial relocation,
232 relocation = (target & 0x00ffffff) << 2;
233 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend */
234 relocation += symbol->value;
235 relocation += symbol->section->output_section->vma;
236 relocation += symbol->section->output_offset;
237 relocation += reloc_entry->addend;
238 relocation
[all...]
H A Daout-tic30.c147 /* This table lists the relocation types for the TMS320C30. There are
245 bfd_vma relocation; local
252 relocation = (symbol->section->vma >> 2);
253 relocation += bfd_get_16 (abfd, (bfd_byte *) data + reloc_entry->address);
254 bfd_put_16 (abfd, relocation, (bfd_byte *) data + reloc_entry->address);
272 bfd_vma relocation; local
279 relocation = (symbol->section->vma >> 2);
280 relocation += bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address);
281 bfd_put_32 (abfd, relocation, (bfd_byte *) data + reloc_entry->address);
287 useless for a relocation, s
303 bfd_vma relocation = 1; local
404 bfd_vma relocation; local
[all...]
H A Daout-arm.c179 r_neg = howto->type & 8; /* Negative relocation. */
229 relocation is done. */
269 bfd_vma relocation;
279 /* If the sections are different, and we are doing a partial relocation,
285 relocation = (target & 0x00ffffff) << 2;
286 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */
287 relocation += symbol->value;
288 relocation += symbol->section->output_section->vma;
289 relocation
268 bfd_vma relocation; local
[all...]
H A Delf32-iq2000.c28 /* Private relocation functions. */
66 /* A 16 bit absolute relocation. */
81 /* A 32 bit absolute relocation. */
204 /* A 32 bit absolute debug relocation. */
296 bfd_vma relocation;
309 relocation = 0;
311 relocation = symbol->value;
313 relocation += symbol->section->output_section->vma;
314 relocation += symbol->section->output_offset;
315 relocation
294 bfd_vma relocation; local
582 bfd_vma relocation; local
[all...]
H A Dcoff-alpha.c243 relocation. */
265 both are used. The value to use for the relocation is the
392 relocation stack. */
407 /* Shift the value on the top of the relocation stack right by the
699 here, for convenience when doing the GPDISP relocation. */
750 /* The size of the stack for the relocation evaluator. */
756 the relocation for a section. I haven't yet worked out how the
874 /* This relocation is used in a switch table. It is a 32
886 err = (char *) _("GP relative relocation used when GP not defined");
893 relative relocation
989 bfd_vma relocation; local
1049 bfd_vma relocation; local
1082 bfd_vma relocation; local
1107 stack[tos - 1] >>= relocation; local
1260 bfd_vma relocation; local
1821 bfd_vma relocation; local
[all...]
H A Delf32-openrisc.c72 /* A PC relative 26 bit relocation, right shifted by 2. */
87 /* A absolute 26 bit relocation, right shifted by 2. */
130 /* An 8 bit absolute relocation. */
145 /* A 16 bit absolute relocation. */
160 /* A 32 bit absolute relocation. */
258 /* Perform a single relocation. By default we use the standard BFD
263 relocation)
269 bfd_vma relocation;
276 relocation &= 0xffff;
279 relocation, re
352 bfd_vma relocation; local
[all...]
H A Delf32-xstormy16.c77 /* A 32 bit absolute relocation. */
92 /* A 16 bit absolute relocation. */
107 /* An 8 bit absolute relocation. */
122 /* A 32 bit pc-relative relocation. */
137 /* A 16 bit pc-relative relocation. */
152 /* An 8 bit pc-relative relocation. */
167 /* A 12-bit pc-relative relocation suitable for the branch instructions. */
182 /* A 24-bit absolute relocation suitable for the jump instructions. */
197 /* A 16 bit absolute relocation to a function pointer. */
242 /* A 12 bit absolute relocation
374 bfd_vma relocation, x; local
821 bfd_vma relocation; local
[all...]
H A Delf32-dlx.c56 /* No relocation. */
71 /* 8 bit relocation. */
86 /* 16 bit relocation. */
120 /* 32 bit relocation. */
259 bfd_vma relocation; local
292 printf ("DEBUG: The relocation address = 0x%08x\n", reloc_entry->address);
304 relocation = (bfd_is_com_section (symbol->section)) ? 0 : symbol->value;
305 relocation += symbol->section->output_section->vma;
306 relocation += symbol->section->output_offset;
307 relocation
[all...]
H A Delf32-sparc.c92 /* The relocation "howto" table. */
377 bfd_vma relocation;
395 relocation = (symbol->value
398 relocation += reloc_entry->addend;
399 relocation -= (input_section->output_section->vma
401 relocation -= reloc_entry->address;
404 x |= ((((relocation >> 2) & 0xc000) << 6)
405 | ((relocation >> 2) & 0x3fff));
408 if ((bfd_signed_vma) relocation < - 0x40000
409 || (bfd_signed_vma) relocation >
375 bfd_vma relocation; local
431 bfd_vma relocation; local
477 bfd_vma relocation; local
2165 bfd_vma relocation, off; local
[all...]
H A Delf32-or32.c49 /* Try to minimize the amount of space occupied by relocation tables
70 /* A standard 32 bit relocation. */
85 /* A standard 16 bit relocation. */
100 /* A standard 8 bit relocation. */
115 /* A standard low 16 bit relocation. */
130 /* A standard high 16 bit relocation. */
145 /* A standard branch relocation. */
370 /* Do a R_OR32_CONSTH relocation. This has to be done in combination
373 actual relocation when we see the LO16. OR32 ELF requires that the
402 bfd_vma relocation; local
[all...]
H A Delf32-ip2k.c200 /* A 16 bit absolute relocation. */
202 /* A 32 bit absolute relocation. */
204 /* A 8-bit data relocation for the FR9 field. Ninth bit is computed specially. */
206 /* A 4-bit data relocation. */
208 /* A 13-bit insn relocation - word address => right-shift 1 bit extra. */
210 /* A 3-bit insn relocation - word address => right-shift 1 bit extra. */
219 /* Special 1 bit relocation for SKIP instructions. */
223 /* A 7-bit offset relocation for the FR9 field. Eigth and ninth bit comes from insn. */
238 table *must* match the order of the relocation types defined in
314 /* Return the value of the symbol associated with the relocation IRE
1500 bfd_vma relocation; local
[all...]
/haiku-fatelf/headers/private/system/arch/mipsel/
H A Darch_elf.h13 #warning DEFINE mipsel relocation types
16 /* relocation types */
/haiku-fatelf/src/tools/elfsymbolpatcher/
H A DElfImage.cpp26 // image's symbols and their relocation entries.
154 ElfRelocation relocation; local
155 for (ElfRelocationIterator it(&fFile); it.GetNext(&relocation); ) {
156 uint32 type = relocation.GetType();
160 && relocation.GetSymbol(&symbol) == B_OK
171 = (void**)(fTextAddress + relocation.GetOffset());
H A DElfFile.cpp26 // or more precisely for iterating through their relocation
365 Elf32_Rel* relocation = fRelocation; local
366 if (!relocation && fSection) {
376 relocation = (Elf32_Rel*)(fSection->GetData()
380 return relocation;
388 if (Elf32_Rel* relocation = GetRelocationStruct())
389 type = ELF32_R_TYPE(relocation->r_info);
398 if (Elf32_Rel* relocation = GetRelocationStruct())
399 index = ELF32_R_SYM(relocation->r_info);
408 if (Elf32_Rel* relocation
448 GetNext(ElfRelocation* relocation) argument
[all...]

Completed in 145 milliseconds

1234