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