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