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