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