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