Home | History | Annotate | Download | only in bfd

Lines Matching defs:howto

109 	  reloc_howto_type *howto = reloc_entry->howto;
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;
146 switch (howto->size)
193 in_reloc_p (bfd *abfd ATTRIBUTE_UNUSED, reloc_howto_type *howto)
195 return ! howto->pc_relative && howto->type != R_AMD64_IMAGEBASE
196 && howto->type != R_AMD64_SECREL;
207 HOWTO (R_AMD64_DIR64, /* type 1*/
220 HOWTO (R_AMD64_DIR32, /* type 2 */
234 HOWTO (R_AMD64_IMAGEBASE, /* type */
248 HOWTO (R_AMD64_PCRLONG, /* type 4 */
262 HOWTO (R_AMD64_PCRLONG_1, /* type 5 */
275 HOWTO (R_AMD64_PCRLONG_2, /* type 6 */
288 HOWTO (R_AMD64_PCRLONG_3, /* type 7 */
301 HOWTO (R_AMD64_PCRLONG_4, /* type 8 */
314 HOWTO (R_AMD64_PCRLONG_5, /* type 9 */
330 HOWTO (R_AMD64_SECREL, /* type */
349 HOWTO (R_AMD64_PCRQUAD,
366 HOWTO (R_RELBYTE, /* type */
380 HOWTO (R_RELWORD, /* type */
394 HOWTO (R_RELLONG, /* type */
408 HOWTO (R_PCRBYTE, /* type */
422 HOWTO (R_PCRWORD, /* type */
436 HOWTO (R_PCRLONG, /* type */
453 /* Turn a howto into a reloc nunmber */
455 #define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
460 ((cache_ptr)->howto = \
540 /* Convert an rtype to howto for the COFF backend linker. */
550 reloc_howto_type *howto;
557 howto = howto_table + rel->r_type;
569 if (howto->pc_relative)
602 if (howto->pc_relative)
644 return howto;