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