Handle R_X86_64_64 properly for x32
[external/binutils.git] / elfcpp / ChangeLog
1 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR gold/14091
4         * x86_64.h (R_X86_64_RELATIVE64): New.
5
6 2012-05-01  Cary Coutant  <ccoutant@google.com>
7
8         * dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING)
9         (enum DW_OP, enum DW_CFA): Remove.
10         Include dwarf2.def.
11
12 2012-04-23  Cary Coutant  <ccoutant@google.com>
13
14         * elfcpp_swap.h (struct Swap_aligned32): New template.
15
16 2012-04-16  David S. Miller  <davem@davemloft.net>
17
18         * sparc.h (R_SPARC_JMP_IREL): New relocation.
19
20 2012-04-12  David S. Miller  <davem@davemloft.net>
21
22         * sparc.h (R_SPARC_WDISP10): New relocation.
23
24 2012-03-12  Cary Coutant  <ccoutant@google.com>
25
26         Update DWARF enums from ../include/dwarf2.h.
27         * dwarf.h (enum DW_TAG): Add new DWARF-4 tags.
28         (enum DW_FORM): Add new DWARF-4 and Fission extensions.
29         (enum DW_AT): New enum.
30         (enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode.
31         (enum DW_ENCODING): Add new DWARF-4 encoding.
32         (enum DW_OP): Add new DWARF-4 opcodes.
33         (enum DW_CHILDREN): New enum.
34         (enum DW_LANG): New enum.
35
36 2012-01-27  Aleksandar Simeonov  <asimeonov@mips.com>
37
38         * mips.h: New file
39         * elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
40         (SHF_MIPS_GPREL): Likewise.
41         (PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
42         (DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
43          DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
44          DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
45          DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
46          DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
47          DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
48          DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
49          DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
50          DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
51          DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
52          DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
53          DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
54          DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
55          DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
56          DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
57
58 2012-01-27  Ian Lance Taylor  <iant@google.com>
59
60         * elfcpp.h (STT_GNU_IFUNC): Add comment.
61
62 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
63             Thomas Schwinge  <thomas@schwinge.name>
64
65         PR binutils/12913
66         * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
67         keep ELFOSABI_LINUX as an alias.  Remove ELFOSABI_HURD.
68
69 2011-07-01  Ian Lance Taylor  <iant@google.com>
70
71         * dwarf.h (enum DW_CFA): Define.
72
73 2010-08-12  Cary Coutant  <ccoutant@google.com>
74
75         * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT.
76
77 2010-08-12  Cary Coutant  <ccoutant@google.com>
78
79         * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_SYMTAB,
80         SHT_GNU_INCREMENTAL_RELOCS.
81
82 2010-08-04  Ian Lance Taylor  <iant@google.com>
83
84         * i386.h (R_386_IRELATIVE): Define.
85         * powerpc.h (R_POWERPC_IRELATIVE): Define.
86         (R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define.
87         (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define.
88         * sparc.h (R_SPARC_IRELATIVE): Define.
89         * x86_64.h (R_X86_64_IRELATIVE): Define.
90         (R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT.
91         (R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY.
92
93 2010-05-12  Doug Kwan  <dougkwan@google.com>
94
95         * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
96         Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
97         existing tags.
98         (Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
99         Tag_undefined43): New tags.
100         (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
101         Tag_VFP_HP_extension): Define aliases for backward compatiblity.
102
103 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
104
105         * elfcpp.h (VER_FLG_INFO): Define.
106
107 2010-01-21  Doug Kwan  <dougkwan@google.com>
108
109         * arm.h (EXIDX_CANTUNWIND): New enum.
110
111 2010-01-19  Ian Lance Taylor  <iant@google.com>
112
113         * elfcpp.h (PN_XNUM): Define.
114
115 2009-12-14  Ian Lance Taylor  <iant@google.com>
116
117         * elfcpp_file.h: Revert last patch.
118
119 2009-12-11  Nick Clifton  <nickc@redhat.com>
120
121         * elfcpp_file.h: Fix shadowed variable warnings.
122
123 2009-12-10  Doug Kwan  <dougkwan@google.com>
124
125         * arm.h: New enums for EABI object attribute tags and values.
126
127 2009-12-05  Doug Kwan  <dougkwan@google.com>
128
129         * arm.h: Define enums for Tag_CPU_arch EABI attribute.
130
131 2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
132
133         * elfcpp_file.h: Include elfcpp.h.
134
135 2009-11-03  Ian Lance Taylor  <iant@google.com>
136
137         * elfcpp.h: Remove trailing commas from enum definitions.
138
139 2009-10-30  Doug Kwan  <dougkwan@google.com>
140
141         * arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
142         EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
143         EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
144         flags.
145         (arm_eabi_version): New inline function.
146         * elfcpp.h: Add a comment about DT_ENCODING.
147
148 2009-10-16  Doug Kwan  <dougkwan@google.com>
149
150         * elfcpp/elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
151
152 2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
153
154         * elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size
155         to Elf_WXword.
156
157 2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
158
159         * elf_file.h: (class Elf_strtab): New class.
160
161 2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
162
163         * elfcpp_file.h: Fix header guard.  Include <cstdio>.
164         (class Elf_recognizer): New class, code from gold/object.cc.
165         (Elf_file::find_section_by_type): New method.
166
167 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
168
169         * elfcpp.h (enum STB): Add STB_GNU_UNIQUE.
170
171 2009-06-21  Ian Lance Taylor  <iant@google.com>
172
173         * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
174         (enum SHT): Add SHT_X86_64_UNWIND.
175         (enum SHF): Add SHT_X86_64_LARGE.
176
177 2009-05-27  Doug Kwan  <dougkwan@google.com>
178
179         * arm.h: New file.
180         * elfcpp.h (enum SHT): Add ARM-specific special sections.
181         (enum PT): Add ARM-specific section types.
182         (enum SST): Add STT_ARM_TFUNC.
183
184 2009-04-30  Nick Clifton  <nickc@redhat.com>
185
186         * elfcpp.h (enum STT): Add STT_GNU_IFUNC.
187
188 2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
189
190         * elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
191
192 2009-03-01  Ian Lance Taylor  <iant@google.com>
193
194         * elfcpp_swap.h: #include "config.h".  Only #include <byteswap.h>
195         if HAVE_BYTESWAP_H is defined; if not, provide definitions for
196         bswap_{16,32,64}.  For gcc 4.3 and later, use the builtin bswap
197         functions.  Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
198
199 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
200
201         * elfcpp.h (enum STT): Remove STT_IFUNC.
202
203 2008-12-03  Nick Clifton  <nickc@redhat.com>
204
205         * elfcpp.h (enum STT): Add STT_IFUNC.
206
207 2008-06-12  David S. Miller  <davem@davemloft.net>
208
209         * powerpc.h: New file.
210         * elfcpp.h (SHT_ORDERED): New enum constant.
211         (DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
212
213 2008-05-28  Caleb Howe  <cshowe@google.com>
214
215         * dwarf.h (enum DW_FORM): Define.
216
217 2008-04-19  Ian Lance Taylor  <iant@google.com>
218
219         * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
220         (Elf_file::large_shndx_offset): New function.
221         (Elf_file::construct): Initialize large_shndx_offset_.
222         (Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and
223         set large_shndx_offset_.
224
225 2008-04-16  David S. Miller  <davem@davemloft.net>
226
227         * elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
228         DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
229         DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
230         DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
231         DF_1_CONLFAT): New enum constants.
232
233 2008-04-15  David S. Miller  <davem@davemloft.net>
234
235         * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
236         EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
237         EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
238         EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
239         Define as enum constants.
240
241 2008-04-11  David S. Miller  <davem@davemloft.net>
242
243         * sparc.h: New file
244         * elfcpp.h (SHN_BEFORE, SHN_AFTER): New enum constants.
245         (SHT_SPARC_GOTDATA, SHF_ORDERED, SHF_EXCLUDE,
246         STT_SPARC_REGISTER, DT_SPARC_REGISTER): Likewise.
247
248 2008-04-03  Ian Lance Taylor  <iant@google.com>
249
250         * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
251         byte order.
252
253 2008-03-24  Ian Lance Taylor  <iant@google.com>
254
255         * elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants.
256         (NT_GNU_ABI_TAG, NT_GNU_HWCAP): Likewise.
257         (NT_GNU_BUILD_ID, NT_GNU_GOLD_VERSION): Likewise.
258         (ELF_NOTE_OS_LINUX, ELF_NOTE_OS_GNU): Likewise.
259         (ELF_NOTE_OS_SOLARIS2, ELF_NOTE_OS_NETBSD): Likewise.
260         (ELF_NOTE_OS_SYLLABLE): Likewise.
261
262 2008-03-21  Ian Lance Taylor  <iant@google.com>
263
264         * Added source code to GNU binutils.
265