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