Add support for generating and inserting build IDs into COFF binaries.
[external/binutils.git] / include / coff / ChangeLog
1 2014-04-08  Jon TURNEY  <jon.turney@dronecode.org.uk>
2
3         * pe.h (external_IMAGE_DEBUG_DIRECTORY, _CV_INFO_PDB70)
4         (_CV_INFO_PDB20): Add structures and constants for debug directory
5         and codeview records.
6         * internal.h (internal_IMAGE_DEBUG_DIRECTORY, CODEVIEW_INFO):
7         Add structures and constants for internal representation of debug
8         directory and codeview records.
9
10 2014-03-13  Tristan Gingold  <gingold@adacore.com>
11
12         * pe.h (struct external_ANON_OBJECT_HEADER_BIGOBJ): Declare.
13         (FILHSZ_BIGOBJ): Define.
14         (struct external_SYMBOL_EX): Declare.
15         (SYMENT_BIGOBJ, SYMESZ_BIGOBJ): Define.
16         (union external_AUX_SYMBOL_EX): Declare.
17         (AUXENT_BIGOBJ, AUXESZ_BIGOBJ): Define.
18         * internal.h (struct internal_filehdr): Change type
19         of f_nscns.
20
21 2014-03-05  Alan Modra  <amodra@gmail.com>
22
23         Update copyright years.
24
25 2013-12-06  Tristan Gingold  <gingold@adacore.com>
26
27         * pe.h (UWOP_EPILOG, UWOP_PARE): Define.
28
29 2013-07-10  Tristan Gingold  <gingold@adacore.com>
30
31         * rs6000.h (external_core_dumpx): New structure.
32         (external_ld_info32): Ditto.
33
34 2013-07-02  Tristan Gingold  <gingold@adacore.com>
35
36         * internal.h (C_STTLS, C_GTLS): Define.
37         * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.
38
39 2013-02-04  Alan Modra  <amodra@gmail.com>
40
41         * ti.h (SWAP_OUT_RELOC_EXTRA): Define.
42
43 2013-01-02  Martin Storsjo <martin@martin.st>
44
45         * arm.h (ARMV7PEMAGIC): Define.
46         (ARMBADMAG): Update.
47
48 2011-06-02  Nick Clifton  <nickc@redhat.com>
49
50         * i860.h: Fix spelling mistake in comment.
51
52 2011-05-04  Tristan Gingold  <gingold@adacore.com>
53
54         * rs6000.h (union external_auxent): Add x_ftype field.
55         * rs6k64.h: (struct external_auxent): Remap x_file field.
56
57 2011-05-04  Tristan Gingold  <gingold@adacore.com>
58
59         * rs6000.h (struct external_exceptab): New struct.
60         (EXCEPTSZ): New macro.
61         * rs6k64.h: (struct external_exceptab): New struct.
62         (EXCEPTSZ): New macro.
63
64 2011-05-03  Tristan Gingold  <gingold@adacore.com>
65
66         * rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
67         SYMNMLEN.
68
69 2011-04-27  Tristan Gingold  <gingold@adacore.com>
70
71         * xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
72         (STYP_DWARF, SSUBTYP_DWINFO)
73         (SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
74         (SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
75         (SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
76         (R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
77         New macros.
78
79 2011-03-31  Tristan Gingold  <gingold@adacore.com>
80
81         * internal.h (C_NULL_VALUE): Define.
82
83 2010-06-29  Alan Modra  <amodra@gmail.com>
84
85         * maxq.h: Delete file.
86
87 2010-04-15  Nick Clifton  <nickc@redhat.com>
88
89         * alpha.h: Update copyright notice to use GPLv3.
90         * apollo.h: Likewise.
91         * arm.h: Likewise.
92         * aux-coff.h: Likewise.
93         * ecoff.h: Likewise.
94         * external.h: Likewise.
95         * go32exe.h: Likewise.
96         * h8300.h: Likewise.
97         * h8500.h: Likewise.
98         * i386.h: Likewise.
99         * i860.h: Likewise.
100         * i960.h: Likewise.
101         * ia64.h: Likewise.
102         * internal.h: Likewise.
103         * m68k.h: Likewise.
104         * m88k.h: Likewise.
105         * maxq.h: Likewise.
106         * mcore.h: Likewise.
107         * mips.h: Likewise.
108         * mipspe.h: Likewise.
109         * or32.h: Likewise.
110         * pe.h: Likewise.
111         * powerpc.h: Likewise.
112         * rs6000.h: Likewise.
113         * rs6k64.h: Likewise.
114         * sh.h: Likewise.
115         * sparc.h: Likewise.
116         * ti.h: Likewise.
117         * tic30.h: Likewise.
118         * tic4x.h: Likewise.
119         * tic54x.h: Likewise.
120         * tic80.h: Likewise.
121         * w65.h: Likewise.
122         * we32k.h: Likewise.
123         * x86_64.h: Likewise.
124         * xcoff.h: Likewise.
125         * z80.h: Likewise.
126         * z8k.h: Likewise.
127
128 2009-12-02  Jerker Bäck  <jerker.back@gmail.com>
129
130         PR binutils/11017
131         * i386lh (COFF_PAGE_SIZE): Define.
132         * x86_64.h (COFF_PAGE_SIZE): Define.
133
134 2009-10-17  Arnold Metselaar  <arnold.metselaar@planet.nl>
135
136         * z80.h: Store alignment requirement in section header, to allow
137         ld to preserve alignment. Some code was copied from ti.h.
138
139 2009-09-05  Martin Thuresson  <martin@mtme.org>
140
141         * ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name of class
142         variable to in_class to match changes in function that use this
143         macro.
144
145 2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
146
147         Fix references past allocated memory for i386-*-go32.
148         * ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
149         Reference F_TARGET_ID only when !COFF0_P.
150
151 2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
152
153         Stop using bfd_usrdata in libbfd.
154         * go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
155         STUBSIZE by GO32_STUBSIZE.
156         (STUBSIZE): Move the definition ...
157         * internal.h (GO32_STUBSIZE): ... here and rename it.
158         (struct internal_filehdr <go32stub>, F_GO32STUB): New.
159
160 2009-06-03  Ulrich Weigand  <uweigand@de.ibm.com>
161
162         * symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
163         btAdr64, btInt64, btUInt64): New defines.
164
165 2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
166
167         * pe.h (pex64_runtime_function): New structure.
168         (external_pex64_runtime_function): Likewise.
169         (pex64_unwind_code): Likewise.
170         (external_pex64_unwind_code): Likewise.
171         (pex64_unwind_info): Likewise.
172         (external_pex64_unwind_info): Likewise.
173         (external_pex64_scope): Likewise.
174         (pex64_scope): Likewise.
175         (pex64_scope_entry):  Likewise.
176         (external_pex64_scope_entry): Likewise.
177         (PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
178         (PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
179         (PEX64_UNWCODE_CODE): Likewise.
180         (PEX64_UNWCODE_INFO): Likewise.
181         (UWOP_...): Add defines for unwind code.
182         (UNW_FLAG_...): Add defined for unwind info flags.
183         (PEX64_SCOPE_ENTRY_SIZE): New macro.
184         (PEX64_UWI_VERSION): Likewise.
185         (PEX64_UWI_FLAGS): Likewise.
186         (PEX64_UWI_FRAMEREG): Likewise.
187         (PEX64_UWI_FRAMEOFF): Likewise.
188         (PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
189         (PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
190         (PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
191         (PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
192         (PEX64_SCOPE_ENTRY): Likewise.
193
194 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
195
196         * pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
197         (IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.
198
199 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
200
201         * xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c.
202
203 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
204
205         * xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
206         (xcoff_loader_info): Add auto_export_flags.
207
208 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
209
210         * internal.h (C_AIX_WEAKEXT): New macro.
211         (C_WEAKEXT): Use the GNU definition in the generic part of the file,
212         and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
213         the file.
214         (CSECT_SYM_P): New macro.
215         * xcoff.h (L_WEAK): Define.
216         (EXTERN_SYM_P): New macro.
217
218 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
219
220         * xcoff.h (XCOFF_ALLOCATED): New flag.
221
222 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
223
224         * xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
225         (XCOFF_WAS_UNDEFINED): New flag.
226         (xcoff_link_hash_table): Add an "rtld" field.
227
228 2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
229
230         * internal.h (struct internal_extra_pe_aouthdr):  Correct type
231         of DllCharacteristics flags field to unsigned.
232         * pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
233         IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
234         IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
235         IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
236         IMAGE_DLLCHARACTERISTICS_NO_SEH,
237         IMAGE_DLLCHARACTERISTICS_NO_BIND,
238         IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
239         IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE):  New macros to
240         define flag bit values for DllCharacteristics field of PEAOUTHDR,
241         PEPAOUTHDR.
242
243 2008-12-23  Johan Olmutz Nielsen  <jnielsen@ddci.com>
244
245         * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
246
247 2008-06-17  Nick Clifton  <nickc@redhat.com>
248
249         * ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
250         macro which does not trigger an array bounds warning in gcc.
251         (PUT_SCNHDR_NLNNO): Likewise.
252         (GET_SCNHDR_FLAGS): Likewise.
253         (PUT_SCNHDR_FLAGS): Likewise.
254         (GET_SCNHDR_PAGE): Likewise.
255         (PUT_SCNHDR_PAGE): Likewise.
256
257 2007-11-05  Danny Smith  <dannysmith@users.sourceforge.net>
258
259         * pe.h (COFF_ENCODE_ALIGNMENT) Define.
260
261 2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>
262
263         * pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
264         (IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
265         (IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
266         (IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
267         (IMAGE_SCN_ALIGN_128BYTES): Likewise.
268         (IMAGE_SCN_ALIGN_256BYTES): Likewise.
269         (IMAGE_SCN_ALIGN_512BYTES): Likewise.
270         (IMAGE_SCN_ALIGN_1024BYTES): Likewise.
271         (IMAGE_SCN_ALIGN_2048BYTES): Likewise.
272         (IMAGE_SCN_ALIGN_4096BYTES): Likewise.
273         (IMAGE_SCN_ALIGN_8192BYTES): Likewise.
274         (IMAGE_SCN_ALIGN_1BYTES): Redefined with
275         IMAGE_SCN_ALIGN_POWER_CONST.
276         (IMAGE_SCN_ALIGN_2BYTES): Likewise.
277         (IMAGE_SCN_ALIGN_4BYTES): Likewise.
278         (IMAGE_SCN_ALIGN_8BYTES): Likewise.
279         (IMAGE_SCN_ALIGN_16BYTES): Likewise.
280         (IMAGE_SCN_ALIGN_32BYTES): Likewise.
281         (IMAGE_SCN_ALIGN_64BYTES): Likewise.
282
283 2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
284
285         * internal.h (struct internal_syment): Use bfd_hostptr_t for
286         _n_zeroes and _n_offset fields.
287
288 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
289
290         * rs6000.h: Write Mimi's name in ASCII.
291
292 2007-03-19  H.J. Lu  <hongjiu.lu@intel.com>
293
294         * internal.h (internal_extra_pe_aouthdr): Add Magic,
295         MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
296         SizeOfInitializedData, SizeOfUninitializedData,
297         AddressOfEntryPoint, BaseOfCode and BaseOfData.
298
299 2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
300             Nick Clifton  <nickc@redhat.com>
301
302         * external.h (struct external_aouthdr): Add ATTRIBUTE_PACKED.
303         (struct external_syment): Likewise.
304         (union external_auxent): Likewise.
305
306 2006-11-14  Phil Lello  <phil.lello@homecall.co.uk>
307
308         * pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and
309         IMAGE_SUBSYSTEM_XBOX.
310         * internal.h: Added defines for PE directory entry types.
311         NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in
312         pe.h
313
314 2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
315
316         * external.h: Add proper external_aouthdr64 structure (without
317         data_start member).
318         (AOUTHDRSZ64): Set according structure size.
319         (AOUTHDR64): As typedef of external_aouthdr64 structure.
320         * internal.h: Add relocation identifiers for coff.
321         * pe.h: Add define IMAGE_FILE_MACHINE_AMD64 the coff signature.
322         (PEPAOUTHDR): Adjust structure to have proper size (using AOUTHDR64).
323         (PEPAOUTSZ): Calculated size of 240.
324         * x86_64.h: Coff information for x86_64 (AMD64).
325
326 2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
327
328         * internal.h: Add relocation number R_IMM24 for Z80.
329
330 2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
331
332         * internal.h: Add relocation number for Z80
333         * z80.h: New file.
334
335 2005-08-18  Alan Modra  <amodra@bigpond.net.au>
336
337         * a29k.h: Delete.
338
339 2005-07-14  Daniel Marques  <marques@cs.cornell.edu>
340
341         * alpha.h (ALPHA_ECOFF_COMPRESSEDMAG): Define.
342         * ecoff.h (ALPHA_MAGIC_COMPRESSED): Define.
343
344 2005-05-10  Nick Clifton  <nickc@redhat.com>
345
346         * Update the address and phone number of the FSF organization in
347         the GPL notices in the following files:
348         a29k.h, alpha.h, apollo.h, arm.h, aux-coff.h, ecoff.h, external.h,
349         go32exe.h, h8300.h, h8500.h, i386.h, i860.h, i960.h, ia64.h,
350         internal.h, m68k.h, m88k.h, maxq.h, mcore.h, mips.h, mipspe.h,
351         or32.h, pe.h, powerpc.h, rs6k64.h, sh.h, sparc.h, ti.h, tic30.h,
352         tic4x.h, tic54x.h, tic80.h, w65.h, we32k.h, xcoff.h, z8k.h
353
354 2005-02-21  Alan Modra  <amodra@bigpond.net.au>
355
356         * xcoff.h (struct xcoff_loader_info): Warning fix.
357
358 2005-01-10  Inderpreet Singh <inderpreetb@noida.hcltech.com>
359
360         * maxq.h (F_MAXQ10, F_MAXQ20): Define.
361
362 2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
363             Vineet Sharma      <vineets@noida.hcltech.com>
364
365         * maxq.h: New file: Defintions for the maxq port.
366
367 2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
368
369         * pe.h (IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY): Define.
370         (IMAGE_WEAK_EXTERN_SEARCH_LIBRARY): Same.
371         (IMAGE_WEAK_EXTERN_SEARCH_ALIAS): Same.
372
373 2004-08-13  Mark Kettenis  <kettenis@gnu.org>
374
375         * symconst.h (langMax): Fix typo in comment.
376
377 2004-04-23  Chris Demetriou  <cgd@broadcom.com>
378
379         * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
380         (MIPS_R_PCREL16): Update comment.
381         * ecoff.h (struct ecoff_value_adjust): Remove structure.
382         (struct ecoff_debug_info): Remove 'adjust' member.
383
384 2004-04-20  DJ Delorie  <dj@redhat.com>
385
386         * internal.h (R_SECREL32): Add.
387
388 For older changes see ChangeLog-9103
389 \f
390 Copyright (C) 2004-2014 Free Software Foundation, Inc.
391
392 Copying and distribution of this file, with or without modification,
393 are permitted in any medium without royalty provided the copyright
394 notice and this notice are preserved.
395
396 Local Variables:
397 mode: change-log
398 left-margin: 8
399 fill-column: 74
400 version-control: never
401 End: