Added --identify option to dlltool.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
2
3 Added --identify option to dlltool.
4 * binutils/dlltool.c: Add new global variables
5 identify_imp_name and identify_dll_name.
6 (identify_dll_for_implib, identify_search_archive,
7 identify_search_member, identify_process_section_p,
8 identify_search_section): New functions.
9 (usage): Added --identify.
10 (long_options): Added --identify.
11 (main): Handle --identify option.
12 * binutils/doc/binutils.texi: Document --identify.
13
14 2008-11-14 Tristan Gingold <gingold@adacore.com>
15
16 Remove outdated mach-o specific tests.
17 * objdump.c (load_debug_section): Remove mach-o specific test.
18 (mach_o_uncompressed_dwarf_sections): Removed.
19 (mach_o_compressed_dwarf_sections): Removed.
20 (generic_uncompressed_dwarf_sections): Removed.
21 (generic_compressed_dwarf_sections): Removed.
22 (check_mach_o_dwarf): Removed.
23 (dump_dwarf): Remove call to check_mach_o_dwarf.
24
25 2008-11-14 Tristan Gingold <gingold@adacore.com>
26
27 * configure.com: Get version from configure.in of bfd.
28 * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
29 (CFLAGS): Update flags.
30
31 2008-11-13 Hans-Peter Nilsson <hp@axis.com>
32 Alan Modra <amodra@bigpond.net.au>
33
34 * nm.c (filter_symbols): Only call memcpy when from != to.
35
36 2008-11-10 Tristan Gingold <gingold@adacore.com>
37 Alan Modra <amodra@bigpond.net.au>
38
39 * objdump.c (disassemble_bytes): Don't skip leading zeros when
40 end of section calculation overflows.
41
42 2008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
43
44 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
45
46 2008-10-31 Alan Modra <amodra@bigpond.net.au>
47
48 * po/id.po: New file.
49 * configure.in (ALL_LINGUAS): Add id.
50 * configure: Regenerate.
51
52 2008-10-21 Alan Modra <amodra@bigpond.net.au>
53
54 * windmc.c (res_alloc): Remove unnecessary cast.
55 * windres.c (res_alloc, reswr_alloc): Likewise.
56
57 2008-10-20 Nick Clifton <nickc@redhat.com>
58
59 * readelf.c: Tidy up code formatting.
60
61 2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
62
63 * readelf.c (display_power_gnu_attribute): Decode
64 Tag_GNU_Power_ABI_Struct_Return.
65
66 2008-10-10 Alan Modra <amodra@bigpond.net.au>
67
68 * embedspu.sh: Pass -Wa,-noexecstack to $CC.
69
70 2008-10-09 Kai Tietz <kai.tietz@onevision.com>
71
72 * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
73 (PAGE_MASK): Likewise.
74 (sfunc): Change to address size of bfd_vma for base-file.
75 (flush_page): Likewise.
76 (gen_exp_file): Likewise.
77
78 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
79
80 * readelf.c (process_section_headers): Do not cut the section names and
81 types if running with --wide.
82
83 2008-10-06 Tom Tromey <tromey@redhat.com>
84
85 * dwarf.c (display_debug_frames): Change text for uniformity.
86 (process_debug_info): Likewise.
87 (display_debug_aranges): Likewise. Indent address output.
88 (display_debug_pubnames): Print offset in hex.
89
90 2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
91
92 PR 6934
93 * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
94 generated by the SUNPro C++ compiler.
95
96 2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
97
98 PR 6922
99 * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
100 'b' and 'v' extensions.
101
102 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
103 Steve Ellcey <sje@cup.hp.com>
104
105 * configure: Regenerate for new libtool.
106 * aclocal.m4: Ditto.
107 * Makefile.in: Ditto.
108 * doc/Makefile.in: Ditto.
109
110 2008-09-28 Alan Modra <amodra@bigpond.net.au>
111
112 * objcopy.c (setup_section): Set elf_group_id.
113
114 2008-09-24 Richard Henderson <rth@redhat.com>
115
116 * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
117 (decode_location_expression): Add section parameter. Handle
118 DW_OP_GNU_encoded_addr.
119 (read_and_display_attr_value): Update decode_location_expression call.
120 (display_debug_loc, display_debug_frames): Likewise.
121
122 2008-09-25 Alan Modra <amodra@bigpond.net.au>
123
124 PR 6913
125 * dwarf.c (print_dwarf_vma): Don't call printf without format string.
126
127 2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
128
129 Suppress warnings on NONE relocations to discarded sections.
130 * readelf.c (is_none_reloc): New function.
131 (debug_apply_relocations): Ignore is_none_reloc() relocations.
132
133 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
134
135 Fix loading large elf64 binaries on 32bit hosts.
136 * configure.in: Call AC_SYS_LARGEFILE.
137 * config.in: Regenerate.
138 * configure: Regenerate.
139
140 2008-09-11 Alan Modra <amodra@bigpond.net.au>
141
142 * po/sv.po: Update.
143
144 2008-09-08 Tristan Gingold <gingold@adacore.com>
145
146 * BRANCHES: Add 2.18 and 2.19 release branches.
147
148 2008-09-08 Tristan Gingold <gingold@adacore.com>
149
150 * NEWS: Add a marker for the 2.19 features.
151
152 2008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
153
154 * readelf.c (load_specific_debug_section): New function, from
155 load_debug_section.
156 (load_debug_section): Use load_specific_debug_section.
157 (display_debug_section): Use load_specific_debug_section. Check for
158 multiple sections with the same name.
159
160 2008-08-28 Tristan Gingold <gingold@adacore.com>
161
162 * objdump.c (dump_stabs): Add sections for Darwin.
163
164 2008-08-25 Alan Modra <amodra@bigpond.net.au>
165
166 * sysdep.h: Include "binary-io.h".
167 (O_BINARY): Don't define here.
168 * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
169 * strings.c: Likewise.
170 (main): Remove #ifdef SET_BINARY.
171 * Makefile.am: Run "make dep-am"
172 * Makefile.in: Regenerate.
173
174 2008-08-24 Alan Modra <amodra@bigpond.net.au>
175
176 * configure.in: Update a number of obsolete autoconf macros.
177 * configure: Regenerate.
178 * aclocal.m4: Regenerate.
179
180 2008-08-21 Richard Henderson <rth@redhat.com>
181
182 * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
183 (is_64bit_pcrel_reloc): New.
184 (debug_apply_relocations): Use it. Handle hppa pcrel bias.
185
186 2008-08-15 Alan Modra <amodra@bigpond.net.au>
187
188 PR 6526
189 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
190 * Makefile.in: Regenerate.
191 * aclocal.m4: Regenerate.
192 * config.in: Regenerate.
193 * configure: Regenerate.
194 * doc/Makefile.in: Regenerate.
195
196 2008-08-09 Alan Modra <amodra@bigpond.net.au>
197
198 PR 6615
199 * rename.c (smart_rename): Punctuate error messages.
200
201 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
202 Daniel Jacobowitz <dan@codesourcery.com>
203 Catherine Moore <clm@codesourcery.com>
204 Mark Shinwell <shinwell@codesourcery.com>
205
206 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
207 STO_MIPS_PIC.
208 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
209 (dump_relocations, debug_apply_relocations): Don't handle it here.
210 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
211 (print_mips_pltgot_entry): New function.
212 (process_mips_specific): Dump the PLT GOT.
213
214 2008-08-08 Alan Modra <amodra@bigpond.net.au>
215
216 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
217
218 2008-08-06 Alan Modra <amodra@bigpond.net.au>
219
220 PR 6774
221 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
222 (setup_section): Don't zero vma and lma when extract_symbol.
223 (copy_section): Discard relocations when extract_symbol.
224 * doc/binutils.texi: Update --extract-symbol description.
225
226 2008-08-04 Alan Modra <amodra@bigpond.net.au>
227
228 * Makefile.am (POTFILES.in): Set LC_ALL=C.
229 * Makefile.in: Regenerate.
230
231 2008-08-04 Markus Weiss <weissms@aros.org>
232
233 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
234
235 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
236
237 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
238 (dwarf_regnames_x86_64): Likewise.
239
240 2008-07-30 Alan Modra <amodra@bigpond.net.au>
241
242 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
243 windmc.c: Silence gcc warnings.
244
245 2008-07-28 Alan Modra <amodra@bigpond.net.au>
246
247 * readelf.c (print_vma): Typo fix.
248
249 2008-07-28 Alan Modra <amodra@bigpond.net.au>
250
251 PR 6769
252 * readelf.c (print_dec_vma, print_hex_vma): Delete.
253 (print_vma): Use BFD_VMA_FMT.
254 * size.c (size_number, rprint_number): Likewise.
255
256 2008-07-26 Michael Eager <eager@eagercon.com>
257
258 * readelf.c (display_power_gnu_attribute): Display
259 single-precision hard float.
260
261 2008-07-21 Luis Machado <luisgpm@br.ibm.com>
262
263 * readelf.c (get_note_type): Handle VSX notes.
264
265 2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
266
267 * objdump.c (load_debug_section): Initialize section_is_compressed
268 for gcc 3.4/ia64.
269 * readelf.c (load_debug_section): Likewise.
270
271 2008-07-12 Jie Zhang <jie.zhang@analog.com>
272
273 Revert
274 2008-07-12 Jie Zhang <jie.zhang@analog.com>
275 * readelf.c (get_machine_flags): Deal with Blackfin specific
276 flags.
277
278 2008-07-12 Jie Zhang <jie.zhang@analog.com>
279
280 * readelf.c (get_machine_flags): Deal with Blackfin specific
281 flags.
282
283 2008-07-09 Craig Silverstein <csilvers@google.com>
284
285 * config.in: Add HAVE_ZLIB_H
286 * configure.in: Add test for libz and zlib.h
287 * configure: Regenerate.
288 * dwarf.c (debug_displays): Add .zdebug_* strings.
289 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
290 and compressed_name.
291 * objdump.c (load_debug_section): Call
292 bfd_uncompress_section_contents when loading a compressed
293 section.
294 (dump_dwarf_section): Recognize compressed section name.
295 (mach_o_dwarf_sections): Rename as
296 mach_o_uncompressed_dwarf_sections.
297 (mach_o_compressed_dwarf_sections): New variable.
298 (generic_dwarf_section): Rename as
299 generic_uncompressed_dwarf_sections.
300 (generic_compressed_dwarf_sections): New variable.
301 (check_mach_o_dwarf): Save and restore
302 mach_o_compressed_dwarf_sections.
303 * readelf.c: Add #include for config.h and zlib.h
304 (process_section_headers): Recognize compressed section name.
305 (uncompress_section_contents): New function.
306 (load_debug_section): Call uncompress_section_contents when
307 loading a compressed section.
308 (display_debug_section): Recognize compressed section name.
309
310 2008-07-07 Alan Modra <amodra@bigpond.net.au>
311
312 * objdump.c (find_symbol_for_address): Prefer symbols in current
313 section.
314
315 2008-07-07 Alan Modra <amodra@bigpond.net.au>
316
317 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
318 * nlmconv.c (main, powerpc_build_stubs): Likewise.
319 * rescoff.c (write_coff_file): Likewise.
320 * resres.c (write_res_file): Likewise.
321 * windmc.c (windmc_write_bin): Likewise.
322
323 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
324
325 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
326 (dump_relocations): Likewise.
327 (get_machine_name): Likewise.
328 (is_32bit_abs_reloc): Likewise.
329
330 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
331
332 * configure: Regenerate.
333
334 2008-06-12 DJ Delorie <dj@redhat.com>
335
336 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
337 (dump_relocations): Likewise.
338 (process_section_headers): Likewise.
339 (is_32bit_abs_reloc): Likewise.
340 (is_16bit_abs_reloc): Likewise.
341
342 2008-06-12 Nick Clifton <nickc@redhat.com>
343
344 PR binutils/6483
345 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
346 debug information to display, try dumping DWARF information
347 instead.
348 * rddbg.c (read_debugging_info): Add a parameter to suppress the
349 display of a warning message when no debug information is found.
350 * budbg.h (read_debugging_info): Update prototype.
351 * objcopy.c (copy_object): Continue to allow read_debugging_info
352 to produce warning messages.
353 * doc/binutils.texi (--debugging): Document new behaviour of the
354 -g/--debugging option.
355
356 2008-06-10 Ben Elliston <bje@gnu.org>
357
358 * MAINTAINERS: Remove myself as m68k maintainer.
359
360 2008-05-14 Alan Modra <amodra@bigpond.net.au>
361
362 * Makefile.in: Regenerate.
363 * doc/Makefile.in: Regenerate.
364
365 2008-05-12 Alan Modra <amodra@bigpond.net.au>
366
367 * embedspu.sh: Test for presence of ._ea by looking at section
368 table rather than looking at relocs. Correct toe_addr substitution.
369
370 2008-05-08 Alan Modra <amodra@bigpond.net.au>
371
372 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
373 and if present, put image in ".data.speelf". Put program handle
374 in ".data.spehandle".
375
376 2008-05-01 Nick Clifton <nickc@redhat.com>
377
378 * readelf.c (print_symbol): Add code to display non-printing
379 characters.
380
381 2008-04-30 John Heidemann <johnh@isi.edu>
382
383 * doc/binutils.texi (strings): Add "unicode" to the documentation
384 of strings in order to make explicit that it supports this
385 feature.
386
387 2008-04-30 Alan Modra <amodra@bigpond.net.au>
388
389 * readelf.c (process_program_headers): Correct section in segment
390 display.
391
392 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
393 Nick Clifton <nickc@redhat.com>
394
395 PR binutils/6449
396 * objdump.c (slurp_file): Open the file in binary mode.
397 * ar.c: Remove conditional definition of O_BINARY.
398 * bin2.c: Likewise.
399 * rename.c: Likewise.
400 * strings.c: Likewise.
401 * sysdep.h: Add conditional definition of O_BINARY.
402
403 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
404
405 * aclocal.m4: Regenerate.
406 * configure: Regenerate.
407
408 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
409
410 PR binutils/6034
411 * objcopy.c (stuct symlist): Rename to
412 is_specified_symbol_predicate_data.
413 (strip_specific_list): Rename to strip_specific_htab.
414 (strip_unneeded_list): Rename to strip_unneeded_htab.
415 (keep_specific_list): Rename to keep_specific_htab.
416 (localize_specific_list): Rename to localize_specific_htab.
417 (globalize_specific_list): Rename to globalize_specific_htab.
418 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
419 (weaken_specific_list): Rename to weaken_specific_htab.
420 (eq_string): New function.
421 (create_symbol_htab): New function.
422 (create_symbol_htabs): New function.
423 (add_specific_symbol): Change to use hash tables.
424 (is_specified_symbol_predicate): New function.
425 (is_specified_symbol): Use hash table lookup.
426 (is_strip_section): Update to use new functions and hash tables.
427 (filter_symbols): Likewise.
428 (copy_object): Likewise.
429 (copy_section): Likewise.
430 (strip_main): Likewise.
431 (copy_main): Likewise.
432 (main): Likewise.
433
434 2008-04-14 David S. Miller <davem@davemloft.net>
435
436 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
437
438 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
439
440 * dwarf.c (display_debug_lines): Rename to
441 display_debug_lines_raw.
442 (display_debug_lines_decoded): New function. Displays the
443 interpreted contents of a .debug_line section.
444 (display_debug_lines): New function: Selects either a raw dump or
445 a decoded dump (or both) as requested by the user.
446 * dwarf.h (do_debug_lines_decoded): New extern.
447 * readelf.c: Add support for -wL or --debug-dump=decodedline
448 option to display the decoded contents of a .debug_line section.
449 * doc/binutils.texi: Document the new option.
450 * NEWS: Mention the new feature.
451
452 2008-04-08 Alan Modra <amodra@bigpond.net.au>
453
454 * dwarf.c: Remove trailing whitespace throughout file.
455
456 2008-04-04 Nick Clifton <nickc@redhat.com>
457
458 * po/sk.po: Updated Slovak translation.
459
460 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
461
462 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
463 (dwarf_regnames_x86_64): Likewise.
464
465 2008-03-27 Cary Coutant <ccoutant@google.com>
466
467 Add support for thin archives.
468 * ar.c (make_thin_archive): New global flag.
469 (map_over_members): Deal with full pathnames in thin archives.
470 (usage, main): Add 'T' option for building thin archives.
471 (replace_members): Pass thin archive flag to ar_emul_append.
472 * arsup.c (ar_open): Initialize new flag.
473 * binemul.c (ar_emul_append): Add new parameter for
474 flattening nested archives.
475 (do_ar_emul_default_append): New function.
476 (ar_emul_default_append): Factored out recursive code.
477 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
478 (struct bin_emulation_xfer_struct): New parameter for ar_append.
479 * dlltool.c (gen_lib_file): Initialize thin archive flag.
480 * emul_aix.c (ar_emul_aix_internal): Add new flatten
481 parameter, currently unimplemented.
482 All callers changed.
483 * objcopy.c (copy_archive): Preserve thin archive flag.
484 * doc/binutils.texi: Update ar documentation.
485 * NEWS: Mention the new feature.
486
487 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
488
489 * readelf.c (process_mips_specific): Declare addr_size as int.
490
491 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
492
493 * readelf.c (print_mips_got_entry): New function.
494 (process_mips_specific): Print GOT information.
495
496 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
497
498 * aclocal.m4: Regenerate.
499 * configure: Likewise.
500 * Makefile.in: Likewise.
501 * doc/Makefile.in: Likewise.
502
503 2008-03-16 Brian Dessent <brian@dessent.net>
504
505 * rcparse.y (resid): Allow control text to span multiple lines.
506
507 2008-03-13 Alan Modra <amodra@bigpond.net.au>
508
509 * readelf.c: Use %u throughout when printing sh_link or sh_info,
510 %lu when printing sh_addralign.
511 (process_version_sections): Use identical formats when printing
512 all offset and sh_link fields.
513
514 2008-03-13 Alan Modra <amodra@bigpond.net.au>
515
516 * Makefile.am: Run "make dep-am".
517 * Makefile.in: Regenerate.
518 * doc/Makefile.in: Regenerate.
519 * configure: Regenerate.
520
521 2008-03-12 Alan Modra <amodra@bigpond.net.au>
522
523 PR 5900
524 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
525 Remove use throughout file.
526 (SECTION_HEADER): Likewise.
527 (dump_relocations): Don't adjust st_shndx for reserved range.
528 (process_file_header): Mask SHN_XINDEX to values seen in external
529 elf structs. Simplify valid section index tests.
530 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
531 Map reserved st_shndx to internal form.
532 (process_section_groups): Test that group symbol st_shndx is in
533 range, not just non-zero. Delete reserved range check.
534 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
535 OS or RSV.
536
537 2008-03-09 Paul Brook <paul@codesourcery.com>
538
539 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
540
541 2008-03-03 James E. Wilson <wilson@tuliptree.org>
542
543 * MAINTAINERS: Update my email address.
544
545 2008-03-03 Nick Clifton <nickc@redhat.com>
546
547 * dwarf.c (decode_location_expression): Handle
548 DW_OP_PGI_omp_thread_num.
549
550 2008-03-01 Alan Modra <amodra@bigpond.net.au>
551
552 * objdump.c (objdump_print_addr): Initialise "sym".
553
554 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
555 Nick Clifton <nickc@redhat.com>
556
557 * ar.c (usage): Mention -t command line switch.
558 * doc/binutils.texi (ranlib): Document -t command line switch.
559
560 2008-02-26 Nick Clifton <nickc@redhat.com>
561
562 * objdump.c (objdump_print_addr): If displaying file offsets, show
563 the offset even if there are no symbols available.
564 (dump_section): Display nothing if none of the section is going to
565 be dumped. Display the file offset, if requested, of the location
566 from where the dump starts.
567 * doc/binutils.texi (objdump): Mention that dumping via the -s
568 switch is also affected by the -F option.
569
570 2008-02-26 Nick Clifton <nickc@redhat.com>
571
572 Re-apply this patch which was accidentally deleted:
573 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
574
575 * doc/binutils.texi: Use "Binutils Index" for index name.
576
577 2008-02-22 Nick Clifton <nickc@redhat.com>
578
579 * objdump.c (display_file_offsets): New variable.
580 (long_options): Add -F/--file-offsets.
581 (objdump_print_addr_with_sym): If displaying file offsets, print
582 the offset of the given address.
583 (disassemble_bytes): If displaying file offsets, tell the user how
584 many zeroes are skipped and the file offset of the point where
585 dumping resumes.
586 (disassemble_section): Only display the name of the section if
587 data is going to be dumped from it.
588 (main): Handle new option. Produce error messages if the start or
589 stop addresses do not make sense.
590 * doc/binutils.texi: Document the new feature.
591 * NEWS: Mention the new feature.
592
593 2008-02-15 Chu Li <chul@cn.fujitsu.com>
594 Nick Clifton <nickc@redhat.com>
595
596 PR binutils/5713
597 * strings.c (integer_arg): Delete function.
598 (string_min): Initialise to 4.
599 (main): Use strtoul to parse integer arguments.
600 Move check for an invalid string length to after all the arguments
601 have been parsed.
602 (usage): Use indentation to indicate that -<n> is a another form
603 of the --bytes= command line option.
604
605 2008-02-12 Nick Clifton <nickc@redhat.com>
606
607 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
608 the argument.
609 (scan_obj_filename): Do not drop the const qualifier when calling
610 mcore_elf_cache_filename.
611 (struct fname_cache): Add const qualifier to filename field.
612
613 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
614
615 PR binutils/5713
616 * strings.c (main): Set string_min to 4 if it is <= 0.
617
618 2008-02-07 Alan Modra <amodra@bigpond.net.au>
619
620 * objdump.c (main): Don't pass unadorned NULL to concat.
621
622 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
623
624 PR 5715
625 * configure: Regenerated.
626
627 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
628
629 * readelf.c (get_machine_flags): Handle Octeon.
630
631 2008-01-30 Tristan Gingold <gingold@adacore.com>
632
633 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
634 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
635 (get_dynamic_type): Handle IA64-specific tags.
636 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
637 (get_section_type_name): Handle OS-specific sections (and
638 particularly IA64 OpenVMS one).
639 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
640 decode them.
641
642 2008-01-29 Nick Clifton <nickc@redhat.com>
643
644 * dwarf.c (print_dwarf_vma): New function. Display the value of a
645 dwarf_vma type at a specified precision. Use mingw field type
646 specifier if necessary.
647 (display_debug_loc): Use dwarf_vma type for begin and end values.
648 Use print_dwarf_vma to display their values. Use byte_get_signed
649 in order to correctly detect the -1 escape value.
650 (display_debug_aranges): Likewise.
651 (display_debug_ranges): Likewise.
652
653 2008-01-29 Alan Modra <amodra@bigpond.net.au>
654
655 * dwarf.c (display_debug_loc): Correct test for base address
656 entry when 64-bit host dumping 32-bit object.
657
658 2008-01-29 Alan Modra <amodra@bigpond.net.au>
659
660 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
661
662 2008-01-28 Nick Clifton <nickc@redhat.com>
663
664 PR binutils/5529
665 * rclex.c (yylex): Also allow the hypen character.
666
667 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
668
669 * dwarf.c: Include "elf/common.h".
670 (eh_addr_size): Changed to int.
671 (dwarf_regnames_i386): New.
672 (dwarf_regnames_x86_64): Likewise.
673 (dwarf_regnames): Likewise.
674 (dwarf_regnames_count): Likewise.
675 (init_dwarf_regnames): Likewise.
676 (regname): Likewise.
677 (frame_display_row): Properly support different address size.
678 Call regname to get register name.
679 (display_debug_frames): Call regname to get register name.
680 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
681 instead of DW_CFA_def_cfa_reg.
682
683 * dwarf.h (init_dwarf_regnames): New.
684
685 * objdump.c: Include "elf-bfd.h".
686 (dump_dwarf): Call init_dwarf_regnames on ELF input.
687
688 * readelf.c (guess_is_rela): Change argument to int.
689 (parse_args): Remove the undocumented upper case options for
690 -wX.
691 (process_file_header): Call init_dwarf_regnames.
692
693 2008-01-25 DJ Delorie <dj@redhat.com>
694
695 * readelf.c (process_section_headers): Add m16c handler.
696 (is_16bit_abs_reloc): Recognize R_M32C_16.
697
698 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
699
700 * prdbg.c: Correct formatter style use.
701 * readelf.c: Likewise.
702 * strings.c: Likewise.
703
704 2008-01-25 Nick Clifton <nickc@redhat.com>
705
706 * po/ru.po: Updated Russian translation.
707
708 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
709
710 * MAINTAINERS: Update my email address.
711
712 2008-01-14 Nick Clifton <nickc@redhat.com>
713
714 * dwarf.c (process_debug_info): Include the CU offset and corrupt
715 version value when reporting unrecognised DWARF version numbers.
716 (load_debug_info): Remember a failed attempt to load and parse the
717 .debug_info section and do not repeat such attempts.
718 (display_debug_lines): Check the return value from load_debug_info
719 and return whilst displaying a warning message if the load failed.
720 (display_debug_loc): Likewise.
721 (display_debug_ranges): Likewise.
722 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
723 when the .debug_info section could not be loaded/parsed.
724 (process_debug_info): Display the length of the compilation unit
725 in hex, so that it corresponds with the offsets that will follow.
726 Tell the user if the length was 32-bit or 64-bit.
727 If a DIE abbreviation could not be found, tell the user the offset
728 of the DIE.
729 (free_debug_memory): Do not attempt to free any entries in the
730 debug_information array if num_debug_info_entries is set to
731 DEBUG_INFO_UNAVAILABLE.
732
733 2008-01-10 Andreas Schwab <schwab@suse.de>
734
735 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
736
737 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
738
739 PR binutils/55326
740 * bucomm.c (list_supported_architectures): Free architecture list
741 after use.
742 * windres.c (set_endianess): Likewise.
743 * windmc.c (set_endianess): Likewise.
744
745 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
746
747 PR binutils/5529
748 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
749 characters for name tokens.
750
751 2008-01-04 Greg McGary <greg@mcgary.org>
752
753 * prdbg.c (print_vma): Print as long long, if host supports it.
754
755 2008-01-03 Nick Clifton <nickc@redhat.com>
756
757 * dwarf.c (read_and_display_attr_value): Prefix values that are
758 displayed in hexadecimal with 0x.
759 For the DW_AT_import attribute display the abbreviation number and
760 tag of the imported DIE.
761 (process_debug_info): Warn about lengths that reserved by the
762 DWARF3 specification.
763 Provide more information when corrupted DIEs are detected.
764 Warn if DIE corruption makes the sibling level negative.
765
766 For older changes see ChangeLog-2007
767 \f
768 Local Variables:
769 mode: change-log
770 left-margin: 8
771 fill-column: 74
772 version-control: never
773 End:
This page took 0.044923 seconds and 5 git commands to generate.