1 |
/* 390 ELF support for BFD. |
/* 390 ELF support for BFD. |
2 |
Copyright 2000, 2001 Free Software Foundation, Inc. |
Copyright 2000, 2001, 2003 Free Software Foundation, Inc. |
3 |
Contributed by Carl B. Pedersen and Martin Schwidefsky. |
Contributed by Carl B. Pedersen and Martin Schwidefsky. |
4 |
|
|
5 |
This file is part of BFD, the Binary File Descriptor library. |
This file is part of BFD, the Binary File Descriptor library. |
49 |
RELOC_NUMBER (R_390_GLOB_DAT, 10) /* Create GOT entry. */ |
RELOC_NUMBER (R_390_GLOB_DAT, 10) /* Create GOT entry. */ |
50 |
RELOC_NUMBER (R_390_JMP_SLOT, 11) /* Create PLT entry. */ |
RELOC_NUMBER (R_390_JMP_SLOT, 11) /* Create PLT entry. */ |
51 |
RELOC_NUMBER (R_390_RELATIVE, 12) /* Adjust by program base. */ |
RELOC_NUMBER (R_390_RELATIVE, 12) /* Adjust by program base. */ |
52 |
RELOC_NUMBER (R_390_GOTOFF, 13) /* 32 bit offset to GOT. */ |
RELOC_NUMBER (R_390_GOTOFF32, 13) /* 32 bit offset to GOT. */ |
53 |
RELOC_NUMBER (R_390_GOTPC, 14) /* 32 bit PC relative offset to GOT. */ |
RELOC_NUMBER (R_390_GOTPC, 14) /* 32 bit PC relative offset to GOT. */ |
54 |
RELOC_NUMBER (R_390_GOT16, 15) /* 16 bit GOT offset. */ |
RELOC_NUMBER (R_390_GOT16, 15) /* 16 bit GOT offset. */ |
55 |
RELOC_NUMBER (R_390_PC16, 16) /* PC relative 16 bit. */ |
RELOC_NUMBER (R_390_PC16, 16) /* PC relative 16 bit. */ |
63 |
RELOC_NUMBER (R_390_GOT64, 24) /* 64 bit GOT offset. */ |
RELOC_NUMBER (R_390_GOT64, 24) /* 64 bit GOT offset. */ |
64 |
RELOC_NUMBER (R_390_PLT64, 25) /* 64 bit PC relative PLT address. */ |
RELOC_NUMBER (R_390_PLT64, 25) /* 64 bit PC relative PLT address. */ |
65 |
RELOC_NUMBER (R_390_GOTENT, 26) /* 32 bit PC rel. to GOT entry >> 1. */ |
RELOC_NUMBER (R_390_GOTENT, 26) /* 32 bit PC rel. to GOT entry >> 1. */ |
66 |
|
RELOC_NUMBER (R_390_GOTOFF16, 27) /* 16 bit offset to GOT. */ |
67 |
|
RELOC_NUMBER (R_390_GOTOFF64, 28) /* 64 bit offset to GOT. */ |
68 |
|
RELOC_NUMBER (R_390_GOTPLT12, 29) /* 12 bit offset to jump slot. */ |
69 |
|
RELOC_NUMBER (R_390_GOTPLT16, 30) /* 16 bit offset to jump slot. */ |
70 |
|
RELOC_NUMBER (R_390_GOTPLT32, 31) /* 32 bit offset to jump slot. */ |
71 |
|
RELOC_NUMBER (R_390_GOTPLT64, 32) /* 64 bit offset to jump slot. */ |
72 |
|
RELOC_NUMBER (R_390_GOTPLTENT, 33) /* 32 bit rel. offset to jump slot. */ |
73 |
|
RELOC_NUMBER (R_390_PLTOFF16, 34) /* 16 bit offset from GOT to PLT. */ |
74 |
|
RELOC_NUMBER (R_390_PLTOFF32, 35) /* 32 bit offset from GOT to PLT. */ |
75 |
|
RELOC_NUMBER (R_390_PLTOFF64, 36) /* 16 bit offset from GOT to PLT. */ |
76 |
|
RELOC_NUMBER (R_390_TLS_LOAD, 37) /* Tag for load insn in TLS code. */ |
77 |
|
RELOC_NUMBER (R_390_TLS_GDCALL, 38) /* Tag for function call in general |
78 |
|
dynamic TLS code. */ |
79 |
|
RELOC_NUMBER (R_390_TLS_LDCALL, 39) /* Tag for function call in local |
80 |
|
dynamic TLS code. */ |
81 |
|
RELOC_NUMBER (R_390_TLS_GD32, 40) /* Direct 32 bit for general dynamic |
82 |
|
thread local data. */ |
83 |
|
RELOC_NUMBER (R_390_TLS_GD64, 41) /* Direct 64 bit for general dynamic |
84 |
|
thread local data. */ |
85 |
|
RELOC_NUMBER (R_390_TLS_GOTIE12, 42)/* 12 bit GOT offset for static TLS |
86 |
|
block offset. */ |
87 |
|
RELOC_NUMBER (R_390_TLS_GOTIE32, 43)/* 32 bit GOT offset for static TLS |
88 |
|
block offset. */ |
89 |
|
RELOC_NUMBER (R_390_TLS_GOTIE64, 44)/* 64 bit GOT offset for static TLS |
90 |
|
block offset. */ |
91 |
|
RELOC_NUMBER (R_390_TLS_LDM32, 45) /* Direct 32 bit for local dynamic |
92 |
|
thread local data in LD code. */ |
93 |
|
RELOC_NUMBER (R_390_TLS_LDM64, 46) /* Direct 64 bit for local dynamic |
94 |
|
thread local data in LD code. */ |
95 |
|
RELOC_NUMBER (R_390_TLS_IE32, 47) /* 32 bit address of GOT entry for |
96 |
|
negated static TLS block offset. */ |
97 |
|
RELOC_NUMBER (R_390_TLS_IE64, 48) /* 64 bit address of GOT entry for |
98 |
|
negated static TLS block offset. */ |
99 |
|
RELOC_NUMBER (R_390_TLS_IEENT, 49) /* 32 bit rel. offset to GOT entry for |
100 |
|
negated static TLS block offset. */ |
101 |
|
RELOC_NUMBER (R_390_TLS_LE32, 50) /* 32 bit negated offset relative to |
102 |
|
static TLS block. */ |
103 |
|
RELOC_NUMBER (R_390_TLS_LE64, 51) /* 64 bit negated offset relative to |
104 |
|
static TLS block. */ |
105 |
|
RELOC_NUMBER (R_390_TLS_LDO32, 52) /* 32 bit offset relative to TLS |
106 |
|
block. */ |
107 |
|
RELOC_NUMBER (R_390_TLS_LDO64, 53) /* 64 bit offset relative to TLS |
108 |
|
block. */ |
109 |
|
RELOC_NUMBER (R_390_TLS_DTPMOD, 54) /* ID of module containing symbol. */ |
110 |
|
RELOC_NUMBER (R_390_TLS_DTPOFF, 55) /* Offset in TLS block. */ |
111 |
|
RELOC_NUMBER (R_390_TLS_TPOFF, 56) /* Negate offset in static TLS |
112 |
|
block. */ |
113 |
|
RELOC_NUMBER (R_390_20, 57) /* Direct 20 bit. */ |
114 |
|
RELOC_NUMBER (R_390_GOT20, 58) /* 20 bit GOT offset. */ |
115 |
|
RELOC_NUMBER (R_390_GOTPLT20, 59) /* 20 bit offset to jump slot. */ |
116 |
|
RELOC_NUMBER (R_390_TLS_GOTIE20, 60)/* 20 bit GOT offset for statis TLS |
117 |
|
block offset. */ |
118 |
/* These are GNU extensions to enable C++ vtable garbage collection. */ |
/* These are GNU extensions to enable C++ vtable garbage collection. */ |
119 |
RELOC_NUMBER (R_390_GNU_VTINHERIT, 250) |
RELOC_NUMBER (R_390_GNU_VTINHERIT, 250) |
120 |
RELOC_NUMBER (R_390_GNU_VTENTRY, 251) |
RELOC_NUMBER (R_390_GNU_VTENTRY, 251) |