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