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