HomeSort by relevance Sort by last modified time
    Searched refs:howto (Results 1 - 25 of 230) sorted by null

1 2 3 4 5 6 7 8 910

  /toolchain/binutils/binutils-2.25/bfd/
cpu-ns32k.c 157 reloc_howto_type *howto = reloc_entry->howto; local
192 if (output_bfd != NULL && ! howto->partial_inplace)
205 if (howto->pc_relative)
237 if (howto->pcrel_offset)
243 if (! howto->partial_inplace)
360 if (howto->complain_on_overflow != complain_overflow_dont)
366 if (howto->rightshift > howto->bitpos)
367 check = relocation >> (howto->rightshift - howto->bitpos)
    [all...]
reloc.c 41 @* howto manager::
56 typedef arelent, howto manager, Relocations, Relocations
109 . reloc_howto_type *howto;
149 the howto. For example, on the 68k the code:
231 o <<howto>>
233 The <<howto>> field can be imagined as a
239 but it would be possible to create each howto field on demand.
372 The HOWTO Macro
375 The HOWTO define is horrible and will go away.
377 .#define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC)
583 reloc_howto_type *howto = reloc_entry->howto; local
969 reloc_howto_type *howto = reloc_entry->howto; local
    [all...]
nlm32-i386.c 35 HOWTO (0, /* Type. */
52 HOWTO (1, /* Type. */
111 rel->howto = &nlm_i386_abs_howto;
118 rel->howto = &nlm_i386_pcrel_howto;
121 rel->howto = &nlm_i386_abs_howto;
154 || rel->howto == NULL
155 || rel->howto->rightshift != 0
156 || rel->howto->size != 2
157 || rel->howto->bitsize != 32
158 || rel->howto->bitpos !=
    [all...]
coff-apollo.c 37 HOWTO (R_RELBYTE, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "8", TRUE, 0x000000ff,0x000000ff, FALSE),
38 HOWTO (R_RELWORD, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, 0, "16", TRUE, 0x0000ffff,0x0000ffff, FALSE),
39 HOWTO (R_RELLONG, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "32", TRUE, 0xffffffff,0xffffffff, FALSE),
40 HOWTO (R_PCRBYTE, 0, 0, 8, TRUE, 0, complain_overflow_signed, 0, "DISP8", TRUE, 0x000000ff,0x000000ff, FALSE),
41 HOWTO (R_PCRWORD, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0, "DISP16", TRUE, 0x0000ffff,0x0000ffff, FALSE),
42 HOWTO (R_PCRLONG, 0, 2, 32, TRUE, 0, complain_overflow_signed, 0, "DISP32", TRUE, 0xffffffff,0xffffffff, FALSE),
43 HOWTO (R_RELLONG_NEG, 0, -2, 32, FALSE, 0, complain_overflow_bitfield, 0, "-32", TRUE, 0xffffffff,0xffffffff, FALSE),
52 /* Turn a howto into a reloc number. */
63 case R_RELBYTE: internal->howto = apollocoff_howto_table + 0; break;
64 case R_RELWORD: internal->howto = apollocoff_howto_table + 1; break
    [all...]
nlm32-ppc.c 87 HOWTO (0, /* Type. */
102 HOWTO (1, /* Type. */
117 HOWTO (2, /* Type. */
132 HOWTO (3, /* Type. */
147 HOWTO (4, /* Type. */
162 HOWTO (5, /* Type. */
177 HOWTO (6, /* Type. */
194 HOWTO (8, /* Type. */
211 HOWTO (0xa, /* Type. */
228 HOWTO (0xc, /* Type. *
741 reloc_howto_type *howto; local
    [all...]
coff-mcore.c 64 HOWTO (IMAGE_REL_MCORE_ABSOLUTE,/* type */
78 HOWTO (IMAGE_REL_MCORE_ADDR32,/* type */
94 HOWTO (IMAGE_REL_MCORE_PCREL_IMM8BY4, /* type */
111 HOWTO (IMAGE_REL_MCORE_PCREL_IMM11BY2,/* type */
126 HOWTO (IMAGE_REL_MCORE_PCREL_IMM4BY2, /* type */
141 HOWTO (IMAGE_REL_MCORE_PCREL_32,/* type */
162 HOWTO (IMAGE_REL_MCORE_PCREL_JSR_IMM11BY2,/* type */
176 HOWTO (IMAGE_REL_MCORE_RVA, /* type */
247 BFD_ASSERT (reloc_entry->howto != (reloc_howto_type *)0);
251 reloc_entry->howto->name
304 reloc_howto_type * howto; local
388 reloc_howto_type * howto = NULL; local
    [all...]
coff-h8500.c 35 HOWTO (R_H8500_IMM8, 0, 1, 8, FALSE, 0,
39 HOWTO (R_H8500_IMM16, 0, 1, 16, FALSE, 0,
43 HOWTO (R_H8500_IMM24, 0, 1, 24, FALSE, 0,
47 HOWTO (R_H8500_IMM32, 0, 1, 32, FALSE, 0,
51 HOWTO (R_H8500_HIGH8, 0, 1, 8, FALSE, 0,
55 HOWTO (R_H8500_LOW16, 0, 1, 16, FALSE, 0,
59 HOWTO (R_H8500_PCREL8, 0, 1, 8, TRUE, 0, complain_overflow_signed, 0, "r_pcrel8", TRUE, 0, 0, TRUE);
62 HOWTO (R_H8500_PCREL16, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0, "r_pcrel16", TRUE, 0, 0, TRUE);
65 HOWTO (R_H8500_HIGH16, 0, 1, 8, FALSE, 0,
69 /* Turn a howto into a reloc number. *
    [all...]
coff-m68k.c 39 Only declare the relocation howto array. Don't actually compile
43 Make the relocation howto array, and associated functions, static.
98 HOWTO (R_RELBYTE, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, RELOC_SPECIAL_FN, "8", TRUE, 0x000000ff,0x000000ff, FALSE),
99 HOWTO (R_RELWORD, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, RELOC_SPECIAL_FN, "16", TRUE, 0x0000ffff,0x0000ffff, FALSE),
100 HOWTO (R_RELLONG, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, RELOC_SPECIAL_FN, "32", TRUE, 0xffffffff,0xffffffff, FALSE),
101 HOWTO (R_PCRBYTE, 0, 0, 8, TRUE, 0, complain_overflow_signed, RELOC_SPECIAL_FN, "DISP8", TRUE, 0x000000ff,0x000000ff, FALSE),
102 HOWTO (R_PCRWORD, 0, 1, 16, TRUE, 0, complain_overflow_signed, RELOC_SPECIAL_FN, "DISP16", TRUE, 0x0000ffff,0x0000ffff, FALSE),
103 HOWTO (R_PCRLONG, 0, 2, 32, TRUE, 0, complain_overflow_signed, RELOC_SPECIAL_FN, "DISP32", TRUE, 0xffffffff,0xffffffff, FALSE),
104 HOWTO (R_RELLONG_NEG, 0, -2, 32, FALSE, 0, complain_overflow_bitfield, RELOC_SPECIAL_FN, "-32", TRUE, 0xffffffff,0xffffffff, FALSE),
113 /* Turn a howto into a reloc number *
233 reloc_howto_type *howto; local
304 reloc_howto_type *howto = reloc_entry->howto; local
391 reloc_howto_type *howto; local
    [all...]
elf32-d30v.c 48 reloc_howto_type *howto = reloc_entry->howto; local
93 if (howto->pc_relative)
113 if (howto->pc_relative && howto->bitsize == 32)
156 reloc_howto_type *howto = reloc_entry->howto; local
202 if (howto->pc_relative)
206 if (howto->pcrel_offset)
212 mask = (1 << howto->bitsize) - 1
    [all...]
coff-tic30.c 34 HOWTO (R_TIC30_ABS16, 2, 1, 16, FALSE, 0, 0, NULL,
36 HOWTO (R_TIC30_ABS24, 2, 2, 24, FALSE, 8, complain_overflow_bitfield, NULL,
38 HOWTO (R_TIC30_LDP, 18, 0, 24, FALSE, 0, complain_overflow_bitfield, NULL,
40 HOWTO (R_TIC30_ABS32, 2, 2, 32, FALSE, 0, complain_overflow_bitfield, NULL,
42 HOWTO (R_TIC30_PC16, 2, 1, 16, TRUE, 0, complain_overflow_signed, NULL,
52 map to the howto table entries that match those in both the aout
96 /* Turn a howto into a reloc number. */
99 coff_tic30_select_reloc (reloc_howto_type *howto)
101 return howto->type;
104 #define SELECT_RELOC(x,howto) x.r_type = coff_tic30_select_reloc(howto
    [all...]
coff-i386.c 110 reloc_howto_type *howto = reloc_entry->howto; local
113 PE and non-PE formats, but they are off by 1 << howto->size
119 if (howto->pc_relative && howto->pcrel_offset)
120 diff = -(1 << howto->size);
133 if (reloc_entry->howto->type == R_IMAGEBASE
140 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)
144 reloc_howto_type *howto = reloc_entry->howto; local
442 reloc_howto_type *howto; local
    [all...]
coff-x86_64.c 109 reloc_howto_type *howto = reloc_entry->howto; local
112 PE and non-PE formats, but they are off by 1 << howto->size
118 if(howto->pc_relative && howto->pcrel_offset)
119 diff = -(1 << howto->size);
132 if (reloc_entry->howto->type == R_AMD64_IMAGEBASE
139 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)
143 reloc_howto_type *howto = reloc_entry->howto; local
550 reloc_howto_type *howto; local
    [all...]
elf32-d10v.c 34 HOWTO (R_D10V_NONE, /* Type. */
49 HOWTO (R_D10V_10_PCREL_R, /* Type. */
64 HOWTO (R_D10V_10_PCREL_L, /* Type. */
79 HOWTO (R_D10V_16, /* Type. */
94 HOWTO (R_D10V_18, /* Type. */
109 HOWTO (R_D10V_18_PCREL, /* Type. */
124 HOWTO (R_D10V_32, /* Type. */
139 HOWTO (R_D10V_GNU_VTINHERIT, /* Type. */
154 HOWTO (R_D10V_GNU_VTENTRY, /* Type. */
221 /* Set the howto pointer for an D10V ELF reloc. *
410 reloc_howto_type *howto; local
    [all...]
mach-o-i386.c 66 HOWTO(BFD_RELOC_32, 0, 2, 32, FALSE, 0,
70 HOWTO(BFD_RELOC_16, 0, 1, 16, FALSE, 0,
74 HOWTO(BFD_RELOC_8, 0, 0, 8, FALSE, 0,
78 HOWTO(BFD_RELOC_32_PCREL, 0, 2, 32, TRUE, 0,
83 HOWTO(BFD_RELOC_16_PCREL, 0, 1, 16, TRUE, 0,
87 HOWTO(BFD_RELOC_MACH_O_SECTDIFF, 0, 2, 32, FALSE, 0,
91 HOWTO(BFD_RELOC_MACH_O_LOCAL_SECTDIFF, 0, 2, 32, FALSE, 0,
95 HOWTO(BFD_RELOC_MACH_O_PAIR, 0, 2, 32, FALSE, 0,
100 HOWTO(BFD_RELOC_MACH_O_SECTDIFF, 0, 1, 16, FALSE, 0,
104 HOWTO(BFD_RELOC_MACH_O_LOCAL_SECTDIFF, 0, 1, 16, FALSE, 0
    [all...]
coff-w65.c 33 HOWTO (R_W65_ABS8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "abs8", TRUE, 0x000000ff, 0x000000ff, FALSE),
34 HOWTO (R_W65_ABS16, 1, 0, 16, FALSE, 0, complain_overflow_bitfield, 0, "abs16", TRUE, 0x0000ffff, 0x0000ffff, FALSE),
35 HOWTO (R_W65_ABS24, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "abs24", TRUE, 0x00ffffff, 0x00ffffff, FALSE),
36 HOWTO (R_W65_ABS8S8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, ">abs8", TRUE, 0x000000ff, 0x000000ff, FALSE),
37 HOWTO (R_W65_ABS8S16, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "^abs8", TRUE, 0x000000ff, 0x000000ff, FALSE),
38 HOWTO (R_W65_ABS16S8, 1, 0, 16, FALSE, 0, complain_overflow_bitfield, 0, ">abs16", TRUE, 0x0000ffff, 0x0000ffff, FALSE),
39 HOWTO (R_W65_ABS16S16,1, 0, 16, FALSE, 0, complain_overflow_bitfield, 0, "^abs16", TRUE, 0x0000ffff, 0x0000ffff, FALSE),
40 HOWTO (R_W65_PCR8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "pcrel8", TRUE, 0x000000ff, 0x000000ff, TRUE),
41 HOWTO (R_W65_PCR16, 1, 0, 16, FALSE, 0, complain_overflow_bitfield, 0, "pcrel16", TRUE, 0x0000ffff, 0x0000ffff, TRUE),
42 HOWTO (R_W65_DP, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "dp", TRUE, 0x000000ff, 0x0000 (…)
    [all...]
coff-we32k.c 39 HOWTO(R_DIR32, 0, 2, 32, FALSE, 0,complain_overflow_bitfield, 0, "dir32", TRUE, 0xffffffff,0xffffffff, FALSE),
48 HOWTO(R_RELBYTE, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "8", TRUE, 0x000000ff,0x000000ff, FALSE),
49 HOWTO(R_RELWORD, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, 0, "16", TRUE, 0x0000ffff,0x0000ffff, FALSE),
50 HOWTO(R_RELLONG, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "32", TRUE, 0xffffffff,0xffffffff, FALSE),
51 HOWTO(R_PCRBYTE, 0, 0, 8, TRUE, 0, complain_overflow_signed, 0, "DISP8", TRUE, 0x000000ff,0x000000ff, FALSE),
52 HOWTO(R_PCRWORD, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0, "DISP16", TRUE, 0x0000ffff,0x0000ffff, FALSE),
53 HOWTO(R_PCRLONG, 0, 2, 32, TRUE, 0, complain_overflow_signed, 0, "DISP32", TRUE, 0xffffffff,0xffffffff, FALSE),
56 /* Turn a howto into a reloc nunmber */
58 #define SELECT_RELOC(x,howto) { x.r_type = howto->type;
    [all...]
mach-o-x86-64.c 70 HOWTO(BFD_RELOC_64, 0, 4, 64, FALSE, 0,
74 HOWTO(BFD_RELOC_32, 0, 2, 32, FALSE, 0,
78 HOWTO(BFD_RELOC_32_PCREL, 0, 2, 32, TRUE, 0,
82 HOWTO(BFD_RELOC_MACH_O_X86_64_PCREL32_1, 0, 2, 32, TRUE, 0,
87 HOWTO(BFD_RELOC_MACH_O_X86_64_PCREL32_2, 0, 2, 32, TRUE, 0,
91 HOWTO(BFD_RELOC_MACH_O_X86_64_PCREL32_4, 0, 2, 32, TRUE, 0,
95 HOWTO(BFD_RELOC_MACH_O_X86_64_BRANCH32, 0, 2, 32, TRUE, 0,
99 HOWTO(BFD_RELOC_MACH_O_X86_64_GOT_LOAD, 0, 2, 32, TRUE, 0,
104 HOWTO(BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, 0, 2, 32, FALSE, 0,
108 HOWTO(BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64, 0, 4, 64, FALSE, 0
    [all...]
coff-h8300.c 216 HOWTO (R_RELBYTE, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, special, "8", FALSE, 0x000000ff, 0x000000ff, FALSE),
217 HOWTO (R_RELWORD, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, special, "16", FALSE, 0x0000ffff, 0x0000ffff, FALSE),
218 HOWTO (R_RELLONG, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, special, "32", FALSE, 0xffffffff, 0xffffffff, FALSE),
219 HOWTO (R_PCRBYTE, 0, 0, 8, TRUE, 0, complain_overflow_signed, special, "DISP8", FALSE, 0x000000ff, 0x000000ff, TRUE),
220 HOWTO (R_PCRWORD, 0, 1, 16, TRUE, 0, complain_overflow_signed, special, "DISP16", FALSE, 0x0000ffff, 0x0000ffff, TRUE),
221 HOWTO (R_PCRLONG, 0, 2, 32, TRUE, 0, complain_overflow_signed, special, "DISP32", FALSE, 0xffffffff, 0xffffffff, TRUE),
222 HOWTO (R_MOV16B1, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, special, "relaxable mov.b:16", FALSE, 0x0000ffff, 0x0000ffff, FALSE),
223 HOWTO (R_MOV16B2, 0, 1, 8, FALSE, 0, complain_overflow_bitfield, special, "relaxed mov.b:16", FALSE, 0x000000ff, 0x000000ff, FALSE),
224 HOWTO (R_JMP1, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, special, "16/pcrel", FALSE, 0x0000ffff, 0x0000ffff, FALSE),
225 HOWTO (R_JMP2, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, special, "pcrecl/16", FALSE, 0x000000ff, 0 (…)
    [all...]
coff-m88k.c 57 reloc_howto_type *howto = reloc_entry->howto; local
59 switch (howto->type)
99 relocation += ((reloc_entry->addend << howto->bitsize) + x);
103 relocation >>= (bfd_vma) howto->rightshift;
107 relocation <<= (bfd_vma) howto->bitpos;
142 HOWTO (R_PCR16L, /* type */
156 HOWTO (R_PCR26L, /* type */
170 HOWTO (R_VRT16, /* type */
184 HOWTO (R_HVRT16, /* type *
    [all...]
coff-z8k.c 34 HOWTO (R_IMM32, 0, 2, 32, FALSE, 0,
39 HOWTO (R_IMM4L, 0, 0, 4, FALSE, 0,
43 HOWTO (R_IMM16, 0, 1, 16, FALSE, 0,
48 HOWTO (R_IMM8, 0, 0, 8, FALSE, 0,
53 HOWTO (R_REL16, 0, 1, 16, FALSE, 0,
58 HOWTO (R_JR, 1, 0, 8, TRUE, 0, complain_overflow_signed, 0,
62 HOWTO (R_DISP7, 0, 0, 7, TRUE, 0, complain_overflow_bitfield, 0,
66 HOWTO (R_CALLR, 1, 1, 12, TRUE, 0, complain_overflow_signed, 0,
80 /* Code to turn a r_type into a howto ptr, uses the above howto table. *
    [all...]
coff-i860.c 91 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask))
95 reloc_howto_type *howto = reloc_entry->howto; local
98 switch (howto->size)
145 reloc_howto_type *howto = reloc_entry->howto; local
146 (*_bfd_error_handler) (_("relocation `%s' not yet implemented"), howto->name);
162 HOWTO (R_DIR32, /* type *
484 reloc_howto_type *howto; local
    [all...]
coff-z80.c 33 HOWTO (R_IMM32, 0, 2, 32, FALSE, 0,
38 HOWTO (R_IMM24, 0, 1, 24, FALSE, 0,
43 HOWTO (R_IMM16, 0, 1, 16, FALSE, 0,
48 HOWTO (R_IMM8, 0, 0, 8, FALSE, 0,
53 HOWTO (R_JR, 0, 0, 8, TRUE, 0,
58 HOWTO (R_OFF8, 0, 0, 8, FALSE, 0,
76 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
87 internal->howto = &r_imm8;
90 internal->howto = &r_imm16
    [all...]
elf32-i960.c 41 into bfd_perform_relocation, all the reloc types use this howto
59 && reloc_entry->howto->pc_relative
60 && !reloc_entry->howto->pcrel_offset)
73 && (! reloc_entry->howto->partial_inplace
86 HOWTO (R_960_NONE, 0, 0, 0, FALSE, 0, complain_overflow_bitfield,
90 HOWTO (R_960_32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield,
93 HOWTO (R_960_IP24, 0, 2, 24, TRUE, 0, complain_overflow_signed,
137 cache_ptr->howto = &elf_howto_table[(int) type];
elf32-moxie.c 35 HOWTO (R_MOXIE_NONE, /* type */
50 HOWTO (R_MOXIE_32, /* type */
65 HOWTO (R_MOXIE_PCREL10, /* type. */
125 /* Set the howto pointer for an MOXIE ELF reloc. */
136 cache_ptr->howto = & moxie_elf_howto_table [r_type];
144 moxie_final_link_relocate (reloc_howto_type *howto,
153 switch (howto->type)
156 r = _bfd_final_link_relocate (howto, input_bfd, input_section,
216 reloc_howto_type *howto;
228 howto = moxie_elf_howto_table + r_type
213 reloc_howto_type *howto; local
    [all...]
elfxx-aarch64.c 159 reloc_howto_type *howto, bfd_signed_vma addend)
166 size = bfd_get_reloc_size (howto);
173 if (howto->src_mask != 0xffffffff)
187 switch (howto->complain_on_overflow)
193 howto->bitsize + howto->rightshift);
197 howto->bitsize + howto->rightshift);
204 addend >>= howto->rightshift;
223 if (old_addend & ((1 << howto->rightshift) - 1)
    [all...]

Completed in 287 milliseconds

1 2 3 4 5 6 7 8 910