1 /* List the relocation types for arm. -*- C -*- 2 Copyright (C) 2005-2010, 2014 Red Hat, Inc. 3 This file is part of elfutils. 4 5 This file is free software; you can redistribute it and/or modify 6 it under the terms of either 7 8 * the GNU Lesser General Public License as published by the Free 9 Software Foundation; either version 3 of the License, or (at 10 your option) any later version 11 12 or 13 14 * the GNU General Public License as published by the Free 15 Software Foundation; either version 2 of the License, or (at 16 your option) any later version 17 18 or both in parallel, as here. 19 20 elfutils is distributed in the hope that it will be useful, but 21 WITHOUT ANY WARRANTY; without even the implied warranty of 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 23 General Public License for more details. 24 25 You should have received copies of the GNU General Public License and 26 the GNU Lesser General Public License along with this program. If 27 not, see <http://www.gnu.org/licenses/>. */ 28 29 /* NAME, REL|EXEC|DYN */ 30 31 RELOC_TYPE (NONE, REL) /* It really is used in ET_REL on ARM. */ 32 RELOC_TYPE (PC24, REL|EXEC|DYN) 33 RELOC_TYPE (ABS32, REL|EXEC|DYN) 34 RELOC_TYPE (REL32, REL) 35 RELOC_TYPE (PC13, REL) 36 RELOC_TYPE (ABS16, REL) 37 RELOC_TYPE (ABS12, REL) 38 RELOC_TYPE (THM_ABS5, REL) 39 RELOC_TYPE (ABS8, REL) 40 RELOC_TYPE (SBREL32, REL) 41 RELOC_TYPE (THM_PC22, REL) 42 RELOC_TYPE (THM_PC8, REL) 43 RELOC_TYPE (AMP_VCALL9, REL) 44 RELOC_TYPE (TLS_DESC, EXEC|DYN) 45 RELOC_TYPE (THM_SWI8, REL) 46 RELOC_TYPE (XPC25, REL) 47 RELOC_TYPE (THM_XPC22, REL) 48 RELOC_TYPE (TLS_DTPMOD32, EXEC|DYN) 49 RELOC_TYPE (TLS_DTPOFF32, EXEC|DYN) 50 RELOC_TYPE (TLS_TPOFF32, EXEC|DYN) 51 RELOC_TYPE (COPY, EXEC) 52 RELOC_TYPE (GLOB_DAT, EXEC|DYN) 53 RELOC_TYPE (JUMP_SLOT, EXEC|DYN) 54 RELOC_TYPE (RELATIVE, EXEC|DYN) 55 RELOC_TYPE (GOTOFF, REL) 56 RELOC_TYPE (GOTPC, REL) 57 RELOC_TYPE (GOT32, REL) 58 RELOC_TYPE (PLT32, REL) 59 RELOC_TYPE (CALL, REL) 60 RELOC_TYPE (JUMP24, REL) 61 RELOC_TYPE (THM_JUMP24, REL) 62 RELOC_TYPE (BASE_ABS, REL) 63 RELOC_TYPE (ALU_PCREL_7_0, REL) 64 RELOC_TYPE (ALU_PCREL_15_8, REL) 65 RELOC_TYPE (ALU_PCREL_23_15, REL) 66 RELOC_TYPE (LDR_SBREL_11_0, REL) 67 RELOC_TYPE (ALU_SBREL_19_12, REL) 68 RELOC_TYPE (ALU_SBREL_27_20, REL) 69 RELOC_TYPE (TARGET1, REL) 70 RELOC_TYPE (SBREL31, REL) 71 RELOC_TYPE (V4BX, REL) 72 RELOC_TYPE (TARGET2, REL) 73 RELOC_TYPE (PREL31, REL) 74 RELOC_TYPE (MOVW_ABS_NC, REL) 75 RELOC_TYPE (MOVT_ABS, REL) 76 RELOC_TYPE (MOVW_PREL_NC, REL) 77 RELOC_TYPE (MOVT_PREL, REL) 78 RELOC_TYPE (THM_MOVW_ABS_NC, REL) 79 RELOC_TYPE (THM_MOVT_ABS, REL) 80 RELOC_TYPE (THM_MOVW_PREL_NC, REL) 81 RELOC_TYPE (THM_MOVT_PREL, REL) 82 RELOC_TYPE (THM_JUMP19, REL) 83 RELOC_TYPE (THM_JUMP6, REL) 84 RELOC_TYPE (THM_ALU_PREL_11_0, REL) 85 RELOC_TYPE (THM_PC12, REL) 86 RELOC_TYPE (ABS32_NOI, REL) 87 RELOC_TYPE (REL32_NOI, REL) 88 RELOC_TYPE (ALU_PC_G0_NC, REL) 89 RELOC_TYPE (ALU_PC_G0, REL) 90 RELOC_TYPE (ALU_PC_G1_NC, REL) 91 RELOC_TYPE (ALU_PC_G1, REL) 92 RELOC_TYPE (ALU_PC_G2, REL) 93 RELOC_TYPE (LDR_PC_G1, REL) 94 RELOC_TYPE (LDR_PC_G2, REL) 95 RELOC_TYPE (LDRS_PC_G0, REL) 96 RELOC_TYPE (LDRS_PC_G1, REL) 97 RELOC_TYPE (LDRS_PC_G2, REL) 98 RELOC_TYPE (LDC_PC_G0, REL) 99 RELOC_TYPE (LDC_PC_G1, REL) 100 RELOC_TYPE (LDC_PC_G2, REL) 101 RELOC_TYPE (ALU_SB_G0_NC, REL) 102 RELOC_TYPE (ALU_SB_G0, REL) 103 RELOC_TYPE (ALU_SB_G1_NC, REL) 104 RELOC_TYPE (ALU_SB_G1, REL) 105 RELOC_TYPE (ALU_SB_G2, REL) 106 RELOC_TYPE (LDR_SB_G0, REL) 107 RELOC_TYPE (LDR_SB_G1, REL) 108 RELOC_TYPE (LDR_SB_G2, REL) 109 RELOC_TYPE (LDRS_SB_G0, REL) 110 RELOC_TYPE (LDRS_SB_G1, REL) 111 RELOC_TYPE (LDRS_SB_G2, REL) 112 RELOC_TYPE (LDC_SB_G0, REL) 113 RELOC_TYPE (LDC_SB_G1, REL) 114 RELOC_TYPE (LDC_SB_G2, REL) 115 RELOC_TYPE (MOVW_BREL_NC, REL) 116 RELOC_TYPE (MOVT_BREL, REL) 117 RELOC_TYPE (MOVW_BREL, REL) 118 RELOC_TYPE (THM_MOVW_BREL_NC, REL) 119 RELOC_TYPE (THM_MOVT_BREL, REL) 120 RELOC_TYPE (THM_MOVW_BREL, REL) 121 RELOC_TYPE (TLS_GOTDESC, REL) 122 RELOC_TYPE (TLS_CALL, REL) 123 RELOC_TYPE (TLS_DESCSEQ, REL) 124 RELOC_TYPE (THM_TLS_CALL, REL) 125 RELOC_TYPE (PLT32_ABS, REL) 126 RELOC_TYPE (GOT_ABS, REL) 127 RELOC_TYPE (GOT_PREL, REL) 128 RELOC_TYPE (GOT_BREL12, REL) 129 RELOC_TYPE (GOTOFF12, REL) 130 RELOC_TYPE (GOTRELAX, REL) 131 RELOC_TYPE (GNU_VTENTRY, REL) 132 RELOC_TYPE (GNU_VTINHERIT, REL) 133 RELOC_TYPE (THM_PC11, REL) 134 RELOC_TYPE (THM_PC9, REL) 135 RELOC_TYPE (TLS_GD32, REL) 136 RELOC_TYPE (TLS_LDM32, REL) 137 RELOC_TYPE (TLS_LDO32, REL) 138 RELOC_TYPE (TLS_IE32, REL) 139 RELOC_TYPE (TLS_LE32, REL) 140 RELOC_TYPE (TLS_LDO12, REL) 141 RELOC_TYPE (TLS_LE12, REL) 142 RELOC_TYPE (TLS_IE12GP, REL) 143 144 RELOC_TYPE (ME_TOO, REL) 145 RELOC_TYPE (THM_TLS_DESCSEQ16, REL) 146 RELOC_TYPE (THM_TLS_DESCSEQ32, REL) 147 RELOC_TYPE (THM_GOT_BREL12, REL) 148 149 RELOC_TYPE (IRELATIVE, EXEC|DYN) 150 151 RELOC_TYPE (RXPC25, REL) 152 RELOC_TYPE (RSBREL32, REL) 153 RELOC_TYPE (THM_RPC22, REL) 154 RELOC_TYPE (RREL32, REL) 155 RELOC_TYPE (RABS22, REL) 156 RELOC_TYPE (RPC24, REL) 157 RELOC_TYPE (RBASE, REL) 158