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