Home | History | Annotate | Download | only in bfd

Lines Matching defs:howto

74    R_ARM_PC24 as an index into this, and find the R_ARM_PC24 HOWTO
80 HOWTO (R_ARM_NONE, /* type */
94 HOWTO (R_ARM_PC24, /* type */
109 HOWTO (R_ARM_ABS32, /* type */
124 HOWTO (R_ARM_REL32, /* type */
139 HOWTO (R_ARM_LDR_PC_G0, /* type */
154 HOWTO (R_ARM_ABS16, /* type */
169 HOWTO (R_ARM_ABS12, /* type */
183 HOWTO (R_ARM_THM_ABS5, /* type */
198 HOWTO (R_ARM_ABS8, /* type */
212 HOWTO (R_ARM_SBREL32, /* type */
226 HOWTO (R_ARM_THM_CALL, /* type */
240 HOWTO (R_ARM_THM_PC8, /* type */
254 HOWTO (R_ARM_BREL_ADJ, /* type */
268 HOWTO (R_ARM_TLS_DESC, /* type */
282 HOWTO (R_ARM_THM_SWI8, /* type */
297 HOWTO (R_ARM_XPC25, /* type */
312 HOWTO (R_ARM_THM_XPC22, /* type */
328 HOWTO (R_ARM_TLS_DTPMOD32, /* type */
342 HOWTO (R_ARM_TLS_DTPOFF32, /* type */
356 HOWTO (R_ARM_TLS_TPOFF32, /* type */
372 HOWTO (R_ARM_COPY, /* type */
386 HOWTO (R_ARM_GLOB_DAT, /* type */
400 HOWTO (R_ARM_JUMP_SLOT, /* type */
414 HOWTO (R_ARM_RELATIVE, /* type */
428 HOWTO (R_ARM_GOTOFF32, /* type */
442 HOWTO (R_ARM_GOTPC, /* type */
456 HOWTO (R_ARM_GOT32, /* type */
470 HOWTO (R_ARM_PLT32, /* type */
484 HOWTO (R_ARM_CALL, /* type */
498 HOWTO (R_ARM_JUMP24, /* type */
512 HOWTO (R_ARM_THM_JUMP24, /* type */
526 HOWTO (R_ARM_BASE_ABS, /* type */
540 HOWTO (R_ARM_ALU_PCREL7_0, /* type */
554 HOWTO (R_ARM_ALU_PCREL15_8, /* type */
568 HOWTO (R_ARM_ALU_PCREL23_15, /* type */
582 HOWTO (R_ARM_LDR_SBREL_11_0, /* type */
596 HOWTO (R_ARM_ALU_SBREL_19_12, /* type */
610 HOWTO (R_ARM_ALU_SBREL_27_20, /* type */
624 HOWTO (R_ARM_TARGET1, /* type */
638 HOWTO (R_ARM_ROSEGREL32, /* type */
652 HOWTO (R_ARM_V4BX, /* type */
666 HOWTO (R_ARM_TARGET2, /* type */
680 HOWTO (R_ARM_PREL31, /* type */
694 HOWTO (R_ARM_MOVW_ABS_NC, /* type */
708 HOWTO (R_ARM_MOVT_ABS, /* type */
722 HOWTO (R_ARM_MOVW_PREL_NC, /* type */
736 HOWTO (R_ARM_MOVT_PREL, /* type */
750 HOWTO (R_ARM_THM_MOVW_ABS_NC, /* type */
764 HOWTO (R_ARM_THM_MOVT_ABS, /* type */
778 HOWTO (R_ARM_THM_MOVW_PREL_NC,/* type */
792 HOWTO (R_ARM_THM_MOVT_PREL, /* type */
806 HOWTO (R_ARM_THM_JUMP19, /* type */
820 HOWTO (R_ARM_THM_JUMP6, /* type */
837 HOWTO (R_ARM_THM_ALU_PREL_11_0,/* type */
851 HOWTO (R_ARM_THM_PC12, /* type */
865 HOWTO (R_ARM_ABS32_NOI, /* type */
879 HOWTO (R_ARM_REL32_NOI, /* type */
895 HOWTO (R_ARM_ALU_PC_G0_NC, /* type */
909 HOWTO (R_ARM_ALU_PC_G0, /* type */
923 HOWTO (R_ARM_ALU_PC_G1_NC, /* type */
937 HOWTO (R_ARM_ALU_PC_G1, /* type */
951 HOWTO (R_ARM_ALU_PC_G2, /* type */
965 HOWTO (R_ARM_LDR_PC_G1, /* type */
979 HOWTO (R_ARM_LDR_PC_G2, /* type */
993 HOWTO (R_ARM_LDRS_PC_G0, /* type */
1007 HOWTO (R_ARM_LDRS_PC_G1, /* type */
1021 HOWTO (R_ARM_LDRS_PC_G2, /* type */
1035 HOWTO (R_ARM_LDC_PC_G0, /* type */
1049 HOWTO (R_ARM_LDC_PC_G1, /* type */
1063 HOWTO (R_ARM_LDC_PC_G2, /* type */
1077 HOWTO (R_ARM_ALU_SB_G0_NC, /* type */
1091 HOWTO (R_ARM_ALU_SB_G0, /* type */
1105 HOWTO (R_ARM_ALU_SB_G1_NC, /* type */
1119 HOWTO (R_ARM_ALU_SB_G1, /* type */
1133 HOWTO (R_ARM_ALU_SB_G2, /* type */
1147 HOWTO (R_ARM_LDR_SB_G0, /* type */
1161 HOWTO (R_ARM_LDR_SB_G1, /* type */
1175 HOWTO (R_ARM_LDR_SB_G2, /* type */
1189 HOWTO (R_ARM_LDRS_SB_G0, /* type */
1203 HOWTO (R_ARM_LDRS_SB_G1, /* type */
1217 HOWTO (R_ARM_LDRS_SB_G2, /* type */
1231 HOWTO (R_ARM_LDC_SB_G0, /* type */
1245 HOWTO (R_ARM_LDC_SB_G1, /* type */
1259 HOWTO (R_ARM_LDC_SB_G2, /* type */
1275 HOWTO (R_ARM_MOVW_BREL_NC, /* type */
1289 HOWTO (R_ARM_MOVT_BREL, /* type */
1303 HOWTO (R_ARM_MOVW_BREL, /* type */
1317 HOWTO (R_ARM_THM_MOVW_BREL_NC,/* type */
1331 HOWTO (R_ARM_THM_MOVT_BREL, /* type */
1345 HOWTO (R_ARM_THM_MOVW_BREL, /* type */
1359 HOWTO (R_ARM_TLS_GOTDESC, /* type */
1373 HOWTO (R_ARM_TLS_CALL, /* type */
1387 HOWTO (R_ARM_TLS_DESCSEQ, /* type */
1401 HOWTO (R_ARM_THM_TLS_CALL, /* type */
1415 HOWTO (R_ARM_PLT32_ABS, /* type */
1429 HOWTO (R_ARM_GOT_ABS, /* type */
1443 HOWTO (R_ARM_GOT_PREL, /* type */
1457 HOWTO (R_ARM_GOT_BREL12, /* type */
1471 HOWTO (R_ARM_GOTOFF12, /* type */
1488 HOWTO (R_ARM_GNU_VTENTRY, /* type */
1503 HOWTO (R_ARM_GNU_VTINHERIT, /* type */
1517 HOWTO (R_ARM_THM_JUMP11, /* type */
1531 HOWTO (R_ARM_THM_JUMP8, /* type */
1546 HOWTO (R_ARM_TLS_GD32, /* type */
1560 HOWTO (R_ARM_TLS_LDM32, /* type */
1574 HOWTO (R_ARM_TLS_LDO32, /* type */
1588 HOWTO (R_ARM_TLS_IE32, /* type */
1602 HOWTO (R_ARM_TLS_LE32, /* type */
1616 HOWTO (R_ARM_TLS_LDO12, /* type */
1630 HOWTO (R_ARM_TLS_LE12, /* type */
1644 HOWTO (R_ARM_TLS_IE12GP, /* type */
1679 HOWTO (R_ARM_THM_TLS_DESCSEQ, /* type */
1697 HOWTO (R_ARM_IRELATIVE, /* type */
1715 HOWTO (R_ARM_RREL32, /* type */
1729 HOWTO (R_ARM_RABS32, /* type */
1743 HOWTO (R_ARM_RPC24, /* type */
1757 HOWTO (R_ARM_RBASE, /* type */
1795 bfd_reloc->howto = elf32_arm_howto_from_type (r_type);
8183 elf32_arm_final_link_relocate (reloc_howto_type * howto,
8199 unsigned long r_type = howto->type;
8234 if (r_type != howto->type)
8235 howto = elf32_arm_howto_from_type (r_type);
8263 addend = bfd_get_32 (input_bfd, hit_data) & howto->src_mask;
8265 if (addend & ((howto->src_mask + 1) >> 1))
8268 signed_addend &= ~ howto->src_mask;
8390 return _bfd_final_link_relocate (howto, input_bfd, input_section,
8519 return _bfd_final_link_relocate (howto, input_bfd, input_section,
8636 value += (signed_addend << howto->size);
8638 /* RELA addends do not have to be adjusted by howto->size. */
8642 signed_addend >>= howto->rightshift;
8663 if ( signed_addend > ((bfd_signed_vma) (howto->dst_mask >> 1))
8664 || signed_addend < - ((bfd_signed_vma) ((howto->dst_mask + 1) >> 1)))
8669 value = (signed_addend & howto->dst_mask)
8670 | (bfd_get_32 (input_bfd, hit_data) & (~ howto->dst_mask));
8775 addend = bfd_get_16 (input_bfd, hit_data) & howto->src_mask;
8777 addend >>= howto->rightshift;
9078 check = relocation >> howto->rightshift;
9085 signed_check = check | ~((bfd_vma) -1 >> howto->rightshift);
9090 bitsize = howto->bitsize;
9225 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
9236 addend = bfd_get_16 (input_bfd, hit_data) & howto->src_mask;
9237 if (addend & ((howto->src_mask + 1) >> 1))
9240 signed_addend &= ~ howto->src_mask;
9248 signed_addend <<= howto->rightshift;
9256 relocation >>= howto->rightshift;
9262 relocation &= howto->dst_mask;
9263 relocation |= (bfd_get_16 (input_bfd, hit_data) & (~ howto->dst_mask));
9294 | ((howto->bitpos << 7) & 0xf00)
9295 | ((relocation >> howto->bitpos) & 0xff);
9324 return _bfd_final_link_relocate (howto, input_bfd, input_section,
9337 return _bfd_final_link_relocate (howto, input_bfd, input_section,
9470 return _bfd_final_link_relocate (howto, input_bfd, input_section,
9477 return _bfd_final_link_relocate (howto, input_bfd, input_section,
9523 return _bfd_final_link_relocate (howto, input_bfd, input_section,
9869 return _bfd_final_link_relocate (howto, input_bfd, input_section,
9880 (long) rel->r_offset, howto->name);
9886 return _bfd_final_link_relocate (howto, input_bfd, input_section,
10093 (long) rel->r_offset, howto->name);
10133 (long) rel->r_offset, abs (signed_value), howto->name);
10221 (long) rel->r_offset, abs (signed_value), howto->name);
10305 (long) rel->r_offset, abs (signed_value), howto->name);
10391 (long) rel->r_offset, abs (signed_value), howto->name);
10414 /* Add INCREMENT to the reloc (of type HOWTO) at ADDRESS. */
10418 reloc_howto_type * howto,
10423 if (howto->type == R_ARM_THM_CALL
10424 || howto->type == R_ARM_THM_JUMP24)
10451 addend = contents & howto->src_mask;
10452 if (addend & ((howto->src_mask + 1) >> 1))
10457 mask &= ~ howto->src_mask;
10462 switch (howto->type)
10472 addend <<= howto->size;
10478 addend >>= howto->rightshift;
10482 contents = (contents & ~ howto->dst_mask) | (addend & howto->dst_mask);
10538 reloc_howto_type * howto;
10558 bfd_reloc.howto = elf32_arm_howto_from_type (r_type);
10559 howto = bfd_reloc.howto;
10624 if (howto->rightshift
10625 || (howto->src_mask & (howto->src_mask + 1)))
10630 (long) rel->r_offset, howto->name);
10637 addend = value & howto->src_mask;
10638 if (addend & ((howto->src_mask + 1) >> 1))
10643 mask &= ~ howto->src_mask;
10677 value = (value & ~ howto->dst_mask)
10678 | (addend & howto->dst_mask);
10701 rel, 1, relend, howto, 0, contents);
10713 howto, (bfd_signed_vma) sec->output_offset);
10744 howto->name,
10769 r = elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
10790 howto->name,
10806 (info, (h ? &h->root : NULL), name, howto->name,