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