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