Brian Silverman | 8649792 | 2018-02-10 19:28:39 -0500 | [diff] [blame] | 1 | /* List the relocation types for i386. -*- C -*- |
| 2 | Copyright (C) 2000, 2001, 2002, 2003, 2005, 2009, 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 | |
| 31 | RELOC_TYPE (NONE, 0) |
| 32 | RELOC_TYPE (COPY, EXEC|DYN) |
| 33 | RELOC_TYPE (32, REL|EXEC|DYN) |
| 34 | RELOC_TYPE (PC32, REL|EXEC|DYN) |
| 35 | RELOC_TYPE (GOT32, REL) |
| 36 | RELOC_TYPE (PLT32, REL) |
| 37 | RELOC_TYPE (GLOB_DAT, EXEC|DYN) |
| 38 | RELOC_TYPE (JMP_SLOT, EXEC|DYN) |
| 39 | RELOC_TYPE (RELATIVE, EXEC|DYN) |
| 40 | RELOC_TYPE (GOTOFF, REL) |
| 41 | RELOC_TYPE (GOTPC, REL) |
| 42 | RELOC_TYPE (32PLT, REL) |
| 43 | RELOC_TYPE (TLS_TPOFF, EXEC|DYN) |
| 44 | RELOC_TYPE (TLS_IE, REL) |
| 45 | RELOC_TYPE (TLS_GOTIE, REL) |
| 46 | RELOC_TYPE (TLS_LE, REL) |
| 47 | RELOC_TYPE (TLS_GD, REL) |
| 48 | RELOC_TYPE (TLS_LDM, REL) |
| 49 | RELOC_TYPE (16, REL) |
| 50 | RELOC_TYPE (PC16, REL) |
| 51 | RELOC_TYPE (8, REL) |
| 52 | RELOC_TYPE (PC8, REL) |
| 53 | RELOC_TYPE (TLS_GD_32, REL) |
| 54 | RELOC_TYPE (TLS_GD_PUSH, REL) |
| 55 | RELOC_TYPE (TLS_GD_CALL, REL) |
| 56 | RELOC_TYPE (TLS_GD_POP, REL) |
| 57 | RELOC_TYPE (TLS_LDM_32, REL) |
| 58 | RELOC_TYPE (TLS_LDM_PUSH, REL) |
| 59 | RELOC_TYPE (TLS_LDM_CALL, REL) |
| 60 | RELOC_TYPE (TLS_LDM_POP, REL) |
| 61 | RELOC_TYPE (TLS_LDO_32, REL) |
| 62 | RELOC_TYPE (TLS_IE_32, REL) |
| 63 | RELOC_TYPE (TLS_LE_32, REL) |
| 64 | RELOC_TYPE (TLS_DTPMOD32, EXEC|DYN) |
| 65 | RELOC_TYPE (TLS_DTPOFF32, EXEC|DYN) |
| 66 | RELOC_TYPE (TLS_TPOFF32, EXEC|DYN) |
| 67 | RELOC_TYPE (TLS_GOTDESC, REL) |
| 68 | RELOC_TYPE (TLS_DESC_CALL, REL) |
| 69 | RELOC_TYPE (TLS_DESC, EXEC) |
| 70 | RELOC_TYPE (IRELATIVE, EXEC|DYN) |
| 71 | RELOC_TYPE (GOT32X, REL) |