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