]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
include/elf/
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ba92f887
MR
12013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
4
868d1840
TG
52013-07-10 Tristan Gingold <gingold@adacore.com>
6
7 * od-xcoff.c (OPT_LDINFO): Define.
8 (options): Add ldinfo.
9 (xcoff_help): Mention ldinfo.
10 (xcoff_dump): Rename to ...
11 (xcoff_dump_obj): ... this. Add a break.
12 (dump_dumpx_core): New function.
13 (xcoff_dump_core): Likewise.
14 (xcoff_dump): Likewise.
15 * doc/binutils.texi (objdump): Mention ldinfo.
16
c1094734
TG
172013-07-09 Tristan Gingold <gingold@adacore.com>
18
19 * configure.com: Add new defines to match changes in configure.
20
fe59e83d
CC
212013-05-28 Cary Coutant <ccoutant@google.com>
22
23 * dwarf.c (display_debug_lines_raw): Print section offsets.
24
87bc83b3
CC
252013-05-15 Cary Coutant <ccoutant@google.com>
26
27 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
28 don't increment PTR.
29 (decode_location_expression): DW_OP_const2u should read 2 bytes.
30 (display_debug_lines_decoded): Adjust formatting.
31 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
32 7-byte reads.
33 (byte_get_big_endian): Likewise.
34 (byte_get_signed): Likewise.
35
b015e599
AP
362013-05-09 Andrew Pinski <apinski@cavium.com>
37
38 * doc/binutils.texi: Document -Mvirt disassembler option.
39
6945071a
NC
402013-05-02 Nick Clifton <nickc@redhat.com>
41
42 * readelf.c: Add support for MSP430X architecture.
43
4925cdd7
NC
442013-05-02 Nick Clifton <nickc@redhat.com>
45
46 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
47 sections as if they were fragmentary .debug_line sections.
48 (display_debug_lines_decoded): Likewise.
49
b40bf0a2
NC
502013-04-29 Nick Clifton <nickc@redhat.com>
51
52 * dwarf.c (read_debug_line_header): New function. Reads in a
53 header in a .debug_line section.
54 (display_debug_lines_raw): Use new function. Handle fragmentary
55 .debug_line sections.
56 (display_debug_lines_decoded): Likewise.
57 * readelf.c (process_section_headers): Handle fragmenatry
58 .debug_line sections.
59 (display_debug_section): Likewise.
60
ee441d9a
ILT
612013-04-26 Ian Lance Taylor <iant@google.com>
62
63 * MAINTAINERS: Add myself and Cary as gold maintainers.
64
4337774f
TT
652013-04-08 Tom Tromey <tromey@redhat.com>
66
67 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
68
2e97048a
TT
692013-04-08 Tom Tromey <tromey@redhat.com>
70
71 * dwarf-mode.el: Bump version number.
72 (dwarf-mode): Remove autoload.
73 (dwarf-die-reference): Relax regexp.
74
952781e8
AM
752013-04-05 Alan Modra <amodra@gmail.com>
76
77 PR binutils/15324
78 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
79 * dwarf.c (strnlen): Provide fallback decl.
80 * config.in: Regnerate.
81 * configure: Regenerate.
82
f048b142
L
832013-03-29 H.J. Lu <hongjiu.lu@intel.com>
84
85 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
86 SAFE_BYTE_GET64.
87
7e93ea4b
NC
882013-03-27 Phil Krylov <phil.krylov@gmail.com>
89
90 PR binutils/13409
91 * winduni.c (codepages[]): Use UTF-16LE.
92 (wind_MultiByteToWideChar): Likewise.
93 (wind_WideCharToMultiByte): Likewise.
94
2bdc3eca
AM
952013-03-27 Alan Modra <amodra@gmail.com>
96
97 PR binutils/15206
98 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
99
0c588247
NC
1002013-03-26 Nick Clifton <nickc@redhat.com>
101
f4155c00 102 PR binutils/15206
0c588247
NC
103 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
104 space before calling byte_get.
105 (SAFE_BYTE_GET_AND_INC): New macro.
106 (SAFE_SIGNED_BYTE_GET): New macro.
107 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
108 (SAFE_BYTE_GET64): New macro.
109 (process_extened_line_op): Use new macros. Use strnlen when
110 appropriate.
111 (fetch_indirect_string): Likewise.
112 (get_FORM_name): Likewise.
113 (decode_location_expression): Likewise.
114 (read_and_display_attr_value): Likewise.
115 (process_debug_info): Likewise.
116 (display_debug_lines_raw): Likewise.
117 (display_debug_lines_decoded): Likewise.
118 (display_debug_pubnames): Likewise.
119 (display_debug_macinfo): Likewise.
120 (get_line_filename_and_dirname): Likewise.
121 (display_debug_macro): Likewise.
122 (display_loc_list): Likewise.
123 (display_loc_list_dwo): Likewise.
124 (display_debug_aranges): Likewise.
125 (display_debug_ranges): Likewise.
126 (frame_display_row): Likewise.
127 (display_debug_frames): Likewise.
128
f6f0e17b
NC
1292013-03-25 Nick Clifton <nickc@redhat.com>
130
131 PR binutils/15202
132 * dwarf.c (read_leb128): Add END parameter. Do not read at or
133 beyond end.
134 (read_sleb128): Add END parameter.
135 (read_uleb128): New function.
136 (process_extended_line_op): Pass END to leb128 functions.
137 (process_abbrev_section): Likewise.
138 (decode_location_expression): Likewise.
139 (read_and_display_attr_value): Likewise.
140 (read_and_display_attr): Likewise.
141 (process_debug_info): Likewise.
142 (display_debug_lines_raw): Likewise.
143 (display_debug_lines_decoded): Likewise.
144 (display_debug_macinfo): Likewise.
145 (get_line_filename_and_dirname): Likewise.
146 (display_debug_macro): Likewise.
147 (display_loc_list_dwo): Likewise.
148 (display_debug_ranges): Likewise.
149 * dwarf.h (read_leb128): Update prototype.
150 * readelf.c (read_uleb128): Add END parameter.
151 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
152 (decode_tic6x_unwind_bytecode): Likewise.
153 (display_tag_value): New function.
154 (display_arm_attribute): Add END parameter. Pass END to
155 read_uleb128. Use display_tag_value.
156 (display_gnu_attribute): Likewise.
157 (display_power_gnu_attribute): Likewise.
158 (display_sparc_gnu_attribute): Likewise.
159 (display_mips_gnu_attribute): Likewise.
160 (display_tic6x_attribute): Likewise.
161 (process_attributes): Likewise.
162 (display_raw_attribute): New function.
163
c8da6823
NC
1642013-03-22 Nick Clifton <nickc@redhat.com>
165
c842b54b
NC
166 PR binutils/15201
167 * dwarf.c (display_debug_ranges): Add checks for reading beyond
168 the end of the section.
169
c8da6823
NC
170 PR binutils/15157
171 * readelf.c (apply_relocations): Catch relocations with negative
172 offsets.
173
0d0fb1ba
NC
1742013-03-15 Nick Clifton <nickc@redhat.com>
175
176 * addr2line.c (slurp_symtab): If canonicalization reveals that
177 there were no ordinary symbols, try loading the dynamic symbols
178 instead.
179
d5c7e0e9
NC
1802013-03-14 Markos Chandras <markos.chandras@imgtec.com>
181
182 * MAINTAINERS: Add myself as Meta maintainer.
183
abb3f6cc
NC
1842013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
185
186 * readelf.c (get_note_type): Add NT_S390_TDB.
187
c54e2ec1
AM
1882013-03-07 Alan Modra <amodra@gmail.com>
189
190 * strings.c (get_char): Dispense with buf[]. Instead shift
191 chars into big-endian value and byte-swap later if
192 little-endian. Don't EOF check value read from object.
193
ee36d918
CV
1942013-03-05 Corinna Vinschen <vinschen@redhat.com>
195
196 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
197 * configure: Regenerate.
198
fafd911d
NC
1992013-03-04 Nick Clifton <nickc@redhat.com>
200
201 * elfcomm.c (error): Flush stdout before emitting the error
202 message.
203 (warn): Likewise.
204
341f9135
CC
2052013-03-01 Cary Coutant <ccoutant@google.com>
206
207 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
208 (shndx_pool_used): Move to top of file.
209 (struct cu_tu_set): New type.
210 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
211 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
212 (find_cu_tu_set_v2): New function.
213 (read_and_display_attr_value): Add "this_set" parameter.
214 (read_and_display_attr): Likewise.
215 (process_debug_info): Track base offsets for DWARF package files.
216 (load_debug_info): Call load_cu_tu_indexes.
217 (get_DW_SECT_short_name): New function.
218 (process_cu_tu_index): Add support for version 2 DWARF package files.
219
15b42fb0
AM
2202013-02-27 Alan Modra <amodra@gmail.com>
221
222 PR binutils/15191
223 * readelf.c (offsetof): Define.
224 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
225 (process_corefile_note_segment): Allow notes without name or
226 desc. Combine out-of-range checks. Disallow "negative"
227 notesz or descsz.
228
9dd3a467
NC
2292013-02-26 Nick Clifton <nickc@redhat.com>
230
231 PR binutils/15191
232 * readelf.c (process_corefile_note_segment): Prevent attempts to
233 read beyond the end of the note buffer.
234
76d8cf45
KT
2352013-02-15 Kai Tietz <ktietz@redhat.com>
236
237 * objcopy.c (copy_main): Initialize context variable.
238
a043396b
NC
2392013-02-15 Nick Clifton <nickc@redhat.com>
240
241 PR binutils/15140
242 * ar.c (open_inarch): Fail on attempts to convert a normal archive
243 to a thin archive or vice versa.
244 * elfcomm.c (make_qualified_name): Handle corrupted thin
245 archives.
246 * readelf.c (process_archive): Likewise.
247 * doc/binutils.texi: Clarify documentation describing thin
248 archives.
249
2e62b721
NC
2502013-02-15 Nick Clifton <nickc@redhat.com>
251
252 PR binutils/15033
253 * objcopy.c (enum change_action): Delete.
254 (struct section_list): Delete remove, copy, change_vma, change_lma
255 and set_flags fields. Add context field.
256 (find_section_list): Add a context parameter. Add support for
257 wildcard characters in section names.
258 (is_strip_section): Check for sections being both copied and
259 removed.
260 (copy_object): Pass context to find_section_list.
261 (setup_section): Likewise.
262 (copy_section): Likewise.
263 (copy_main): Likewise.
264 * doc/binutils: Document the new behaviour.
265 * NEWS: Mention the new feature
266
d99b05a3
NC
2672013-02-14 Nick Clifton <nickc@redhat.com>
268
269 PR binutils/15125
270 * objcopy.c (copy_object): Provide a helpful warning message when
271 adding a gnu_debuglink section to an object which already contains
272 one.
273
83ee86b1
NC
2742013-02-07 Nick Clifton <nickc@redhat.com>
275
276 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
277 corrupt archive uses long names but has no long name table.
278
36591ba1
SL
2792013-02-06 Sandra Loosemore <sandra@codesourcery.com>
280 Andrew Jenner <andrew@codesourcery.com>
281
282 Based on patches from Altera Corporation.
283
284 * readelf.c: Include elf/nios2.h.
285 (dump_relocations): Add case for EM_ALTERA_NIOS2.
286 (get_nios2_dynamic_type): New.
287 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
288 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
289 (is_16bit_abs_reloc): Likewise.
290 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
291 * NEWS: Note Altera Nios II support.
292 * MAINTAINERS: Add Nios II maintainers.
293
7e26601c
NC
2942013-01-29 Xi Wang <xi.wang@gmail.com>
295
296 * readelf.c (process_version_sections): Fix overflow checks to
297 avoid undefined behaviour.
298
aa170720
DE
2992013-01-28 Doug Evans <dje@google.com>
300
301 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
302
5dddde8e
AM
3032013-01-28 Robert Schiele <rschiele@gmail.com>
304
305 * objcopy.c (parse_flags): Add merge and strings section flags.
306
fab128ef
CC
3072013-01-25 Cary Coutant <ccoutant@google.com>
308
15b42fb0
AM
309 * dwarf.c (display_loc_list): Update offset for each line
310 printed.
311 (print_addr_index): New function.
312 (display_loc_list_dwo): Update offset for each line printed.
313 Fix problems displaying loclists in .dwo files. Add support
314 for type 4 entries.
315 (display_debug_loc): Remove custom header for .dwo files.
316 (display_debug_addr): Adjust formatting.
fab128ef 317
9b8bf321
NC
3182013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
319
320 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
321
90f9a987
DE
3222013-01-24 Doug Evans <dje@google.com>
323
324 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
325
78c8d46c
NC
3262013-01-24 Nick Clifton <nickc@redhat.com>
327
328 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
329
a367d729
AK
3302013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
331
332 * readelf.c: Add strings for NT_S390_LAST_BREAK and
333 NT_S390_SYSTEM_CALL.
334
a477bfd1
NC
3352013-01-18 Nick Clifton <nickc@redhat.com>
336
337 PR binutils/15026
338 * addr2line.c (translate_addresses): When pretty printing, print
339 unknown function names on the same line as unknown symbol names.
340
c32d6f7b
AM
3412013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
342
343 * objdump.c (dump_target_specific): Fix NULL pointer test.
344
cb566e3a
AM
3452013-01-16 Alan Modra <amodra@gmail.com>
346
347 PR binutils/15018
348 * stabs.c (parse_stab_members): Always set physname here to avoid
349 gcc warning..
350 (parse_stab_argtypes): ..and don't duplicate the init here.
351
a3c62988
NC
3522013-01-10 Will Newton <will.newton@imgtec.com>
353
354 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
355 (dump_relocations): Add EM_METAG.
356 (get_machine_name): Correct case for Meta.
357 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
358 (is_none_reloc): Add support for Meta NONE reloc.
359
652451f8
YZ
3602013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
361
362 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
363 and NT_ARM_HW_WATCH.
364
955d0b3b
RM
3652013-01-07 Roland McGrath <mcgrathr@google.com>
366
367 * objcopy.c (deterministic): Make int rather than bfd_boolean,
368 initialize to -1.
369 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
370 (default_deterministic): New function.
371 (strip_main, copy_main): Handle -U. Call default_deterministic.
372 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
373 the default based on DEFAULT_AR_DETERMINISTIC.
374 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
375 configure options on -D.
376
377 * ar.c (default_deterministic): Comment fix.
378
7ca01ed9
NC
3792013-01-07 Patrice Dumas <pertusus@free.fr>
380
381 * doc/binutils.texi: Fix ordering of top level nodes.
382 Replace erroneous uses of @itemx with @item.
383
574b25e8
AS
3842013-01-04 Andreas Schwab <schwab@linux-m68k.org>
385
386 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
387
5b2ab150
MS
3882013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
389
390 * MAINTAINERS: Add myself as AArch64 co-maintainer.
391
62658407
L
3922013-01-02 H.J. Lu <hongjiu.lu@intel.com>
393
394 * version.c (print_version): Update copyright year to 2013.
395
4e5f3f9d 396For older changes see ChangeLog-2012
252b5132 397\f
4e5f3f9d 398Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
399
400Copying and distribution of this file, with or without modification,
401are permitted in any medium without royalty provided the copyright
402notice and this notice are preserved.
403
252b5132
RH
404Local Variables:
405mode: change-log
406left-margin: 8
407fill-column: 74
408version-control: never
409End: