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