Brian Silverman | 8649792 | 2018-02-10 19:28:39 -0500 | [diff] [blame] | 1 | /* List the relocation types for SH. -*- C -*- |
| 2 | Copyright (C) 2005, 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 (DIR32, REL|DYN) |
| 33 | RELOC_TYPE (REL32, REL|DYN) |
| 34 | RELOC_TYPE (DIR8WPN, REL) |
| 35 | RELOC_TYPE (IND12W, REL) |
| 36 | RELOC_TYPE (DIR8WPL, REL) |
| 37 | RELOC_TYPE (DIR8WPZ, REL) |
| 38 | RELOC_TYPE (DIR8BP, REL) |
| 39 | RELOC_TYPE (DIR8W, REL) |
| 40 | RELOC_TYPE (DIR8L, REL) |
| 41 | RELOC_TYPE (SWITCH16, REL) |
| 42 | RELOC_TYPE (SWITCH32, REL) |
| 43 | RELOC_TYPE (USES, REL) |
| 44 | RELOC_TYPE (COUNT, REL) |
| 45 | RELOC_TYPE (ALIGN, REL) |
| 46 | RELOC_TYPE (CODE, REL) |
| 47 | RELOC_TYPE (DATA, REL) |
| 48 | RELOC_TYPE (LABEL, REL) |
| 49 | RELOC_TYPE (SWITCH8, REL) |
| 50 | RELOC_TYPE (GNU_VTINHERIT, REL) |
| 51 | RELOC_TYPE (GNU_VTENTRY, REL) |
| 52 | RELOC_TYPE (TLS_GD_32, REL) |
| 53 | RELOC_TYPE (TLS_LD_32, REL) |
| 54 | RELOC_TYPE (TLS_LDO_32, REL) |
| 55 | RELOC_TYPE (TLS_IE_32, REL) |
| 56 | RELOC_TYPE (TLS_LE_32, REL) |
| 57 | RELOC_TYPE (TLS_DTPMOD32, DYN) |
| 58 | RELOC_TYPE (TLS_DTPOFF32, DYN) |
| 59 | RELOC_TYPE (TLS_TPOFF32, DYN) |
| 60 | RELOC_TYPE (GOT32, REL) |
| 61 | RELOC_TYPE (PLT32, REL) |
| 62 | RELOC_TYPE (COPY, EXEC|DYN) |
| 63 | RELOC_TYPE (GLOB_DAT, EXEC|DYN) |
| 64 | RELOC_TYPE (JMP_SLOT, EXEC|DYN) |
| 65 | RELOC_TYPE (RELATIVE, EXEC|DYN) |
| 66 | RELOC_TYPE (GOTOFF, REL) |
| 67 | RELOC_TYPE (GOTPC, REL) |