Add tls support to gold aarch64 backend.
[external/binutils.git] / elfcpp / ChangeLog
1 2014-09-17  Han Shen  <shenhan@google.com>
2
3         * aarch64.h (R_AARCH64_TLS_DTPREL64): Switch enum value with ...
4         (R_AARCH64_TLS_DTPMOD64): ... enum value.
5
6 2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
7             Matthew Fortune  <matthew.fortune@imgtec.com>
8
9         * mips.h (E_MIPS_ARCH_32R6, E_MIPS_ARCH_64R6): New enum constants.
10
11 2014-09-02  Cary Coutant  <ccoutant@google.com>
12
13         * elfcpp_file.h (Elf_file::shnum): New const function.
14         (Elf_file::shstrndx): New const function.
15         (Elf_file::large_shndx_offset): New const function.
16         (Elf_file::section_name): Add const attribute.
17         (Elf_file::section_header_offset): Likewise.
18
19 2014-08-08  Han Shen  <shenhan@google.com>
20
21         * aarch64.h (withdrawn): Replaced with R_AARCH64_withdrawn.
22
23 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
24
25         * elfcpp.h (PT_MIPS_ABIFLAGS): New program header type.
26
27 2014-07-02  Jing Yu  <jingyu@google.com>
28
29         * aarch64.h: New file. New enums for aarch64-elf64 relocations.
30         * elfcpp.h (EM_AARCH64, SHT_AARCH64_ATTRIBUTES, PT_AARCH64_ARCHEXT,
31         PT_AARCH64_UNWIND): New enum constant.
32
33 2014-04-22  Christian Svensson  <blue@cmd.nu>
34
35         * elfcpp.h: Remove openrisc and or32 support.
36
37 2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
38
39         * mips.h (R _MIPS16_TLS_GD, R_MIPS16_TLS_LDM, R_MIPS16_TLS_DTPREL_HI16,
40         R_MIPS16_TLS_DTPREL_LO16, R_MIPS16_TLS_GOTTPREL,
41         R_MIPS16_TLS_TPREL_HI16, R_MIPS16_TLS_TPREL_LO16, R_MICROMIPS_26_S1,
42         R_MICROMIPS_HI16, R_MICROMIPS_LO16, R_MICROMIPS_GPREL16,
43         R_MICROMIPS_LITERAL, R_MICROMIPS_GOT16, R_MICROMIPS_PC7_S1,
44         R_MICROMIPS_PC10_S1, R_MICROMIPS_PC16_S1, R_MICROMIPS_CALL16,
45         R_MICROMIPS_GOT_DISP, R_MICROMIPS_GOT_PAGE, R_MICROMIPS_GOT_OFST,
46         R_MICROMIPS_GOT_HI16, R_MICROMIPS_GOT_LO16, R_MICROMIPS_SUB,
47         R_MICROMIPS_HIGHER, R_MICROMIPS_HIGHEST, R_MICROMIPS_CALL_HI16,
48         R_MICROMIPS_CALL_LO16, R_MICROMIPS_SCN_DISP, R_MICROMIPS_JALR,
49         R_MICROMIPS_HI0_LO16, R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM,
50         R_MICROMIPS_TLS_DTPREL_HI16, R_MICROMIPS_TLS_DTPREL_LO16,
51         R_MICROMIPS_TLS_GOTTPREL, R_MICROMIPS_TLS_TPREL_HI16,
52         R_MICROMIPS_TLS_TPREL_LO16, R_MICROMIPS_GPREL7_S2,
53         R_MICROMIPS_PC23_S20, R_MIPS_EH): New enums for relocations (mips16 and
54         micromips).
55         (STO_MIPS_FLAGS): New enum constant.
56         (elf_st_is_mips16): New function.
57         (elf_st_is_micromips): New function.
58         (is_micromips): New function.
59         (abi_n32): New function.
60         (abi_n64): New function.
61         (ODK_NULL, ODK_REGINFO, ODK_EXCEPTIONS, ODK_PAD, ODK_HWPATCH, ODK_FILL,
62         ODK_TAGS, ODK_HWAND, ODK_HWOR, ODK_GP_GROUP, ODK_IDENT): New enum
63         constants.
64         * elfcpp.h (SHT_MIPS_OPTIONS): New enum constant.
65
66 2014-03-05  Alan Modra  <amodra@gmail.com>
67
68         Update copyright years.
69
70 2014-03-05  Alan Modra  <amodra@gmail.com>
71
72         * powerpc.h (R_PPC64_REL24_NOTOC, R_PPC64_ADDR64_LOCAL): Define.
73
74 2014-02-06  Andrew Pinski  <apinski@cavium.com>
75
76         * mips.h (E_MIPS_MACH_OCTEON3): New enum constant.
77
78 2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
79
80         * x86_64.h (R_X86_64_PC32_BND): New.
81         (R_X86_64_PLT32_BND): Likewise.
82
83 2013-10-30  Alan Modra  <amodra@gmail.com>
84
85         * powerpc.h (EF_PPC64_ABI): New enum constant.
86         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Likewise.
87         (ppc64_decode_local_entry): New function.
88         (ppc64_encode_local_entry): Likewise.
89
90 2013-10-30  Alan Modra  <amodra@gmail.com>
91
92         * powerpc.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
93         R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
94         R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Define.
95
96 2013-03-01  Cary Coutant  <ccoutant@google.com>
97
98         * dwarf.h (enum DW_LANG): Adjust spacing for consistency.
99         (enum DW_SECT): New enum type.
100
101 2012-12-17  Nick Clifton  <nickc@redhat.com>
102
103         * README: Add copyright notice.
104
105 2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
106
107         * arm.h: New enum for EABI soft- and hard-float flags.
108
109 2012-09-15  Jiong Wang  <jiwang@tilera.com>
110
111         * tilegx.h: New file.
112         * elfcpp.h: add EM_TILEGX.
113
114 2012-08-14  Alan Modra  <amodra@gmail.com>
115
116         * powerpc.h: Add more relocs.
117         (R_PPC_REL16*): Rename to R_POWERPC_REL16*.
118
119 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
120
121         PR gold/14091
122         * x86_64.h (R_X86_64_RELATIVE64): New.
123
124 2012-05-01  Cary Coutant  <ccoutant@google.com>
125
126         * dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING)
127         (enum DW_OP, enum DW_CFA): Remove.
128         Include dwarf2.def.
129
130 2012-04-23  Cary Coutant  <ccoutant@google.com>
131
132         * elfcpp_swap.h (struct Swap_aligned32): New template.
133
134 2012-04-16  David S. Miller  <davem@davemloft.net>
135
136         * sparc.h (R_SPARC_JMP_IREL): New relocation.
137
138 2012-04-12  David S. Miller  <davem@davemloft.net>
139
140         * sparc.h (R_SPARC_WDISP10): New relocation.
141
142 2012-03-12  Cary Coutant  <ccoutant@google.com>
143
144         Update DWARF enums from ../include/dwarf2.h.
145         * dwarf.h (enum DW_TAG): Add new DWARF-4 tags.
146         (enum DW_FORM): Add new DWARF-4 and Fission extensions.
147         (enum DW_AT): New enum.
148         (enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode.
149         (enum DW_ENCODING): Add new DWARF-4 encoding.
150         (enum DW_OP): Add new DWARF-4 opcodes.
151         (enum DW_CHILDREN): New enum.
152         (enum DW_LANG): New enum.
153
154 2012-01-27  Aleksandar Simeonov  <asimeonov@mips.com>
155
156         * mips.h: New file
157         * elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
158         (SHF_MIPS_GPREL): Likewise.
159         (PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
160         (DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
161          DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
162          DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
163          DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
164          DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
165          DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
166          DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
167          DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
168          DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
169          DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
170          DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
171          DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
172          DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
173          DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
174          DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
175
176 2012-01-27  Ian Lance Taylor  <iant@google.com>
177
178         * elfcpp.h (STT_GNU_IFUNC): Add comment.
179
180 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
181             Thomas Schwinge  <thomas@schwinge.name>
182
183         PR binutils/12913
184         * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
185         keep ELFOSABI_LINUX as an alias.  Remove ELFOSABI_HURD.
186
187 2011-07-01  Ian Lance Taylor  <iant@google.com>
188
189         * dwarf.h (enum DW_CFA): Define.
190
191 2010-08-12  Cary Coutant  <ccoutant@google.com>
192
193         * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT.
194
195 2010-08-12  Cary Coutant  <ccoutant@google.com>
196
197         * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_SYMTAB,
198         SHT_GNU_INCREMENTAL_RELOCS.
199
200 2010-08-04  Ian Lance Taylor  <iant@google.com>
201
202         * i386.h (R_386_IRELATIVE): Define.
203         * powerpc.h (R_POWERPC_IRELATIVE): Define.
204         (R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define.
205         (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define.
206         * sparc.h (R_SPARC_IRELATIVE): Define.
207         * x86_64.h (R_X86_64_IRELATIVE): Define.
208         (R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT.
209         (R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY.
210
211 2010-05-12  Doug Kwan  <dougkwan@google.com>
212
213         * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
214         Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
215         existing tags.
216         (Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
217         Tag_undefined43): New tags.
218         (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
219         Tag_VFP_HP_extension): Define aliases for backward compatiblity.
220
221 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
222
223         * elfcpp.h (VER_FLG_INFO): Define.
224
225 2010-01-21  Doug Kwan  <dougkwan@google.com>
226
227         * arm.h (EXIDX_CANTUNWIND): New enum.
228
229 2010-01-19  Ian Lance Taylor  <iant@google.com>
230
231         * elfcpp.h (PN_XNUM): Define.
232
233 2009-12-14  Ian Lance Taylor  <iant@google.com>
234
235         * elfcpp_file.h: Revert last patch.
236
237 2009-12-11  Nick Clifton  <nickc@redhat.com>
238
239         * elfcpp_file.h: Fix shadowed variable warnings.
240
241 2009-12-10  Doug Kwan  <dougkwan@google.com>
242
243         * arm.h: New enums for EABI object attribute tags and values.
244
245 2009-12-05  Doug Kwan  <dougkwan@google.com>
246
247         * arm.h: Define enums for Tag_CPU_arch EABI attribute.
248
249 2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
250
251         * elfcpp_file.h: Include elfcpp.h.
252
253 2009-11-03  Ian Lance Taylor  <iant@google.com>
254
255         * elfcpp.h: Remove trailing commas from enum definitions.
256
257 2009-10-30  Doug Kwan  <dougkwan@google.com>
258
259         * arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
260         EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
261         EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
262         flags.
263         (arm_eabi_version): New inline function.
264         * elfcpp.h: Add a comment about DT_ENCODING.
265
266 2009-10-16  Doug Kwan  <dougkwan@google.com>
267
268         * elfcpp/elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
269
270 2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
271
272         * elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size
273         to Elf_WXword.
274
275 2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
276
277         * elf_file.h: (class Elf_strtab): New class.
278
279 2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
280
281         * elfcpp_file.h: Fix header guard.  Include <cstdio>.
282         (class Elf_recognizer): New class, code from gold/object.cc.
283         (Elf_file::find_section_by_type): New method.
284
285 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
286
287         * elfcpp.h (enum STB): Add STB_GNU_UNIQUE.
288
289 2009-06-21  Ian Lance Taylor  <iant@google.com>
290
291         * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
292         (enum SHT): Add SHT_X86_64_UNWIND.
293         (enum SHF): Add SHT_X86_64_LARGE.
294
295 2009-05-27  Doug Kwan  <dougkwan@google.com>
296
297         * arm.h: New file.
298         * elfcpp.h (enum SHT): Add ARM-specific special sections.
299         (enum PT): Add ARM-specific section types.
300         (enum SST): Add STT_ARM_TFUNC.
301
302 2009-04-30  Nick Clifton  <nickc@redhat.com>
303
304         * elfcpp.h (enum STT): Add STT_GNU_IFUNC.
305
306 2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
307
308         * elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
309
310 2009-03-01  Ian Lance Taylor  <iant@google.com>
311
312         * elfcpp_swap.h: #include "config.h".  Only #include <byteswap.h>
313         if HAVE_BYTESWAP_H is defined; if not, provide definitions for
314         bswap_{16,32,64}.  For gcc 4.3 and later, use the builtin bswap
315         functions.  Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
316
317 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
318
319         * elfcpp.h (enum STT): Remove STT_IFUNC.
320
321 2008-12-03  Nick Clifton  <nickc@redhat.com>
322
323         * elfcpp.h (enum STT): Add STT_IFUNC.
324
325 2008-06-12  David S. Miller  <davem@davemloft.net>
326
327         * powerpc.h: New file.
328         * elfcpp.h (SHT_ORDERED): New enum constant.
329         (DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
330
331 2008-05-28  Caleb Howe  <cshowe@google.com>
332
333         * dwarf.h (enum DW_FORM): Define.
334
335 2008-04-19  Ian Lance Taylor  <iant@google.com>
336
337         * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
338         (Elf_file::large_shndx_offset): New function.
339         (Elf_file::construct): Initialize large_shndx_offset_.
340         (Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and
341         set large_shndx_offset_.
342
343 2008-04-16  David S. Miller  <davem@davemloft.net>
344
345         * elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
346         DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
347         DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
348         DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
349         DF_1_CONLFAT): New enum constants.
350
351 2008-04-15  David S. Miller  <davem@davemloft.net>
352
353         * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
354         EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
355         EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
356         EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
357         Define as enum constants.
358
359 2008-04-11  David S. Miller  <davem@davemloft.net>
360
361         * sparc.h: New file
362         * elfcpp.h (SHN_BEFORE, SHN_AFTER): New enum constants.
363         (SHT_SPARC_GOTDATA, SHF_ORDERED, SHF_EXCLUDE,
364         STT_SPARC_REGISTER, DT_SPARC_REGISTER): Likewise.
365
366 2008-04-03  Ian Lance Taylor  <iant@google.com>
367
368         * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
369         byte order.
370
371 2008-03-24  Ian Lance Taylor  <iant@google.com>
372
373         * elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants.
374         (NT_GNU_ABI_TAG, NT_GNU_HWCAP): Likewise.
375         (NT_GNU_BUILD_ID, NT_GNU_GOLD_VERSION): Likewise.
376         (ELF_NOTE_OS_LINUX, ELF_NOTE_OS_GNU): Likewise.
377         (ELF_NOTE_OS_SOLARIS2, ELF_NOTE_OS_NETBSD): Likewise.
378         (ELF_NOTE_OS_SYLLABLE): Likewise.
379
380 2008-03-21  Ian Lance Taylor  <iant@google.com>
381
382         * Added source code to GNU binutils.
383 \f
384 Copyright (C) 2008-2014 Free Software Foundation, Inc.
385
386 Copying and distribution of this file, with or without modification,
387 are permitted in any medium without royalty provided the copyright
388 notice and this notice are preserved.
389
390 Local Variables:
391 mode: change-log
392 left-margin: 8
393 fill-column: 74
394 version-control: never
395 End: