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