]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
2011-12-06 David Daney <david.daney@cavium.com>
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
4b68bca3
DD
12011-12-06 David Daney <david.daney@cavium.com>
2
3 * readelf.c (dynamic_section_mips_val): Factor out trailing '\n'
4 from printed strings and move it to the end of the function.
5 Use BFD_VMA_FMT for printf format specifier for dynamic tag value.
6 Use print_vma() to print dynamic tag values.
7
1b31d05e
NC
82011-12-02 Nick Clifton <nickc@redhat.com>
9
10 * readelf.c (ia64_process_unwind): Turn into a void funtion.
11 (hppa_process_unwind): Likewise.
12 (arm_process_unwind): Likewise.
13 (process_unwind): Likewise.
14 (arm_get_section_word): Rename to get_unwind_section_word.
15 Add sym_name parameter to return the offset into the string table
16 of the symbol associated with the reloc applied to the word.
17 (decode_tic6x_unwind_regmask): Add NULL argument to invocation of
18 get_unwind_section_word.
19 (dump_arm_unwind): Likewise.
20 (decode_arm_unwind_bytecode): Prepend a comma when *not* the first
21 register in a list.
22 (decode_arm_unwind): If the returned function address is 0 and a
23 valid symname offset is provided use that to compute the name
24 associated with the entry.
25 Add extra checks of the compact model index entry.
26
b3364cb9
RM
272011-11-29 Roland McGrath <mcgrathr@google.com>
28
29 * ar.c (ranlib_usage): Describe -D.
30 (ranlib_main): Parse -D.
31 (ranlib_touch): Set BFD_DETERMINISTIC_OUTPUT under -D.
32 * doc/binutils.texi (ranlib): Describe -D, and also --help/-h/-H.
33
a734115a
NC
342011-11-28 Nick Clifton <nickc@redhat.com>
35
36 PR binutils/13421
37 * readelf.c (arm_section_get_word): Add descriptive comments.
38 Initliase the rel_type field of the arm_sec structure.
39 (expand_prel31): Rename to arm_expand_prel31.
40 (dump_arm_unwind): Use new name.
41 Print the function name based on the function address entry.
42
f48e6c45
AS
432011-11-11 Andreas Schwab <schwab@linux-m68k.org>
44
45 * readelf.c (process_program_headers): Fix typo printing p_memsz
46 field.
47
99c513f6
DD
482011-11-01 DJ Delorie <dj@redhat.com>
49
50 * readelf.c: Include elf/rl78.h
51 (guess_is_rela): Handle EM_RL78.
52 (dump_relocations): Likewise.
53 (get_machine_name): Likewise.
54 (is_32bit_abs_reloc): Likewise.
55 * NEWS: Mention addition of RL78 support.
56 * MAINTAINERS: Add myself as RL78 port maintainer.
57
b3f5b73b
ILT
582011-10-28 Ian Lance Taylor <iant@google.com>
59
60 * dwarf.c (display_debug_frames): If do_debug_frames_interp,
61 DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.
62
69f56ae1
WL
632011-10-28 Walter Lee <walt@tilera.com>
64
65 * NEWS: Mention addition of TILEPro and TILE-Gx support.
ab8b6d29 66 * MAINTAINERS: Add myself as TILEPro and TILE-Gx port maintainer.
69f56ae1 67
5b169225
JR
682011-10-27 Joern Rennecke <joern.rennecke@embecosm.com>
69
70 * MAINTAINERS: Add myself as EPIPHANY port maintainer.
71
506eb521
MF
722011-10-25 Mike Frysinger <vapier@gentoo.org>
73
74 * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir).
75 * Makefile.in: Regen.
76
cfb8c092
NC
772011-10-25 Joern Rennecke <joern.rennecke@embecosm.com>
78
79 * readelf.c: Include "elf/epiphany.h".
80 (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
81 (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
82 (is_16bit_abs_reloc, is_none_reloc): Likewise.
83 * po/binutils.pot: Regenerate.
84
81472056
KT
852011-10-25 Kai Tietz <ktietz@redhat.com>
86
87 * winduni.h (unicode_from_ascii_len): New prototype.
88 * winduni.c (unicode_from_ascii_len): New function.
89 * windres.h (define_stringtable): Add additional length argument.
90 * windres.c (define_stringtable): Add length argument for string.
91 * rcparse.y (res_unicode_sizedstring): New rule.
92 (res_unicode_sizedstring_concat): Likewise.
93 (string_data): Adjust rule.
94
a7a0b6a5
JK
952011-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
96
97 * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET
98 also for DW_FORM_ref_udata.
99
07725569
NC
1002011-10-24 Nick Clifton <nickc@redhat.com>
101
102 * po/ja.po: Updated Japanese translation.
103
746c5e8c
L
1042011-10-16 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR binutils/13278
107 * ar.c (open_inarch): Set the target from the the first object
108 on the list only if it isn't set.
109
9cf03b7e
NC
1102011-10-13 Nick Clifton <nickc@redhat.com>
111
112 Fixes to aid translation:
113 * addr2line.c (translate_address): Add comments describing context
114 of a couple of printf statements.
115 * ar.c (write_archive): Allow translation of error message.
116 * bucomm.c (endian_string): Allow translation of strings.
117 (display_target_list): Allow translation.
118 * coffdump.c (dump_coff_type): Allow translation of output.
119 (dump_coff_where): Likewise.
120 (dump_coff_symbol): Likewise.
121 (dump_coff_scope): Likewise.
122 (dump_coff_sfile): Likewise.
123 (dump_coff_section): Likewise.
124 (coff_dump): Likewise.
125 * dlltool (def_version): Allow translation of output.
126 (run): Likewise.
127 * dllwrap.c (run): Allow translation of output.
128 * dwarf.c (print_dwarf_vma): Allow translation of output.
129 (process_extended_line_op): Remove spurious translation.
130 Add translation for strings that can be translated.
131 (decode_location_exression): Allow translation of output.
132 (read_and_display_attr_value): Allow translation of output.
133 * readelf.c (slurp_rela_relocs): Add translation for error
134 messages when failing to get data.
135 (slurp_rel_relocs): Likewise.
136 (get_32bit_elf_symbols): Likewise.
137 (get_64bit_elf_symbols): Likewise.
138 (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
139 word.
140 (process_relocs): Remove spurious translation.
141 (decode_tic6x_unwind_bytecode): Likewise.
142 (process_version_section): Improve error messages.
143 (process_mips_specific): Likewise.
144 (print_gnu_note): Remove spurious translation.
145 (print_stapsdt_note): Likewise.
146 (get_ia64_vms_note_type): Likewise.
147 * sysdump.c (getCHARS): Allow translation.
148 (fillup): Allow translation of output.
149 (getone): Likewise.
150 (must): Likewise.
151 (derived_type): Likewise.
152 * doc/binutils.doc (addr2line): Extend description of command line
153 options.
154 * po/binutils.pot: Regenerate.
155
ba5cdace
NC
1562011-10-13 Nick Clifton <nickc@redhat.com>
157
158 PR binutils/13219
159 * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter.
160 (get_32bit_elf_symbols): Add num_syms_return argument.
161 Return the number of symbols loaded into the symbol table.
162 (get_64bit_elf_symbols): Likewise.
163 (process_section_headers): Use GET_ELF_SYMBOLS to initialise
164 symbol count.
165 (proces_relocs): Likewise.
166 (ia64_process_unwind): Likewise.
167 (hppa_process_unwind): Likewise.
168 (arm_process_unwind): Likewise.
169 (process_dynamic_section): Likewise.
170 (process_version_sections): Likewise.
171 (process_symbol_table): Likewise.
172 (process_section_groups): Likewise.
173 Add check before indexing into the symbol table.
174 (apply_relocations): Likewise.
175
bfb6c1ab
NC
1762011-10-11 Chris <player1@onet.eu>
177
178 PR binutils/13051
179 Fix a syntax error bug when compiling rc files with the VERSIONINFO resource
180 containing more than one language block inside a single StringFileInfo block.
181
182 * windint.h (rc_ver_stringtable): New structure definition.
183 (rc_ver_info): Use it.
184 * rcparse.y (verstringtable): New variable.
185 (verstringtables): New type.
186 (verstringtables:): New rule declaration.
187 (verblocks:): Use it.
188 * resrc.c (append_ver_stringtable): New function.
189 (append_ver_stringfileinfo): Update to use stringtables.
190 * windres.h (append_ver_stringfileinfo): Update declaration.
191 (append_ver_stringtable): New declaration.
192 * resrc.c (write_rc_versioninfo): Update to support multiple blocks.
193 * resbin.c (bin_to_res_version): Likewise.
194 (res_to_bin_versioninfo): Likewise.
195
d5698657
NC
1962011-10-10 Nick Clifton <nickc@redhat.com>
197
198 * po/bg.po: Updated Bulgarian translation.
199 * po/es.po: Updated Spansih translation.
200 * po/fi.po: Updated Finnish translation.
201 * po/fr.po: Updated French translation.
202
d4cb0ea0
NC
2032011-10-05 DJ Delorie <dj@redhat.com>
204 Nick Clifton <nickc@redhat.com>
205
206 * readelf.c (get_machine_dlags): Add support for RX's PID mode.
207
2082011-10-04 Paul Woegerer <paul_woegerer@mentor.com>
4eee63bc
CD
209 Carlos O'Donell <carlos@codesourcery.com>
210
211 * dwarf.c (display_debug_lines_decoded): Index directory_table with
212 directory_index from file_table entry.
213
48049d1e
CC
2142011-09-30 Cary Coutant <ccoutant@google.com>
215
216 * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum
217 constant.
218
a82526dd
TG
2192011-09-28 Tristan Gingold <gingold@adacore.com>
220
221 * od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
222
21eb9156
TG
2232011-09-27 Tristan Gingold <gingold@adacore.com>
224
225 * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros.
226 (dump_xcoff32_sections_header): Likewise.
227 (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise.
228 (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise.
229 (dump_xcoff32_except): Likewise.
230 (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
231
4a5cb34f
TG
2322011-09-27 Tristan Gingold <gingold@adacore.com>
233
234 * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
235
a7142d94
TG
2362011-09-22 Tristan Gingold <gingold@adacore.com>
237
238 * NEWS: Add marker for 2.22.
239
cdd30861
DM
2402011-09-21 David S. Miller <davem@davemloft.net>
241
242 * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.
243
9e8c70f9
DM
244 * readelf.c (display_sparc_hwcaps): New.
245 (display_sparc_gnu_attribute): New.
246 (process_sparc_specific): New.
247 (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
248 or EM_SPARCV9 invoke process_sparc_specific.
249
b3681d67
L
2502011-09-18 H.J. Lu <hongjiu.lu@intel.com>
251
252 PR binutils/13196
253 * dwarf.c (display_debug_aranges): Check zero address size.
254
4c8e8a7e
L
2552011-09-15 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR binutils/13180
258 * objcopy.c (is_strip_section_1): New.
259 (is_strip_section): Use it. Remove the group section if all
260 members are removed.
261
7b01d2c3
NC
2622011-09-08 Nick Clifton <nickc@redhat.com>
263
264 * po/ja.po: Updated Japanese translation.
265
7cf80422
NC
2662011-08-26 Nick Clifton <nickc@redhat.com>
267
268 * po/es.po: Updated Spanish translation.
269
066a6662
AM
2702011-08-08 Marcus Comstedt <marcus@mc.pp.se>
271
272 PR binutils/12964
273 * Makefile.am (embedspu): Use awk rather than sed.
274 * Makefile.in: Regenerate.
275
212b6063
JK
2762011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
277
278 * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
279 DW_FORM_data8 as location list pointers only for DWARF < 4.
280
4ccf1e31
JJ
2812011-07-26 Jakub Jelinek <jakub@redhat.com>
282
283 * NEWS: Mention .debug_macro support.
284 * dwarf.c (read_and_display_attr_value): Don't print a tab
285 if attribute is 0.
286 (get_AT_name): Handle DW_AT_GNU_macros.
287 (get_line_filename_and_dirname, display_debug_macro): New
288 functions.
289 (debug_displays): Add an entry for .debug_macro and .zdebug_macro.
290 * readelf.c (process_section_headers): With do_debug_macinfo
291 handle also .debug_macro sections.
292 * dwarf.h (dwarf_section_display_enum): Add macro.
293
df58fc94
RS
2942011-07-24 Chao-ying Fu <fu@mips.com>
295 Maciej W. Rozycki <macro@codesourcery.com>
296
297 * readelf.c (get_machine_flags): Handle microMIPS ASE.
298 (get_mips_symbol_other): Likewise.
299
7a9068fe
L
3002011-07-22 H.J. Lu <hongjiu.lu@intel.com>
301
302 * dwarf.c (init_dwarf_regnames): Handle EM_K1OM.
303
304 * elfedit.c (elf_machine): Support EM_K1OM.
305 (elf_class): Likewise.
306
307 * readelf.c (guess_is_rela): Handle EM_K1OM.
308 (dump_relocations): Likewise.
309 (get_machine_name): Likewise.
310 (get_section_type_name): Likewise.
311 (get_elf_section_flags): Likewise.
312 (process_section_headers): Likewise.
313 (get_symbol_index_type): Likewise.
314 (is_32bit_abs_reloc): Likewise.
315 (is_32bit_pcrel_reloc): Likewise.
316 (is_64bit_abs_reloc): Likewise.
317 (is_64bit_pcrel_reloc): Likewise.
318 (is_none_reloc): Likewise.
319
320 * doc/binutils.texi: Mention K1OM for elfedit.
321
b76e66d3
CC
3222011-07-11 Cary Coutant <ccoutant@google.com>
323
324 PR 12983
325 * binutils/nm.c (display_file): Decompress debug sections when
326 printing line numbers.
327
9c55345c
TS
3282011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
329 Thomas Schwinge <thomas@schwinge.name>
330
2bb70ae0 331 PR binutils/12913
9c55345c
TS
332 * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
333 alias and ELFOSABI_HURD. Add GNU alias.
334 * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
335 Likewise.
336 * doc/binutils.texi <elfedit>: Update accordingly.
337
8adf5d70
NC
3382011-07-01 Nick Clifton <nickc@redhat.com>
339
340 PR binutils/12325
341 * doc/binutils.texi (ar cmdline): Document --target, --version and
342 --help command line options.
343
75d5a45f
NC
3442011-06-30 Nick Clifton <nickc@redhat.com>
345
346 PR binutils/12558
347 * ar.c (main): When asked to move members in an archive that is
348 being created, ignore the move request.
349
a7dbfd1c
NC
3502011-06-29 Nick Clifton <nickc@redhat.com>
351
352 * readelf.c (get_section_type_name): When displaying an unknown
353 section type display the hex value first on the assumption that
354 the full message will probably be truncated into a 15 character
355 field.
356
f8b999f9
JJ
3572011-06-22 Jakub Jelinek <jakub@redhat.com>
358
359 * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
360 DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
361 Handle DW_OP_GNU_parameter_ref.
362
af61e67f
TT
3632011-06-16 Tom Tromey <tromey@redhat.com>
364
365 * dwarf-mode.el (dwarf-do-insert-substructure): Call
366 expand-file-name.
367 (dwarf-do-refresh): Likewise.
368
faa9a424
UW
3692011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
370
371 * readelf.c (get_note_type): Handle NT_ARM_VFP.
372
aa137e4d
NC
3732011-06-13 Walter Lee <walt@tilera.com>
374
375 * readelf.c: Include tilepro.h and tilegx.h.
376 (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
377 (dump_relocations): Likewise.
378 (get_machine_name): Likewise.
379 (is_32bit_abs_reloc): Likewise.
380 (is_32bit_pcerel_reloc): Likewise.
381 (is_64bit_abs_reloc): Likewise.
382 (is_64bit_pcrel_reloc): Likewise.
383
e682d13b
TG
3842011-06-09 Tristan Gingold <gingold@adacore.com>
385
386 * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
387 length.
388
59245841
NC
3892011-06-08 Nick Clifton <nickc@redhat.com>
390
391 PR binutils/12855
392 * readelf.c (process_version_sections): Handle binaries containing
393 corrupt version information.
394 (process_symbol_table): Stop processing a symbol's version
395 information if it could not be read in.
396
397 (get_data): Add comment describing the function.
398 (process_section_headers): Set dynamic_strings_length to 0 if the
399 dynamic strings could not be read in.
400 (process_dynamic_section): Likewise.
401 (process_section_groups): Stop processing the group information if
402 the data could not be read in.
403 (hppa_processs_unwind): Assert that there is only one string table
404 in the file.
405 (arm_process_unwind): Likewise.
406 (ia64_process_unwind): Likewise.
407 Set the size of the unwind auxillary information to 0 if the data
408 could not be read.
409 (load_specific_debug_section): Handle a failure to read in the
410 section.
411 (process_mips_specific): Stop display of the PLT GOT section if it
412 could not be read in.
413
516ec24d
TG
4142011-06-08 Tristan Gingold <gingold@adacore.com>
415
416 * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
417
ad6b52dd
CC
4182011-06-07 Cary Coutant <ccoutant@google.com>
419
420 * dwarf.c: Fix conversion to TU number.
421
cc643b88
NC
4222011-06-02 Nick Clifton <nickc@redhat.com>
423
424 * resres.c: Fix spelling typo.
425 * windint.h: Likewise.
426 * windmc.c: Likewise.
427 * windres.c: Likewise.
428 * po/POTFILES.in: Regenerate.
429 * po/binutils.pot: Regenerate.
430
9483a6ee
DJ
4312011-06-01 Daniel Jacobowitz <drow@false.org>
432
433 * MAINTAINERS: Update my email address.
434
1ab52cbe
AM
4352011-05-31 Matthias Klose <doko@ubuntu.com>
436
437 * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
438 * configure: Regenerate.
439
1c10be1e
AM
4402011-05-30 Alan Modra <amodra@gmail.com>
441
442 PR binutils/12820
443 * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
444 (bin_SCRIPTS): ..here.
445 (EXTRA_SCRIPTS): Define.
446 (EXTRA_DIST): Add embedspu.sh.
447 (DISTCLEANFILES): Add embedspu.
448 (embedspu): Depend on Makefile. Replace sed "s" command with "c".
449 * Makefile.in: Regenerate.
450
51d0d03f
JJ
4512011-05-25 Jakub Jelinek <jakub@redhat.com>
452
453 * dwarf.c (loc_offsets): New variable.
454 (loc_offsets_compar): New routine.
455 (display_debug_loc): Handle loc_offsets not being in ascending order
456 and also a single .debug_loc entry being used multiple times.
457
0ba0c2b3
NC
4582011-05-18 Nick Clifton <nickc@redhat.com>
459
460 PR binutils/12753
461 * nm.c (filter_symbols): Treat unique symbols as global symbols.
462 * doc/binutils.texi (nm): Mention that some lowercase letters
463 actually indicate global symbols.
464
429628a5
TG
4652011-05-15 Tristan Gingold <gingold@adacore.com>
466
467 * od-xcoff.c: New file.
468 * objdump.h: New file.
469 * objdump.c: Include objdump.h
470 (dump_private_options, objdump_private_vectors): New variables.
471 (usage): Mention -P/--private. Display handled options.
472 (long_options): Add -P/--private.
473 (dump_target_specific): New function.
474 (dump_bfd): Handle dump_private_options.
475 (main): Handle -P.
476 * doc/binutils.texi (objdump): Document -P/--private.
477 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
478 New variables, compute them.
479 (od_vectors): Add vectors for private dumpers. Make them uniq.
480 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
481 * Makefile.am (HFILES): Add objdump.h
482 (CFILES): Add od-xcoff.c
483 (OBJDUMP_PRIVATE_OFILES): New variable.
484 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
485 (objdump_LDADD): Ditto.
486 (EXTRA_objdump_SOURCES): Define.
487 * Makefile.in: Regenerate.
488 * configure: Regenerate.
489
7e665af3
TG
4902011-05-10 Tristan Gingold <gingold@adacore.com>
491
492 * dwarf.c (process_extended_line_op): Dump unknown records.
493
19094d10
AM
4942011-05-07 Alan Modra <amodra@gmail.com>
495
44bbc88a 496 PR binutils/12632
19094d10
AM
497 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
498 case. Rewrite without goto.
499
1cd48f98
JJ
5002011-05-03 Jakub Jelinek <jakub@redhat.com>
501
0892011d
JJ
502 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
503 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
504 and DW_OP_GNU_reinterpret.
505
1cd48f98
JJ
506 * MAINTAINERS: Add myself as DWARF2 maintainer.
507
4510857d
AM
5082011-05-02 Alan Modra <amodra@gmail.com>
509
510 PR binutils/12720
511 Revert the following change
512 Michael Snyder <msnyder@vmware.com>
513 * ar.c (move_members): Plug memory leak.
514 (delete_members): Plug memory leak.
515
fd2f0033
TT
5162011-04-28 Tom Tromey <tromey@redhat.com>
517
518 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
519 dwarf-mode.el.
520 * objdump.c (suppress_bfd_header): New global.
521 (usage): Update.
522 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
523 (options): Add dwarf-depth and dwarf-start entries.
524 (dump_bfd): Use suppress_bfd_header.
525 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
526 * doc/binutils.texi (objcopy): Document --dwarf-depth and
527 --dwarf-start.
528 (readelf): Likewise.
529 * dwarf-mode.el: New file.
530 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
531 (read_and_display_attr_value): Also check debug_info_p.
532 (process_debug_info): Handle dwarf_start_die and
533 dwarf_cutoff_level.
534 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
535 * readelf.c (usage): Update.
536 (OPTION_DWARF_DEPTH): New macro.
537 (OPTION_DWARF_START): Likewise.
538 (options): Add dwarf-depth and dwarf-start entries.
539 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
540
6adc060c
JK
5412011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
544
43294ab7
TG
5452011-04-27 Tristan Gingold <gingold@adacore.com>
546
547 * dwarf.c (process_extended_line_op): Handle
548 DW_LNE_HP_source_file_correlation.
549
b4e7b885
NC
5502011-04-27 Nick Clifton <nickc@redhat.com>
551
552 * po/da.po: Updated Danish translation.
553
c6a9fc58
TT
5542011-04-21 Tom Tromey <tromey@redhat.com>
555
556 * readelf.c (print_stapsdt_note): New function.
557 (process_note): Use it.
558
70616151
TT
5592011-04-21 Tom Tromey <tromey@redhat.com>
560
561 * readelf.c (get_stapsdt_note_type): New function.
562 (process_note): Recognize "stapsdt" notes.
563
2aee03ae
TT
5642011-04-21 Tom Tromey <tromey@redhat.com>
565
566 * readelf.c (process_corefile_note_segment): Change header field
567 widths.
568 (process_note): Change field widths.
569
664f90a3
TT
5702011-04-21 Tom Tromey <tromey@redhat.com>
571
572 * readelf.c (print_gnu_note): New function.
573 (process_note): Use it.
574
4161fbb0
JZ
5752011-04-21 Jie Zhang <jzhang918@gmail.com>
576
577 * MAINTAINERS: Update my email address.
578
7f880bc3 5792011-04-11 Kai Tietz <ktietz@redhat.com>
ec25acb3
NC
580
581 * windres.c (usage): Add new --preprocessor-arg option.
582 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
583 (option long_options): Add preprocessor-arg option.
584 (main): Handle it.
585 * doc/binutils.texi: Add documentation for --preprocessor-arg
586 option.
587 * NEWS: Add line about new --preprocessor-arg option for windres.
588
894e93a8
NC
5892011-04-08 John Marino <binutils@marino.st>
590
591 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
592 * syslex.l: Likewise.
593
fa197c1c
PB
5942011-04-07 Paul Brook <paul@codesourcery.com>
595
596 * readelf.c (arm_section_get_word): Handle C6000 relocations.
597 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
598 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
599 (decode_arm_unwind): Split out common code from ARM specific bits.
600 (dump_arm_unwind): Use expand_prel31.
601 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
602 (process_unwind): Add SHT_C6000_UNWIND.
603
8c5fc800
JM
6042011-04-06 Joseph Myers <joseph@codesourcery.com>
605
606 * configure.in (thumb-*-pe*): Remove.
607 * configure: Regenerate.
608
a8aa951d
SA
6092011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
610
611 * MAINTAINERS: Update my email address.
612
1e99536a
L
6132011-04-03 H.J. Lu <hongjiu.lu@intel.com>
614
615 PR binutils/12632
616 * objcopy.c (copy_unknown_object): Make the archive element
617 readable.
618
bf03e632
DM
6192011-04-03 David S. Miller <davem@davemloft.net>
620
621 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
622 accurately, rather than how they are represented internally.
623
545f57c6
TG
6242011-03-31 Tristan Gingold <gingold@adacore.com>
625
626 * makefile.vms (readelf.exe): New target.
627
083faca9
TG
6282011-03-31 Tristan Gingold <gingold@adacore.com>
629
630 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
631
ac145307
BS
6322011-03-31 Bernd Schmidt <bernds@codesourcery.com>
633
634 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
635 (dump_relocations): Likewise.
636
00e98fc7
TG
6372011-03-31 Tristan Gingold <gingold@adacore.com>
638
639 * readelf.c (get_ia64_vms_note_type): New function.
640 (print_ia64_vms_note): Ditto.
641 (process_note): Recognize VMS/ia64 specific notes.
642 Display them.
643 (process_corefile_note_segment): Decode VMS notes.
644
877c169d
CM
6452011-03-30 Catherine Moore <clm@codesourcery.com>
646
647 * addr2line.c (translate_addresses): Sign extend the pc
648 if sign_extend_vma is enabled.
649
2842702f
NC
6502011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
651
652 * readelf.c (process_gnu_liblist): Stop memory leak.
653
9382dad2
AM
6542011-03-29 Alan Modra <amodra@gmail.com>
655
656 * coffdump.c: Include bfd_stdint.h
657
fbe3e2c8
PM
6582011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
659
660 * coffdump.c (coff_dump): Correct spelling error.
661 (show_usage): Replace SYSROFF by COFF.
662
1a9911c3
PM
6632011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
664
665 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
666 to allow compilation for all targets.
667
49e7b350
NC
6682011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
669
670 * dwarf.c (process_debug_info): Use offset_size to determine
671 the bit-size of the computation unit's offset.
767221a9
NC
672 (decode_location_expression): Use dwarf_vmatoa function to display
673 DW_OP_addr OP.
674 (process_debug_info): Use dwarf_vma type for local variables
675 length and type_offset.
49e7b350 676
68187828
NC
6772011-03-25 Michael Snyder <msnyder@vmware.com>
678
679 * strings.c (print_strings): Plug memory leak.
6a696910 680 * ar.c (move_members): Plug memory leak.
a1bc0327 681 (delete_members): Plug memory leak.
8e4850a9 682 (write_archive): Plug memory leak.
cd37dafc
NC
683 * ieee.c (ieee_add_bb11): Plug memory leak.
684 (ieee_function_type): Likewise.
685 (ieee_class_baseclass): Likewise.
09192bc7
NC
686 * prdbg.c (pr_function_type): Close memory leaks.
687 (pr_method_type): Likewise.
688 (tg_class_static_member): Likewise.
689 (tg_class_method_variant): Likewise.
690 (tg_class_static_method_variant): Likewise.
1fcab1af 691 * stabs.c (parse_stab_enum_type): Fix memory leaks.
4b41844b
NC
692 (parse_stab_struct_type): Likewise.
693 (parse_stab_struct_fields): Likewise.
694 (parse_stab_one_struct_field): Likewise.
695 (parse_stab_members): Likewise.
696 (stab_demangle_qualified): Likewise.
697 * objdump.c (dump_reloc_set): Free malloced memory.
c48d800e 698 * bucomm.c (make_tempname): Stop memory leak.
68187828 699
467c65bc
NC
7002011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
701
702 Replace bfd_vma type and analog types by dwarf_vma and analogs.
703 Use dwarf specific print functions to display these type values.
704 * dwarf.h (dwarf_signed_vma): New type;
705 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
706 (DWARF2_External_PubNames): Likewise.
707 (DWARF2_External_CompUnit): Likewise.
708 (DWARF2_External_ARange): Likewise.
709 (read_leb128): Change return type to dwarf_vma.
710 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
711 check byte_size values.
712 (dwarf_vmatoa): Change parameter type to dwarf_vma.
713 (dwarf_svmatoa): New static function.
714 (read_leb128): Change return type to dwarf_vma.
715 (read_sleb128): New static function.
716 (struct State_Machine_Registers): Change address field type to
717 dwarf_vma.
718 (process_extended_line_op): Adapt to type changes.
719 (fetch_indirect_string): Likewise.
720 (idisplay_block): Likewise.
721 (decode_location_expression): Likewise.
722 (read_and_display_attr_value): Likewise.
723 (process_debug_info): Likewise.
724 (display_debug_lines_raw): Likewise.
725 (display_debug_lines_decoded): Likewise.
726 (SLEB macro): Use new read_sleb128 function.
727
c60ce34a
AM
7282011-03-17 Alan Modra <amodra@gmail.com>
729
730 PR 12590
731 * ar.c (ranlib_main): Init arg_index properly.
732 (usage): Describe --target.
733
629e7ca8
JJ
7342011-03-16 Jakub Jelinek <jakub@redhat.com>
735
736 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
737 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
738 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
739 (get_AT_name): Handle DW_AT_GNU_call_site_value,
740 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
741 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
742 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
743 DW_AT_GNU_all_source_call_sites.
744 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
745 handling.
746
7472011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
748
749 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
750 (decode_location_expression): Handle DW_OP_GNU_entry_value.
751 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
752 (get_AT_name): Likewise.
753
497b9b32
MS
7542011-03-14 Michael Snyder <msnyder@vmware.com>
755
0cbf3531
MS
756 * objcopy.c (set_pe_subsystem): Free subsystem.
757
c30fe01d
MS
758 * wrstabs.c (stab_start_struct_type): Close memory leak.
759
0429c154
MS
760 * readelf.c (process_version_sections): Free symbols.
761
497b9b32
MS
762 * nm.c (display_rel_file): Free symsizes.
763
8f7e76d0
NC
7642011-03-10 Nick Clifton <nickc@redhat.com>
765
766 * readelf.c (get_machine_name): Update EM_V850 entry.
767
505f1412
MF
7682011-03-03 Mike Frysinger <vapier@gentoo.org>
769
770 * objdump.c (usage): Fix single typo.
771 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
772 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
773
5115b233
AM
7742011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
775
776 PR binutils/12523
777 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
778
8b6efd89
KT
7792011-02-28 Kai Tietz <kai.tietz@onevision.com>
780
781 * debug.c (debug_start_source): Use filename_(n)cmp.
782 * ieee.c (ieee_finish_compilation_unit): Likewise.
783 (ieee_lineno): Likewise.
784 * nlmconv.c (main): Likewise.
785 * objcopy.c (strip_main): Likewise.
786 (copy_main): Likewise.
787 * objdump.c (show_line): Likewise.
788 (dump_reloc_set): Likewise.
789 * srconv.c (main): Likewise.
790 * wrstabs.c (stab_lineno): Likewise.
791
61865e30
NC
7922011-02-24 Zachary T Welch <zwelch@codesourcery.com>
793
794 * readelf.c (decode_arm_unwind): Implement decoding of remaining
795 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
796
47704ddf
KT
7972011-02-23 Kai Tietz <kai.tietz@onevision.com>
798
799 * dwarf.c (read_leb128): Use bfd_vma instead of
800 long type.
801 (dwarf_vmatoa): New helper routine.
802 (process_extended_line_op): Use for adr bfd_vma
803 type and print those typed values via BFD_VMA_FMT
804 or via dwarf_vmatoa for localized prints.
805 (fetch_indirect_string): Adjust offset's type.
806 (decode_location_expression): Adjust argument types
807 and uvalue type.
808 (read_and_display_attr_value): Likewise.
809 (read_and_display_attr): Likewise.
810 (decode_location_expression): Adjust printf format.
811 (process_debug_info): Likewise.
812 (display_debug_lines_raw): Likewise.
813 (display_debug_lines_decoded): Likewise.
814 (display_debug_pubnames): Likewise.
815 (display_debug_loc): Likewise.
816 (display_debug_aranges): Likewise.
817 * dwarf.h (DWARF2_External_LineInfo,
818 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
819 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
820 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
821 DWARF2_Internal_ARange): Added..
822 (read_leb128): Adjust return type.
823
822ce8ee
RW
8242011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
825
826 * configure: Regenerate.
827
82f2dbf7
NC
8282011-02-08 Nick Clifton <nickc@redhat.com>
829
830 PR binutils/12467
831 * readelf.c (process_program_headers): Issue a warning if there
832 are no program headers but the file header has a non-zero program
833 header offset.
834 (process_section_headers): Issue a warning if there are no section
835 headers but the file header has a non-zero section header offset.
836 (process_section_groups): Reword the no section message so that it
837 can be distinguished from the one issued by process_section_headers.
838
6ec8b48e
JK
8392011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
840 Doug Evans <dje@google.com>
841
842 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
843
293c573e
MR
8442011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
845
846 * readelf.c (process_object): Free dynamic_section after use.
847
2b52916e
L
8482011-01-18 H.J. Lu <hongjiu.lu@intel.com>
849
850 PR binutils/12408
851 * readelf.c (process_archive): Free and reset dump_sects
852 after processing each archive member.
853
7a88bc9c
AS
8542011-01-11 Andreas Schwab <schwab@redhat.com>
855
856 * readelf.c (print_symbol): Handle symbol characters as unsigned.
857 Whitespace fixes.
858
f7465604
NC
8592011-01-10 Nick Clifton <nickc@redhat.com>
860
861 * po/da.po: Updated Danish translation.
862
9849fbfc
NC
8632011-01-06 Vladimir Siminov <sv@sw.ru>
864
865 * bucomm.c (get_file_size): Check for negative sizes and issue a
866 warning message if encountered.
867
0db46eb4
L
8682011-01-01 H.J. Lu <hongjiu.lu@intel.com>
869
870 * version.c (print_version): Update copyright to 2011.
871
9e9e0820 872For older changes see ChangeLog-2010
252b5132
RH
873\f
874Local Variables:
875mode: change-log
876left-margin: 8
877fill-column: 74
878version-control: never
879End: