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