Searched refs:howto (Results 1 - 25 of 128) sorted by relevance

123456

/haiku-fatelf/src/bin/gdb/bfd/
H A Dcpu-ns32k.c174 reloc_howto_type *howto = reloc_entry->howto; local
209 if (output_bfd != NULL && ! howto->partial_inplace)
222 if (howto->pc_relative)
254 if (howto->pcrel_offset)
260 if (! howto->partial_inplace)
379 if (howto->complain_on_overflow != complain_overflow_dont)
385 if (howto->rightshift > howto->bitpos)
386 check = relocation >> (howto
[all...]
H A Dreloc.c42 @* howto manager::
57 typedef arelent, howto manager, Relocations, Relocations
110 . reloc_howto_type *howto;
150 the howto. For example, on the 68k the code:
232 o <<howto>>
234 The <<howto>> field can be imagined as a
240 but it would be possible to create each howto field on demand.
393 This is used to fill in an empty howto entry in an array.
433 bfd_get_reloc_size (reloc_howto_type *howto) argument
435 switch (howto
592 reloc_howto_type *howto = reloc_entry->howto; local
984 reloc_howto_type *howto = reloc_entry->howto; local
1340 _bfd_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, bfd_vma address, bfd_vma value, bfd_vma addend) argument
1385 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument
[all...]
H A Dnlm32-i386.c123 rel->howto = &nlm_i386_abs_howto;
130 rel->howto = &nlm_i386_pcrel_howto;
133 rel->howto = &nlm_i386_abs_howto;
169 || rel->howto == NULL
170 || rel->howto->rightshift != 0
171 || rel->howto->size != 2
172 || rel->howto->bitsize != 32
173 || rel->howto->bitpos != 0
174 || rel->howto->src_mask != 0xffffffff
175 || rel->howto
[all...]
H A Dcoff-apollo.c52 /* Turn a howto into a reloc number. */
65 case R_RELBYTE: internal->howto = apollocoff_howto_table + 0; break;
66 case R_RELWORD: internal->howto = apollocoff_howto_table + 1; break;
67 case R_RELLONG: internal->howto = apollocoff_howto_table + 2; break;
68 case R_PCRBYTE: internal->howto = apollocoff_howto_table + 3; break;
69 case R_PCRWORD: internal->howto = apollocoff_howto_table + 4; break;
70 case R_PCRLONG: internal->howto = apollocoff_howto_table + 5; break;
71 case R_RELLONG_NEG: internal->howto = apollocoff_howto_table + 6; break;
H A Dcoff-h8500.c73 /* Turn a howto into a reloc number. */
76 coff_h8500_select_reloc (howto)
77 reloc_howto_type *howto;
79 return howto->type;
82 #define SELECT_RELOC(x,howto) x.r_type = coff_h8500_select_reloc(howto)
96 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
109 internal->howto = &r_imm8;
112 internal->howto
[all...]
H A Dnlm32-ppc.c188 rel->howto = &nlm_powerpc_howto;
611 rel->howto = nlm_powerpc_howto_table + (l_rtype & 0xff);
613 BFD_ASSERT (rel->howto->name != NULL
615 ? (rel->howto->complain_on_overflow
617 : (rel->howto->complain_on_overflow
619 && ((l_rtype >> 8) & 0x1f) == rel->howto->bitsize - 1);
720 || rel->howto == NULL
721 || rel->howto->rightshift != 0
722 || rel->howto->size != 2
723 || rel->howto
791 reloc_howto_type *howto; local
[all...]
H A Dcoff-tic30.c57 map to the howto table entries that match those in both the aout
85 /* Turn a howto into a reloc number. */
88 coff_tic30_select_reloc (howto)
89 reloc_howto_type *howto;
91 return howto->type;
94 #define SELECT_RELOC(x,howto) x.r_type = coff_tic30_select_reloc(howto)
106 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
116 internal->howto
[all...]
H A Delf32-d10v.c232 /* Set the howto pointer for an D10V ELF reloc. */
244 cache_ptr->howto = &elf_d10v_howto_table[r_type];
354 extract_rel_addend (abfd, where, howto)
357 reloc_howto_type *howto;
361 switch (howto->size)
376 val = (insn & howto->dst_mask) >> howto->bitpos << howto->rightshift;
378 have that info directly in the howto. */
379 if (howto
448 reloc_howto_type *howto; local
[all...]
H A Delf32-d30v.c271 reloc_howto_type *howto = reloc_entry->howto; local
317 if (howto->pc_relative)
336 if (howto->pc_relative && howto->bitsize == 32)
380 reloc_howto_type *howto = reloc_entry->howto; local
426 if (howto->pc_relative)
430 if (howto->pcrel_offset)
436 mask = (1 << howto
[all...]
H A Dcoff-i386.c111 reloc_howto_type *howto = reloc_entry->howto; local
114 PE and non-PE formats, but they are off by 1 << howto->size
120 if (howto->pc_relative && howto->pcrel_offset)
121 diff = -(1 << howto->size);
132 if (reloc_entry->howto->type == R_IMAGEBASE
139 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto
143 reloc_howto_type *howto = reloc_entry->howto; local
448 reloc_howto_type *howto; local
[all...]
H A Dcoff-w65.c51 /* Turn a howto into a reloc number. */
53 #define SELECT_RELOC(x,howto) \
54 { x.r_type = select_reloc(howto); }
68 select_reloc (howto)
69 reloc_howto_type *howto;
71 return howto->type ;
74 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
81 internal->howto = howto_table + dst->r_type - 1;
137 switch (reloc->howto
[all...]
H A Dcoff-z8k.c69 /* Turn a howto into a reloc number */
72 coff_z8k_select_reloc (reloc_howto_type *howto) argument
74 return howto->type;
77 #define SELECT_RELOC(x,howto) x.r_type = coff_z8k_select_reloc(howto)
90 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
101 internal->howto = &r_imm8;
104 internal->howto = &r_da;
107 internal->howto
[all...]
H A Dcoff-m68k.c40 Only declare the relocation howto array. Don't actually compile
44 Make the relocation howto array, and associated functions, static.
119 /* Turn a howto into a reloc number */
146 case R_RELBYTE: internal->howto = m68kcoff_howto_table + 0; break;
147 case R_RELWORD: internal->howto = m68kcoff_howto_table + 1; break;
148 case R_RELLONG: internal->howto = m68kcoff_howto_table + 2; break;
149 case R_PCRBYTE: internal->howto = m68kcoff_howto_table + 3; break;
150 case R_PCRWORD: internal->howto = m68kcoff_howto_table + 4; break;
151 case R_PCRLONG: internal->howto = m68kcoff_howto_table + 5; break;
152 case R_RELLONG_NEG: internal->howto
231 reloc_howto_type *howto; local
303 reloc_howto_type *howto = reloc_entry->howto; local
391 reloc_howto_type *howto; local
[all...]
H A Dcoff-mcore.c291 BFD_ASSERT (reloc_entry->howto != (reloc_howto_type *)0);
295 reloc_entry->howto->name,
296 reloc_entry->howto->type);
329 (cache_ptr)->howto = mcore_coff_howto_table + (dst)->r_type;
340 reloc_howto_type * howto;
345 howto = mcore_coff_howto_table + rel->r_type;
350 else if (howto->pc_relative)
366 return howto;
373 in_reloc_p (abfd, howto)
375 reloc_howto_type * howto;
334 reloc_howto_type * howto; local
427 reloc_howto_type * howto = NULL; local
[all...]
H A Dcoff-we32k.c56 /* Turn a howto into a reloc nunmber */
58 #define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
63 (cache_ptr)->howto = howto_table + (dst)->r_type;
H A Dcoff-h8300.c281 /* Turn a howto into a reloc number. */
283 #define SELECT_RELOC(x,howto) \
284 { x.r_type = select_reloc (howto); }
299 select_reloc (reloc_howto_type *howto) argument
301 return howto->type;
304 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
312 internal->howto = howto_table + 0;
315 internal->howto = howto_table + 1;
318 internal->howto
[all...]
H A Dcoff-m88k.c66 reloc_howto_type *howto = reloc_entry->howto; local
68 switch (howto->type)
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
112 relocation >>= (bfd_vma) howto->rightshift;
116 relocation <<= (bfd_vma) howto->bitpos;
237 above howto table. */
245 cache_ptr->howto = howto_table + dst->r_type - R_PCR16L;
H A Dpe-mips.c120 if (reloc_entry->howto->type == MIPS_R_RVA && diff != 0)
126 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_mask))
130 reloc_howto_type *howto = reloc_entry->howto; local
133 switch (howto->size)
173 in_reloc_p (abfd, howto)
175 reloc_howto_type *howto;
425 reloc_howto_type *howto; local
669 reloc_howto_type *howto; local
[all...]
H A Dcoff-i860.c87 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask))
91 reloc_howto_type *howto = reloc_entry->howto; local
94 switch (howto->size)
141 reloc_howto_type *howto = reloc_entry->howto; local
142 fprintf (stderr, _("Relocation `%s' not yet implemented\n"), howto->name);
436 /* Turn a howto int
504 reloc_howto_type *howto; local
[all...]
H A Daout-ns32k.c190 MY(put_reloc) (abfd, r_extern, r_index, value, howto, reloc)
195 reloc_howto_type *howto;
203 r_length = howto->size ; /* Size as a power of two. */
204 r_pcrel = (int) howto->pc_relative; /* Relative to PC? */
205 r_ns32k_type = (howto - MY(howto_table) )/6;
290 cache_ptr->howto = MY_reloc_howto(abfd, bytes, r_index, r_extern, r_pcrel);
345 MY_put_reloc (abfd, r_extern, r_index, g->address, g->howto, natptr);
349 _bfd_ns32k_relocate_contents (howto, input_bfd, relocation, location)
350 reloc_howto_type *howto;
355 int r_ns32k_type = (howto
[all...]
H A Delf32-i960.c96 cache_ptr->howto = &elf_howto_table[(int) type];
105 into bfd_perform_relocation, all the reloc types use this howto
125 && reloc_entry->howto->pc_relative
126 && !reloc_entry->howto->pcrel_offset)
141 && (! reloc_entry->howto->partial_inplace
H A Daout-tic30.c394 tic30_aout_final_link_relocate (howto, input_bfd, input_section, contents,
396 reloc_howto_type *howto;
410 if (howto->pc_relative)
413 if (howto->pcrel_offset)
416 return tic30_aout_relocate_contents (howto, input_bfd, relocation,
421 tic30_aout_relocate_contents (howto, input_bfd, relocation, location)
422 reloc_howto_type *howto;
430 if (howto->size < 0)
433 switch (howto->size)
455 if (howto
[all...]
H A Delf32-i860.c45 && (! reloc_entry->howto->partial_inplace
83 relocation >>= reloc_entry->howto->rightshift;
84 insn = (insn & ~reloc_entry->howto->dst_mask)
85 | (relocation & reloc_entry->howto->dst_mask);
108 && (! reloc_entry->howto->partial_inplace
146 relocation >>= reloc_entry->howto->rightshift;
148 & reloc_entry->howto->dst_mask;
149 insn = (insn & ~reloc_entry->howto->dst_mask) | relocation;
172 && (! reloc_entry->howto->partial_inplace
225 && (! reloc_entry->howto
908 reloc_howto_type *howto; local
934 reloc_howto_type *howto; local
966 reloc_howto_type *howto; 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
1078 reloc_howto_type * howto; local
[all...]
H A Delf32-gen.c57 bfd_reloc->howto = &dummy;
66 bfd_reloc->howto = &dummy;
H A Delf64-gen.c57 bfd_reloc->howto = &dummy;
66 bfd_reloc->howto = &dummy;

Completed in 234 milliseconds

123456