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