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