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