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