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