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