1/* List the relocation types for arm. -*- C -*- 2 Copyright (C) 2005-2010, 2014, 2015 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 31RELOC_TYPE (NONE, REL) /* It really is used in ET_REL on ARM. */ 32RELOC_TYPE (PC24, REL|EXEC|DYN) 33RELOC_TYPE (ABS32, REL|EXEC|DYN) 34RELOC_TYPE (REL32, REL) 35RELOC_TYPE (PC13, REL) 36RELOC_TYPE (ABS16, REL) 37RELOC_TYPE (ABS12, REL) 38RELOC_TYPE (THM_ABS5, REL) 39RELOC_TYPE (ABS8, REL) 40RELOC_TYPE (SBREL32, REL) 41RELOC_TYPE (THM_PC22, REL) 42RELOC_TYPE (THM_PC8, REL) 43RELOC_TYPE (AMP_VCALL9, REL) 44RELOC_TYPE (TLS_DESC, EXEC|DYN) 45RELOC_TYPE (THM_SWI8, REL) 46RELOC_TYPE (XPC25, REL) 47RELOC_TYPE (THM_XPC22, REL) 48RELOC_TYPE (TLS_DTPMOD32, EXEC|DYN) 49RELOC_TYPE (TLS_DTPOFF32, EXEC|DYN) 50RELOC_TYPE (TLS_TPOFF32, EXEC|DYN) 51RELOC_TYPE (COPY, EXEC|DYN) 52RELOC_TYPE (GLOB_DAT, EXEC|DYN) 53RELOC_TYPE (JUMP_SLOT, EXEC|DYN) 54RELOC_TYPE (RELATIVE, EXEC|DYN) 55RELOC_TYPE (GOTOFF, REL) 56RELOC_TYPE (GOTPC, REL) 57RELOC_TYPE (GOT32, REL) 58RELOC_TYPE (PLT32, REL) 59RELOC_TYPE (CALL, REL) 60RELOC_TYPE (JUMP24, REL) 61RELOC_TYPE (THM_JUMP24, REL) 62RELOC_TYPE (BASE_ABS, REL) 63RELOC_TYPE (ALU_PCREL_7_0, REL) 64RELOC_TYPE (ALU_PCREL_15_8, REL) 65RELOC_TYPE (ALU_PCREL_23_15, REL) 66RELOC_TYPE (LDR_SBREL_11_0, REL) 67RELOC_TYPE (ALU_SBREL_19_12, REL) 68RELOC_TYPE (ALU_SBREL_27_20, REL) 69RELOC_TYPE (TARGET1, REL) 70RELOC_TYPE (SBREL31, REL) 71RELOC_TYPE (V4BX, REL) 72RELOC_TYPE (TARGET2, REL) 73RELOC_TYPE (PREL31, REL) 74RELOC_TYPE (MOVW_ABS_NC, REL) 75RELOC_TYPE (MOVT_ABS, REL) 76RELOC_TYPE (MOVW_PREL_NC, REL) 77RELOC_TYPE (MOVT_PREL, REL) 78RELOC_TYPE (THM_MOVW_ABS_NC, REL) 79RELOC_TYPE (THM_MOVT_ABS, REL) 80RELOC_TYPE (THM_MOVW_PREL_NC, REL) 81RELOC_TYPE (THM_MOVT_PREL, REL) 82RELOC_TYPE (THM_JUMP19, REL) 83RELOC_TYPE (THM_JUMP6, REL) 84RELOC_TYPE (THM_ALU_PREL_11_0, REL) 85RELOC_TYPE (THM_PC12, REL) 86RELOC_TYPE (ABS32_NOI, REL) 87RELOC_TYPE (REL32_NOI, REL) 88RELOC_TYPE (ALU_PC_G0_NC, REL) 89RELOC_TYPE (ALU_PC_G0, REL) 90RELOC_TYPE (ALU_PC_G1_NC, REL) 91RELOC_TYPE (ALU_PC_G1, REL) 92RELOC_TYPE (ALU_PC_G2, REL) 93RELOC_TYPE (LDR_PC_G1, REL) 94RELOC_TYPE (LDR_PC_G2, REL) 95RELOC_TYPE (LDRS_PC_G0, REL) 96RELOC_TYPE (LDRS_PC_G1, REL) 97RELOC_TYPE (LDRS_PC_G2, REL) 98RELOC_TYPE (LDC_PC_G0, REL) 99RELOC_TYPE (LDC_PC_G1, REL) 100RELOC_TYPE (LDC_PC_G2, REL) 101RELOC_TYPE (ALU_SB_G0_NC, REL) 102RELOC_TYPE (ALU_SB_G0, REL) 103RELOC_TYPE (ALU_SB_G1_NC, REL) 104RELOC_TYPE (ALU_SB_G1, REL) 105RELOC_TYPE (ALU_SB_G2, REL) 106RELOC_TYPE (LDR_SB_G0, REL) 107RELOC_TYPE (LDR_SB_G1, REL) 108RELOC_TYPE (LDR_SB_G2, REL) 109RELOC_TYPE (LDRS_SB_G0, REL) 110RELOC_TYPE (LDRS_SB_G1, REL) 111RELOC_TYPE (LDRS_SB_G2, REL) 112RELOC_TYPE (LDC_SB_G0, REL) 113RELOC_TYPE (LDC_SB_G1, REL) 114RELOC_TYPE (LDC_SB_G2, REL) 115RELOC_TYPE (MOVW_BREL_NC, REL) 116RELOC_TYPE (MOVT_BREL, REL) 117RELOC_TYPE (MOVW_BREL, REL) 118RELOC_TYPE (THM_MOVW_BREL_NC, REL) 119RELOC_TYPE (THM_MOVT_BREL, REL) 120RELOC_TYPE (THM_MOVW_BREL, REL) 121RELOC_TYPE (TLS_GOTDESC, REL) 122RELOC_TYPE (TLS_CALL, REL) 123RELOC_TYPE (TLS_DESCSEQ, REL) 124RELOC_TYPE (THM_TLS_CALL, REL) 125RELOC_TYPE (PLT32_ABS, REL) 126RELOC_TYPE (GOT_ABS, REL) 127RELOC_TYPE (GOT_PREL, REL) 128RELOC_TYPE (GOT_BREL12, REL) 129RELOC_TYPE (GOTOFF12, REL) 130RELOC_TYPE (GOTRELAX, REL) 131RELOC_TYPE (GNU_VTENTRY, REL) 132RELOC_TYPE (GNU_VTINHERIT, REL) 133RELOC_TYPE (THM_PC11, REL) 134RELOC_TYPE (THM_PC9, REL) 135RELOC_TYPE (TLS_GD32, REL) 136RELOC_TYPE (TLS_LDM32, REL) 137RELOC_TYPE (TLS_LDO32, REL) 138RELOC_TYPE (TLS_IE32, REL) 139RELOC_TYPE (TLS_LE32, REL) 140RELOC_TYPE (TLS_LDO12, REL) 141RELOC_TYPE (TLS_LE12, REL) 142RELOC_TYPE (TLS_IE12GP, REL) 143 144RELOC_TYPE (ME_TOO, REL) 145RELOC_TYPE (THM_TLS_DESCSEQ16, REL) 146RELOC_TYPE (THM_TLS_DESCSEQ32, REL) 147RELOC_TYPE (THM_GOT_BREL12, REL) 148 149RELOC_TYPE (IRELATIVE, EXEC|DYN) 150 151RELOC_TYPE (RXPC25, REL) 152RELOC_TYPE (RSBREL32, REL) 153RELOC_TYPE (THM_RPC22, REL) 154RELOC_TYPE (RREL32, REL) 155RELOC_TYPE (RABS22, REL) 156RELOC_TYPE (RPC24, REL) 157RELOC_TYPE (RBASE, REL) 158