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